-gc-sections for elf32-dlx and possible buglette in elf32-target.h
Ian Lance Taylor
ian@wasabisystems.com
Fri Jan 30 14:56:00 GMT 2004
"Dave Korn" <dk@artimi.com> writes:
> and so I'm wondering if garbage collection counts as one of the 'unusual
> actions' referred to above, or if other stuff in the elf backend implicitly
> assumes it's running under the elf template? There are no shared libs or
> dynamic objects on the dlx target, which is what most of the stuff in
> elf32.em seems to be about, so I'd guess that it might be ok.... but I just
> dunno whether the elf backend demands the elf emulation or will be happy
> enough without it. I can't find any other elf targets that think they can
> use the generic emulation, though, so it does make me suspicious that it's
> wrong to try and use them together.
Hmmm, good question. It's probably safer to use TEMPLATE_NAME to
elf32. I don't know whether it is actually required if you don't need
shared library support, but it shouldn't do any harm.
Ian
More information about the Binutils
mailing list