bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/24984] Objcopy -I binary --rename-section reserves space f


From: amodra at gmail dot com
Subject: [Bug binutils/24984] Objcopy -I binary --rename-section reserves space for input file, but doesn't include file's contents in .o file
Date: Tue, 10 Sep 2019 09:09:40 +0000

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |amodra at gmail dot com
         Resolution|---                         |INVALID

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
If you specify section flags with --rename-section then the section has exactly
those flags.  You asked for just "readonly", so are getting a section that
isn't load or alloc and has no contents.

Try --rename-section .data=.CustomData,readonly,alloc,load,contents

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