ELF_R_SYM question

Elias Athanasopoulos eathan@otenet.gr
Sat Oct 19 12:52:00 GMT 2002


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



More information about the Binutils mailing list