This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
ELF_R_SYM question
- From: Elias Athanasopoulos <eathan at otenet dot gr>
- To: binutils at sources dot redhat dot com
- Date: Sat, 19 Oct 2002 22:58:36 +0300
- Subject: 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