[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/20193] Invalid executable after adding debuglink to an exe
From: |
jon.turney at dronecode dot org.uk |
Subject: |
[Bug binutils/20193] Invalid executable after adding debuglink to an executable produced after merging PE resource sections |
Date: |
Thu, 24 Nov 2016 14:40:38 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=20193
--- Comment #13 from Jon Turney <jon.turney at dronecode dot org.uk> ---
(In reply to Nick Clifton from comment #12)
> >
> > So, another fix is needed here. I'm trying to puzzle out where to move
> > rsrc_process_section() to, but if you have any pointers, that would be most
> > helpful.
>
> Hmm, tricky. The start of coffcode.h:coff_write_object_contents() would be
> my
> first choice, but I have no idea what sort pf problems you might encounter...
_bfd_coff_final_link() seems to be the right place. I tried adding a hook
which runs at the start of that before compute_section_file_positions() is
called, but that's no good, I think because the contents of the output sections
aren't actually determined at that point, so this seems a bit intractable
without changing lots of stuff.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/20193] Invalid executable after adding debuglink to an executable produced after merging PE resource sections, yselkowi at redhat dot com, 2016/11/03
- [Bug binutils/20193] Invalid executable after adding debuglink to an executable produced after merging PE resource sections, jon.turney at dronecode dot org.uk, 2016/11/21
- [Bug binutils/20193] Invalid executable after adding debuglink to an executable produced after merging PE resource sections, nickc at redhat dot com, 2016/11/23
- [Bug binutils/20193] Invalid executable after adding debuglink to an executable produced after merging PE resource sections,
jon.turney at dronecode dot org.uk <=
- [Bug binutils/20193] Invalid executable after adding debuglink to an executable produced after merging PE resource sections, jon.turney at dronecode dot org.uk, 2016/11/24
- [Bug binutils/20193] Invalid executable after adding debuglink to an executable produced after merging PE resource sections, cvs-commit at gcc dot gnu.org, 2016/11/25
- [Bug binutils/20193] Invalid executable after adding debuglink to an executable produced after merging PE resource sections, nickc at redhat dot com, 2016/11/25