--- Additional Comments From amodra at bigpond dot net dot au 2009-01-13
23:48 ---
I should have guessed this was stabs.. Rather than papering over the problem
in objdump, I fixed it at its source. At least one other app similarly keeps
previous file name pointers returned from bfd_fi
--- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-01-13
23:45 ---
Subject: Bug 9735
CVSROOT:/cvs/src
Module name:src
Changes by: amo...@sourceware.org 2009-01-13 23:44:45
Modified files:
bfd: ChangeLog syms.c
Log message:
--- Additional Comments From hjl dot tools at gmail dot com 2009-01-13
22:39 ---
We should check section groups to properly support ld -r --gc-sections:
1. If all sections in a section group are removed, we should also
remove the group section.
2. If any sections in a section group is k
--- Additional Comments From hjl dot tools at gmail dot com 2009-01-13
22:06 ---
I saw it on Linux/x86:
[...@gnu-6 9727]$ cat x.s
.section.text.foo,"axG",@progbits,foo,comdat
.globl foo
.type foo,@function
foo:
.byte 0
.section.t
--- Additional Comments From dick at streefland dot net 2009-01-13 12:37
---
Created an attachment (id=3661)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=3661&action=view)
ELF file of the example
Here is the ELF file.
When I was debugging the problem, print_files only contain
--- Additional Comments From amodra at bigpond dot net dot au 2009-01-13
12:25 ---
I still can't replicate the problem. The testcase isn't a great help since I
don't have avr-gcc. Please attach the compiled program.
Hmm, you do realise that entries are added to the beginning of the pr
--- Additional Comments From dick at streefland dot net 2009-01-13 11:16
---
Created an attachment (id=3660)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=3660&action=view)
test case to reproduce the problem
Here is a gzipped tar file with a test case to reproduce the problem.
--- Additional Comments From dick at streefland dot net 2009-01-13 09:29
---
Sorry, I thought the bug would show up for every target. It was in binutils-avr,
for the Atmel AVR. In the debugger, I could see that the filename and modname
strings for the first entry in the print_files list