This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ELF_R_SYM question


Hi HJ,

On Sat, Oct 19, 2002 at 12:45:52PM -0700, H. J. Lu wrote:
> 
> Some files, like elflink.h and elfcode.h, are included by both 64bit
> and 32bit ELF targets. You can't use ELF64_R_SYM nor ELF32_R_SYM.

Wouldn't be better to use only ELF_R_SYM (in all cases) and let it expand to
ELF64_R_SYM or ELF32_R_SYM according to the architecture the bfd is
compiled in? 

Elias


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]