[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/26841] objcopy --extract-dwo silently drops relocation
From: |
vries at gcc dot gnu.org |
Subject: |
[Bug binutils/26841] objcopy --extract-dwo silently drops relocation |
Date: |
Fri, 06 Nov 2020 16:23:24 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26841
--- Comment #5 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Nick Clifton from comment #4)
> Created attachment 12945 [details]
> Proposed patch
>
> Hi Tom,
>
> > Alternatively, we could choose not to make things easier for the compiler,
> > and
> > error out when encountering a .rela.*.dwo section.
>
> Well if the spec says that they are not allowed then that does make things
> easier.
>
> How about this revised patch ? It makes the assembler issue an error
> message if the user tries to assemble a file containing DWO sections that
> need relocations, and it makes objcopy complain if it is asked to extract
> the dwo sections of a file which has relocations against those sections.
>
I've asked for feedback on the GCC side.
--
You are receiving this mail because:
You are on the CC list for the bug.