Always include elf.lo?

Pedro Alves pedro_alves@portugalmail.pt
Mon May 21 19:41:00 GMT 2007


Hi Nick,

Nick Clifton wrote:
> 
>> Does anyone object to always compiling elf.lo for BFD, regardless of
>> the target?  I haven't tried it, but looking at the tangled
>> dependencies I think this will mean all of $elf too.
> 
> This does seem to be overkill.   Unless there is a good reason why GDB 
> cannot be modified I would prefer not bloat the non-ELF versions of the 
> BFD library in this way.
> 

Isn't bfd normally used as a static lib?  If so, then only gdb
would suffer the extra "bloat", which is needed anyway.
Perhaps the only real bad effect would added build time.

Daniel, I did try the attached as a workaround before reporting,
but failed to mention it.

Cheers,
Pedro Alves

-------------- next part --------------
A non-text attachment was scrubbed...
Name: add_elf.o.diff
Type: text/x-diff
Size: 2905 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20070521/dfda7801/attachment.bin>


More information about the Binutils mailing list