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: Brian dot Ford at FlightSafety dot com
Subject: [Bug binutils/1391] objcopy trashes PE executable when using "add-gnu-debuglink"
Date: 12 Jan 2006 21:55:51 -0000

------- Additional Comments From Brian dot Ford at FlightSafety dot com  
2006-01-12 21:55 -------
(In reply to comment #4)
> 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

-- 


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]