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]

ELF_R_SYM question


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


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