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]

Re: -gc-sections for elf32-dlx and possible buglette in elf32-target.h


"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


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