--- Additional Comments From ian at airs dot com 2008-04-15 13:26 ---
It would be extremely helpful if you can identify what the linker is doing
wrong. (I've known for some time that the kernel fails to boot--it was in the
original gold announcement--but I don't know what needs to be
--- Additional Comments From nickc at redhat dot com 2008-04-15 14:05
---
Subject: Re: bfd leaks memory in several places
Hi Andre,
Nick, I'm not sure reverting the cleanup is correct. At least in binutils
2.18, the function concat_filename uses bfd_malloc, which again uses
--- Additional Comments From nickc at redhat dot com 2008-04-15 14:17
---
Created an attachment (id=2694)
-- (http://sourceware.org/bugzilla/attachment.cgi?id=2694action=view)
Add checks for a NULL section pointer
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6058
--- You
--- Additional Comments From cryptooctoploid at gmail dot com 2008-04-15
15:05 ---
Created an attachment (id=2696)
-- (http://sourceware.org/bugzilla/attachment.cgi?id=2696action=view)
dumpelf -vv setup.elf dump_gold
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6407
---
--
What|Removed |Added
Attachment #2695|application/octet-stream|text/plain
mime type||
Attachment #2695 is|0 |1
--
What|Removed |Added
Attachment #2696|application/octet-stream|text/plain
mime type||
Attachment #2696 is|0 |1
--- Additional Comments From amodra at bigpond dot net dot au 2008-04-16
01:06 ---
I reckon the best way to support old object files is to write a utility to fix
them. Otherwise you need hacks in three places, bfd, readelf, and gold.
--
--- Additional Comments From shap at eros-os dot com 2008-04-16 02:53
---
This seems like a poor solution, since the number of object files out there is
very large.
If you *do* adopt this approach, are the fixed object files still compatible
with *older* versions of binutils? It would