[RFD] New binutil 'objsplit'
Dave Korn
dk@artimi.com
Wed Apr 21 18:59:00 GMT 2004
> -----Original Message-----
> From: Hans-Peter Nilsson
> Sent: 21 April 2004 19:45
> On Wed, 21 Apr 2004, Dave Korn wrote:
> > By the time
> > you've been working on a linker port for a week or ten
> days, and it's still
> > mysteriously omitting random chunks of bytes from the
> output sections it
> > generates, you start to look for a quicker approach to
> solving the problem
> > that you originally set out to solve.....
>
> GDB usually works for me when the mystery is repeatable. ;-)
> (SCNR.)
Yeh; as I intimated, it was just time pressure at work that made me drop
my first approach and look for a QAD hack.
> > When you say that ar and objcopy
> > could "use the same object file", do you mean that I could
> factor out the
> > code from objcopy into a new source file and then add that
> source file into
> > the builds for both ar and objcopy?
>
> Yes. Sorry for being inprecise.
<g> There's really no need whatsoever to apologise for pointing out an
obvious solution that I'd completely overlooked!
cheers,
DaveK
--
Can't think of a witty .sigline today....
More information about the Binutils
mailing list