bug-binutils
[Top][All Lists]
Advanced

[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: nickc at redhat dot com
Subject: [Bug binutils/1391] objcopy trashes PE executable when using "add-gnu-debuglink"
Date: 16 Jan 2006 18:17:50 -0000

------- Additional Comments From nickc at redhat dot com  2006-01-16 18:17 
-------
Hi Brian, Hi Anastasius,

>> Yes, although I am not sure if an easy fix exists.  In the meantime 
>> please could you try the attached patch which might work.  The problem 
>> with it is that it has to guess as to the correct VMA value to use.  I 
>> am not sure if matters though.  It might be that any non-zero value will 
>> be valid, even if it overlaps with another section.
> 
> It does matter.  PE executables need contiguous section aligned VMAs.  See:
> 
> http://www.cygwin.com/ml/binutils/2003-01/msg00210.html

Stupid spec!  Oh well, I am uploading a revised patch that *might* work.  It is
completely untested though, but I would appreciate any feedback you can give me.

Cheers
  Nick



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING


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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]