[Bug gold/11899] segments not sorted by LMA

2010-08-20 Thread nickc at redhat dot com

--- 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

Attachment #4922 is|0   |1
   obsolete||


http://sourceware.org/bugzilla/show_bug.cgi?id=11899

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gold/11899] segments not sorted by LMA

2010-08-20 Thread nickc at redhat dot com

--- 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 11899
* layout.cc (segment_precedes): Sort segments by their physical
addresses, if they have been set.



-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11899

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/11931] New: Segfault in ld (elf_link_output_extsym) when defining symbols with a constraint on a non-existent section

2010-08-20 Thread mgretton at sourceware dot org
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/binutils-fsf/bfd/elflink.c line 8734 in
elf_link_output_extsym

-- 
   Summary: Segfault in ld (elf_link_output_extsym) when defining
symbols with a constraint on a non-existent section
   Product: binutils
   Version: 2.21 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: mgretton at sourceware dot org
CC: bug-binutils at gnu dot org
GCC target triplet: arm-none-eabi


http://sourceware.org/bugzilla/show_bug.cgi?id=11931

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/11931] Segfault in ld (elf_link_output_extsym) when defining symbols with a constraint on a non-existent section

2010-08-20 Thread mgretton at sourceware dot org

--- 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 |Added

 AssignedTo|unassigned at sources dot   |mgretton at sourceware dot
   |redhat dot com  |org
 Status|NEW |ASSIGNED


http://sourceware.org/bugzilla/show_bug.cgi?id=11931

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/11931] Segfault in ld (elf_link_output_extsym) when defining symbols with a constraint on a non-existent section

2010-08-20 Thread mgretton at sourceware dot org


-- 
   What|Removed |Added

   Attachment #4944|application/octet-stream|text/plain
  mime type||


http://sourceware.org/bugzilla/show_bug.cgi?id=11931

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/11931] Segfault in ld (elf_link_output_extsym) when defining symbols with a constraint on a non-existent section

2010-08-20 Thread mgretton at sourceware dot org

--- 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=11931

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/11933] New: Differnt linker behavior with incompatible input files

2010-08-20 Thread hjl dot tools at gmail dot com
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
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_dir.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_dirinfo.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_dirread.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_error.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_flush.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_getimage.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_open.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_read.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_strip.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_swab.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_tile.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_unix.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_warning.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_write.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_aux.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_color.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_compress.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_dirwrite.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_codec.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_dumpmode.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_fax3.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_fax3sm.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_luv.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_lzw.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_next.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_packbits.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_pixarlog.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_predict.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_thunder.o)' is incompatible with i386:x86-64 output
/export/home/hjl/bugs/binutils/merge-3/bz623687/ld: i386 architecture of input
file `libtiff.a(tif_zip.o)' is incompatible with i386:x86-64 output
libtiff.a(tif_pixarlog.o): In function `.L108':
(.text.PixarLogVSetField+0x108): undefined reference to `deflateParams'
libtiff.a(tif_pixarlog.o): In function `PixarLogCleanup':
(.text.PixarLogCleanup+0xfe): undefined r