bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/27314] objcopy overwrite sections


From: address@hidden
Subject: [Bug binutils/27314] objcopy overwrite sections
Date: Tue, 02 Feb 2021 20:09:20 +0000

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

Petr Ovtchenkov <ptr@void-ptr.info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|NOTABUG                     |---
             Status|RESOLVED                    |UNCONFIRMED

--- Comment #2 from Petr Ovtchenkov <ptr@void-ptr.info> ---
You can discuss this with klibc guys
(git://git.kernel.org/pub/scm/libs/klibc/klibc.git) and Hans Peter Anven:

commit de6f630e6be90d6d32d8bf2fed3f856b0c32f7ba
Author: H. Peter Anvin <hpa@zytor.com>
Date:   Sat Jun 10 11:15:19 2006 -0700

    [klibc] Detect the sizes of various types, and make available to
sysstub.ph.

    This additional code effectively queries the C compiler for the sizes of
    various types, and makes an associative array %typesize available to
    sysstub.ph.  This is currently not used, but it's expected that some
    architectures, e.g. s390, will need this to determine which registers
    go where, and how many registers are needed.

    Signed-off-by: H. Peter Anvin <hpa@zytor.com>

In any case, behavior of objcopy looks strange: it overlap section without any
note.

You test give nothing: as you see, in case of absent .note.gnu.property section
problem disappear (no overlapping section, no problems).

-- 
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]