[Bug gas/5552] Wrong data address after linking

2008-01-08 Thread amodra at bigpond dot net dot au
-- What|Removed |Added Component|ld |gas http://sourceware.org/bugzilla/show_bug.cgi?id=5552 --- You are receiving this mail because: ---

[Bug binutils/5556] objcopy -O binary produces huge invalid file

2008-01-08 Thread ismail at pardus dot org dot tr
--- Additional Comments From ismail at pardus dot org dot tr 2008-01-09 03:51 --- Adding -Wl,--build-id=none to linker flags fixed the issue, thanks. -- http://sourceware.org/bugzilla/show_bug.cgi?id=5556 --- You are receiving this mail because: --- You are on the CC list fo

[Bug binutils/5556] objcopy -O binary produces huge invalid file

2008-01-08 Thread ismail at pardus dot org dot tr
--- Additional Comments From ismail at pardus dot org dot tr 2008-01-09 03:29 --- Any idea how to debug this further? This binary is produced with gcc 4.3 trunk and this might be a gcc 4.3 problem. Thanks, ismail -- http://sourceware.org/bugzilla/show_bug.cgi?id=5556 --- You a

[Bug binutils/5556] objcopy -O binary produces huge invalid file

2008-01-08 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2008-01-09 03:25 --- Not a bug. pre_stage2.exec has these PT_LOAD headers: Program Headers: Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align LOAD 0xc0 0x8200 0x8200 0x1d0aa 0x

[Bug binutils/5556] objcopy -O binary produces huge invalid file

2008-01-08 Thread ismail at pardus dot org dot tr
--- Additional Comments From ismail at pardus dot org dot tr 2008-01-09 03:08 --- Same problem can be reproduced with binutils 2.16.1 too. -- http://sourceware.org/bugzilla/show_bug.cgi?id=5556 --- You are receiving this mail because: --- You are on the CC list for the bug,

[Bug binutils/5556] objcopy -O binary produces huge invalid file

2008-01-08 Thread ismail at pardus dot org dot tr
--- Additional Comments From ismail at pardus dot org dot tr 2008-01-09 03:06 --- Created an attachment (id=2189) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2189&action=view) Sample file to reproduce the problem -- http://sourceware.org/bugzilla/show_bug.cgi?id=5556 ---

[Bug binutils/5556] New: objcopy -O binary produces huge invalid file

2008-01-08 Thread ismail at pardus dot org dot tr
Attached pre_stage2.exec is a small prebuilt file from grub 0.97, and grub is trying to do objcopy -O binary pre_stage2.exec pre_stage2 and this produces a huge invalid file : [~]> ls -al pre_stage2.exec -rwxr-xr-x 1 cartman users 138718 Oca 9 04:53 pre_stage2.exec so this is 138k [~]> objcop

[Bug binutils/5536] Multiple meleaks after bfd_arch_list() calls

2008-01-08 Thread darkjames at darkjames dot ath dot cx
--- Additional Comments From darkjames at darkjames dot ath dot cx 2008-01-08 23:12 --- Created an attachment (id=2188) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2188&action=view) free memory allocated by bfd_arch_list () -- http://sourceware.org/bugzilla/show_bug.cgi?

[Bug binutils/5536] Multiple meleaks after bfd_arch_list() calls

2008-01-08 Thread darkjames at darkjames dot ath dot cx
--- Additional Comments From darkjames at darkjames dot ath dot cx 2008-01-08 23:08 --- Yes, sure, it's nothing _very_ important, but I don't know why it shouldn't be fixed. In list_supported_targets () [which is also used hardly ever] we free memory after bfd_target_list () call I att

[Bug ld/5552] Wrong data address after linking

2008-01-08 Thread markus dot heigl at fme dot fujitsu dot com
--- Additional Comments From markus dot heigl at fme dot fujitsu dot com 2008-01-08 17:17 --- So should this one be moved to gas or should I open a new one and we close this bug? -- http://sourceware.org/bugzilla/show_bug.cgi?id=5552 --- You are receiving this mail because: ---

[Bug ld/5552] Wrong data address after linking

2008-01-08 Thread schwab at suse dot de
--- Additional Comments From schwab at suse dot de 2008-01-08 13:55 --- The assembler output is already broken. foo.o: file format elf32-fr30 RELOCATION RECORDS FOR [.data]: OFFSET TYPE VALUE 0004 R_FR30_32 foo+0x0004 0008 R_FR30_32 foo+0x

[Bug ld/5552] Wrong data address after linking

2008-01-08 Thread markus dot heigl at fme dot fujitsu dot com
--- Additional Comments From markus dot heigl at fme dot fujitsu dot com 2008-01-08 13:44 --- For a2.out I removed h->root.u.def.value *** /fme/users/mhaigl/essen-gcc/binutils-2.18/bfd/elf-bfd.h 2008-01-08 14:36:57.0 +0100 --- /fme/users/mhaigl/cross/binutils-2.18/bfd/elf-b

[Bug binutils/5487] linking with dllwrap causes crash

2008-01-08 Thread ambro at b4ever dot net
--- Additional Comments From ambro at b4ever dot net 2008-01-08 13:31 --- Created an attachment (id=2186) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2186&action=view) test case for the crash Well, here it is. It seems to crash in vsnprintf inside libfoo.c. Crashes both in Wi

[Bug ld/5552] Wrong data address after linking

2008-01-08 Thread markus dot heigl at fme dot fujitsu dot com
--- Additional Comments From markus dot heigl at fme dot fujitsu dot com 2008-01-08 13:18 --- Created an attachment (id=2185) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2185&action=view) linker output -- http://sourceware.org/bugzilla/show_bug.cgi?id=5552 --- You ar

[Bug ld/5552] Wrong data address after linking

2008-01-08 Thread markus dot heigl at fme dot fujitsu dot com
--- Additional Comments From markus dot heigl at fme dot fujitsu dot com 2008-01-08 13:18 --- Created an attachment (id=2184) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2184&action=view) assembler output -- http://sourceware.org/bugzilla/show_bug.cgi?id=5552 --- You

[Bug ld/5552] Wrong data address after linking

2008-01-08 Thread markus dot heigl at fme dot fujitsu dot com
--- Additional Comments From markus dot heigl at fme dot fujitsu dot com 2008-01-08 13:17 --- Created an attachment (id=2183) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2183&action=view) testcase -- http://sourceware.org/bugzilla/show_bug.cgi?id=5552 --- You are rec

[Bug ld/5552] New: Wrong data address after linking

2008-01-08 Thread markus dot heigl at fme dot fujitsu dot com
While porting Linux to the Fujitsu RISC I observed that pointers within a structure were not initialized with the right addresses. After some investigation it boiled down to the linker. Following testcase shows the problem. foo.s: .globl foo .data .p2align 2 .type

[Bug binutils/5529] windres rejects paths in rc files

2008-01-08 Thread Kai dot Tietz at onevision dot com
--- Additional Comments From Kai dot Tietz at onevision dot com 2008-01-08 09:05 --- Created an attachment (id=2181) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2181&action=view) Allow colon, underscore, and path seperators for not quoted strings I patched the token lexer to

[Bug binutils/5322] ERROR: tcl error sourcing /home/dave/binutils-2.17.50/src/gas/testsuite/gas/all/gas.exp

2008-01-08 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2008-01-08 08:39 --- Patch applied -- What|Removed |Added Status|NEW |RESOLVED