This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFD] New binutil 'objsplit'
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: "Dave Korn" <dk at artimi dot com>
- Cc: <binutils at sources dot redhat dot com>
- Date: 21 Apr 2004 14:29:56 -0400
- Subject: Re: [RFD] New binutil 'objsplit'
- References: <NUTMEGdxkiiZIHd0TlK00000554@NUTMEG.CAM.ARTIMI.COM>
"Dave Korn" <dk@artimi.com> writes:
> Well, for starters, at least one of the backends <koff> isn't actually ELF
> at all, but use the generic linker functions on ELF bfds. That's alright,
> albeit slightly inefficient, but to use gc you'd have to fully convert them
> to use the elf infrastructure, which is a moderate amount of work; there's
> no generic relocate_section routine. It gets even hairier if there are
> howto's with special functions in them.
I guess I would encourage everybody to use the ELF specific backend.
The relocate_section routine is usually easier to write than the HOWTO
special functions anyhow.
Overall it still seems simpler to me than objsplit, except of course
that you've already done objsplit.
So I'm not sure.
Ian