--- Additional Comments From nickc at redhat dot com 2010-08-20 08:43
---
Created an attachment (id=4943)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4943&action=view)
Revised patch
--
What|Removed |Added
--
--- Additional Comments From nickc at redhat dot com 2010-08-20 08:45
---
Hi Ian,
Thanks for catching that for me. Your suggested improvement works just fine,
so I have uploaded a revised patch.
OK to apply ?
Cheers
Nick
gold/ChangeLog
2010-08-20 Nick Clifton
PR 11
Assembling and linking the attached files as follows causes a segfault in ld:
.../arm-none-eabi-as -meabi=5 -o hello.o hello.s
.../arm-none-eabi-ld -o hello hello.o -T edited_default_script.x
arm-none-eabi-ld: BFD (GNU Binutils) 2.20.51.20100819 internal error, aborting
at /home/mgretton/work/bin
--- Additional Comments From mgretton at sourceware dot org 2010-08-20
15:44 ---
Created an attachment (id=4944)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4944&action=view)
Assembler source to generate object file to link
--
What|Removed
--
What|Removed |Added
Attachment #4944|application/octet-stream|text/plain
mime type||
http://sourceware.org/bugzilla/show_bug.cgi?id=11
--- Additional Comments From mgretton at sourceware dot org 2010-08-20
15:45 ---
Created an attachment (id=4945)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4945&action=view)
Linker script required to reproduce issue.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=1193
Testcase
https://bugzilla.redhat.com/attachment.cgi?id=440004
in
https://bugzilla.redhat.com/show_bug.cgi?id=623687
used to cause linker crash:
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_close.o)' is incompatible with i386:x86-64 output
/