[Bug binutils/1391] objcopy trashes PE executable when using "add-gnu-debuglink"

2005-10-04 Thread focht at gmx dot net

--- 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=+ test_xxx.exe

Where  is the address of first debug section in "objdump -h ".

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.


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


[Bug ld/1396] prohibited cross reference to a local symbol.

2005-10-04 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2005-10-04 19:55 ---
Another updated patch is posted at

http://sourceware.org/ml/binutils/2005-10/msg00032.html

-- 


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

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