bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/26841] objcopy --extract-dwo silently drops relocation


From: nickc at redhat dot com
Subject: [Bug binutils/26841] objcopy --extract-dwo silently drops relocation
Date: Fri, 06 Nov 2020 15:38:14 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=26841

--- Comment #4 from Nick Clifton <nickc at redhat dot com> ---
Created attachment 12945
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12945&action=edit
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.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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