ELF_R_SYM question

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


Hi all,

>From bfd/elfcode.h:

#if ARCH_SIZE == 64
#define ELF_R_SYM(X)    ELF64_R_SYM(X)

#if ARCH_SIZE == 32
#define ELF_R_SYM(X)    ELF32_R_SYM(X)

Now, is preferable to use ELF_R_SYM in the code (in all cases) or
use explicitly the ELF64/32_R_SYM macros?

Having done a quick grepping, I saw that all three macros are used in
various places. Is it correct?

Elias



More information about the Binutils mailing list