[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: |
dannysmith at users dot sourceforge dot net |
Subject: |
[Bug binutils/1391] objcopy trashes PE executable when using "add-gnu-debuglink" |
Date: |
18 Jan 2006 01:40:07 -0000 |
------- Additional Comments From dannysmith at users dot sourceforge dot net
2006-01-18 01:40 -------
(In reply to comment #7)
> Created an attachment (id=832)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=832&action=view)
> Create a VMA for the gnu_debuglink section
Almost. The section needs to be page-aligned.
With this (and inclusion of 'libbfd.h'):
if (highest_section)
debuglink_vma = BFD_ALIGN (highest_section->vma
+ highest_section->size,
0x1000);
I get good, debuggable exe's after going through the -add-gnu-dedug-link step.
Danny
--
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/1391] objcopy trashes PE executable when using "add-gnu-debuglink", Brian dot Ford at FlightSafety dot com, 2006/01/12
- [Bug binutils/1391] objcopy trashes PE executable when using "add-gnu-debuglink", nickc at redhat dot com, 2006/01/16
- [Bug binutils/1391] objcopy trashes PE executable when using "add-gnu-debuglink", nickc at redhat dot com, 2006/01/16
- [Bug binutils/1391] objcopy trashes PE executable when using "add-gnu-debuglink",
dannysmith at users dot sourceforge dot net <=
- [Bug binutils/1391] objcopy trashes PE executable when using "add-gnu-debuglink", nickc at redhat dot com, 2006/01/18
- [Bug binutils/1391] objcopy trashes PE executable when using "add-gnu-debuglink", Brian dot Ford at FlightSafety dot com, 2006/01/24
- [Bug binutils/1391] objcopy trashes PE executable when using "add-gnu-debuglink", nickc at redhat dot com, 2006/01/26