[Bug ld/2218] Weak undefined symbol doesn't work properly with PIE

2006-01-31 Thread hjl at lucon dot org
-- What|Removed |Added OtherBugsDependingO||2251 nThis|| http://sourceware.org/bugzilla/show_bug.cgi?id=2218 --

[Bug ld/2218] Weak undefined symbol doesn't work properly with PIE

2006-01-31 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2006-01-31 19:11 --- An updated patch is posted at http://sourceware.org/ml/binutils/2006-01/msg00224.html -- http://sourceware.org/bugzilla/show_bug.cgi?id=2218 --- You are receiving this mail because: --- You are on the CC

[Bug ld/2254] New: ld -r seg faults relocating against a local object symbol

2006-01-31 Thread plalonde at neoptica dot com
If I add a local symbol to the symbol table, and then a relocation relative to it ld seg faults when I try to link it. If I change it to a global symbol all is well. (ld -r test.o seg faults as well) Is is the expected behaviour (well, not the seg fault, but at least not handling relocation r

[Bug ld/2254] ld -r seg faults relocating against a local object symbol

2006-01-31 Thread plalonde at neoptica dot com
--- Additional Comments From plalonde at neoptica dot com 2006-02-01 01:46 --- Created an attachment (id=855) --> (http://sourceware.org/bugzilla/attachment.cgi?id=855&action=view) .tgz with success.o and fail.o -- http://sourceware.org/bugzilla/show_bug.cgi?id=2254 --- You ar

Re: objcopy --add-section doubt

2006-01-31 Thread Daniel Jacobowitz
On Mon, Jan 30, 2006 at 01:13:32PM +, Nick Clifton wrote: > Yes - this is the heart of the matter. What is happening is that you > are attempting to add a section that already exists. The old (RH9) > binutils silently allowed this, which was incorrect. Wait... why? There's no restriction

[Bug ld/2254] ld -r seg faults relocating against a local object symbol

2006-01-31 Thread plalonde at neoptica dot com
--- Additional Comments From plalonde at neoptica dot com 2006-02-01 03:52 --- fail.o is incorrect; the symtab entry's info field is wrong. That said, I'll leave the bug open so the seg fault can be addressed. -- http://sourceware.org/bugzilla/show_bug.cgi?id=2254 --- You are r

Re: ld error: internal error, aborting at ../../bfd/cache.c line 495 in bfd_cache_lookup_worker

2006-01-31 Thread Daniel Jacobowitz
On Mon, Jan 30, 2006 at 01:09:56AM +1100, John Pye wrote: > > /usr/bin/ld: BFD 2.15.94.0.2.2 20041220 internal error, aborting at > > ../../bfd/cache.c line 495 in bfd_cache_lookup_worker > > > > /usr/bin/ld: Please report this bug. FYI, this abort is no longer present in current versions. It use