[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/1391] objcopy trashes PE executable when using "add-gnu-de
From: |
focht at gmx dot net |
Subject: |
[Bug binutils/1391] objcopy trashes PE executable when using "add-gnu-debuglink" |
Date: |
4 Oct 2005 08:43:34 -0000 |
------- Additional Comments From focht at gmx dot net 2005-10-04 08:43 -------
Hello again,
currently one can fix this manually by executing additional step:
objcopy --change-section-vma .gnu_debuglink=+<addr> test_xxx.exe
Where <addr> is the address of first debug section in "objdump -h <executable>".
That seems to work.
The executable can be loaded and executed under cygwin x86/gcc 4.0.x toolchain
and binutils 2.16.1*
Gdb locates the external symbol file and loads it.
I did a grep on the sources but could not really find a location where the wrong
VMA might be produced..
Could this be a bug in bfd library itself?
Regards,
A. Focht
--
http://sourceware.org/bugzilla/show_bug.cgi?id=1391
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.