bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/25151] writing section `.text' at huge (ie negative) file offset


From: amodra at gmail dot com
Subject: [Bug ld/25151] writing section `.text' at huge (ie negative) file offset
Date: Sat, 02 Nov 2019 06:29:52 +0000

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

Alan Modra <amodra at gmail dot com> changed:

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

--- Comment #5 from Alan Modra <amodra at gmail dot com> ---
There is a .note.gnu.property section in your gcc-9 compiled object file.  This
section is an allocated section (and thus will appear in the binary output),
and is placed by the generic linker before your .text section at a relatively
low address.  Combined with the very high address of your .text section would
mean a binary format output file of around 18 exa bytes.  I'm guessing that you
don't have such a large storage system.

Use -Ttext-segment=0xff... rather than -Ttext=0xff... when linking if you want
the .note.gnu.property section in your output, compile with an option that
turns it off, or remove the section before linking.

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