[Bug ld/11583] ld aborts in elf_link_output_extsym when given EXTERN() symbol in script.

2010-05-13 Thread amodra at gmail dot com
--- Additional Comments From amodra at gmail dot com 2010-05-13 10:25 --- Created an attachment (id=4790) -- (http://sourceware.org/bugzilla/attachment.cgi?id=4790action=view) Alternate patch to avoid the abort Nick, I prefer to leave in the abort to catch other cases we may not have

[Bug ld/11583] ld aborts in elf_link_output_extsym when given EXTERN() symbol in script.

2010-05-13 Thread amodra at gmail dot com
--- Additional Comments From amodra at gmail dot com 2010-05-13 10:22 --- No, what you're trying to do is not supported, and I think it would not be easy to implement. -- What|Removed |Added

Re: [Bug ld/11583] ld aborts in elf_link_output_extsym when given EXTERN() symbol in script.

2010-05-13 Thread Nick Clifton
Hi Alan, Nick, I prefer to leave in the abort to catch other cases we may not have considered. Instead, undo the change in type to bfd_link_hash_new we made in bfd_elf_record_link_assignment. Ok that makes a lot more sense. Cheers Nick ___

[Bug ld/11583] ld aborts in elf_link_output_extsym when given EXTERN() symbol in script.

2010-05-13 Thread amodra at gmail dot com
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-05-14 03:15 --- Subject: Bug 11583 CVSROOT:/cvs/src Module name:src Changes by: amo...@sourceware.org 2010-05-14 03:15:20 Modified files: ld : ChangeLog ldexp.c Log message:

[Bug ld/11583] ld aborts in elf_link_output_extsym when given EXTERN() symbol in script.

2010-05-12 Thread cinarus at yahoo dot com
--- Additional Comments From cinarus at yahoo dot com 2010-05-12 21:08 --- (In reply to comment #3) Hi, I tried your patch. ld no longer aborts but it still can't resolve 'puts'. Here is the output it gives now: $ /tmp/binutils/bin/ld dparse_objs.lds -lc /usr/lib/libc.so:6:

[Bug ld/11583] ld aborts in elf_link_output_extsym when given EXTERN() symbol in script.

2010-05-11 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2010-05-11 14:16 --- Created an attachment (id=4778) -- (http://sourceware.org/bugzilla/attachment.cgi?id=4778action=view) Cope with unresolved references when exporing symbols --

[Bug ld/11583] ld aborts in elf_link_output_extsym when given EXTERN() symbol in script.

2010-05-10 Thread cinarus at yahoo dot com
--- Additional Comments From cinarus at yahoo dot com 2010-05-10 15:01 --- Created an attachment (id=4776) -- (http://sourceware.org/bugzilla/attachment.cgi?id=4776action=view) Test case -- http://sourceware.org/bugzilla/show_bug.cgi?id=11583 --- You are receiving this mail