[Bug binutils/11003] arm-elf-objdump gives format not recognized with this elf-formatted file

2009-11-23 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2009-11-23 21:05 --- Your accept.ox is broken. It has a REL section with entsize of 12 which is the size for a RELA section. -- What|Removed |Added

[Bug ld/11006] New: A "relaxed" link order of libraries is requested for improved compatibilty

2009-11-23 Thread geir at cray dot com
The GNU ld linker requires the user to specify libraries after any object files which use them. For example: $ cat main.c void sub(); main() { sub(); } $ gcc -c sub.c $ ar rv libsub.a sub.o ar: creating libsub.a a - sub.o $ gcc -L . -lsub main.c ### FAILS !!! /tmp/cccN9Qxp.

[Bug binutils/11003] arm-elf-objdump gives format not recognized with this elf-formatted file

2009-11-23 Thread ben dot baron at sun dot com
--- Additional Comments From ben dot baron at sun dot com 2009-11-23 17:32 --- Files are now attached. Please let me know if I can provide other details. -- What|Removed |Added -

[Bug binutils/11003] arm-elf-objdump gives format not recognized with this elf-formatted file

2009-11-23 Thread ben dot baron at sun dot com
--- Additional Comments From ben dot baron at sun dot com 2009-11-23 17:30 --- Created an attachment (id=4410) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4410&action=view) accept.ox - file under test - fails with "File format not recognized" -- http://sourceware.org/bugz

[Bug binutils/11003] arm-elf-objdump gives format not recognized with this elf-formatted file

2009-11-23 Thread ben dot baron at sun dot com
--- Additional Comments From ben dot baron at sun dot com 2009-11-23 17:25 --- Created an attachment (id=4409) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4409&action=view) cross-compiled version of objdump from 2.20 binutils -- http://sourceware.org/bugzilla/show_bug.cgi

[Bug binutils/11003] New: arm-elf-objdump gives format not recognized with this elf-formatted file

2009-11-23 Thread ben dot baron at sun dot com
on SunOS ttuff 5.10 Generic_13-08 sun4v sparc SUNW,Sun-Fire-T200 with binutils 2.20, cross-compiler version of binutils (--target=arm-elf) the below file (which is verified to be linkable) gets: /proj/vulture/wrk/baronbj/../tools/bin/arm-elf-objdump: accept.o: File format not recognized I

[Bug binutils/11002] ld string merge does not respect symbol size

2009-11-23 Thread schwab at linux-m68k dot org
--- Additional Comments From schwab at linux-m68k dot org 2009-11-23 14:48 --- > a = 'ab\0b\0' This is not a valid zero-terminated string. -- What|Removed |Added

[Bug binutils/11002] ld string merge does not respect symbol size

2009-11-23 Thread nunoplopes at sapo dot pt
--- Additional Comments From nunoplopes at sapo dot pt 2009-11-23 14:40 --- (In reply to comment #1) > The contents of "MS" sections must be zero-terminated strings. which they are: a = 'ab\0b\0' b = 'b\0' -- What|Removed |Added -

[Bug binutils/11002] ld string merge does not respect symbol size

2009-11-23 Thread schwab at linux-m68k dot org
--- Additional Comments From schwab at linux-m68k dot org 2009-11-23 12:19 --- The contents of "MS" sections must be zero-terminated strings. -- What|Removed |Added

[Bug binutils/11002] New: ld string merge does not respect symbol size

2009-11-23 Thread nunoplopes at sapo dot pt
$ cat a.s .file "a.c" .type a,@object .section.rodata.str1.1,"aMS",@progbits,1 .globl a a: .size a, 5 # note that size is 5! .align 8 .byte 0x61 .byte 0x62 .zero 1 .type b,@object .globl

[Bug ld/10961] Map file generated too late

2009-11-23 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2009-11-23 11:09 --- Hi Richard, Doh! Bogus patch obsoleted. I'll rework the patch as you suggested and upload it to the proper PR. Cheers Nick -- http://sourceware.org/bugzilla/show_bug.cgi?id=10961 --- You are receiv

[Bug ld/10961] Map file generated too late

2009-11-23 Thread nickc at redhat dot com
-- What|Removed |Added Attachment #4404 is|0 |1 obsolete|| http://sourceware.org/bugzilla/show_bug.cgi?id=10961