This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ELF_R_SYM question
Elias Athanasopoulos <eathan@otenet.gr> writes:
|> 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?
You can compile BFD with support for multiple architectures.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."