bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/16804] gold rejects kernel linker script


From: luto at mit dot edu
Subject: [Bug gold/16804] gold rejects kernel linker script
Date: Thu, 03 Apr 2014 17:28:09 +0000

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

Andy Lutomirski <luto at mit dot edu> changed:

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

--- Comment #4 from Andy Lutomirski <luto at mit dot edu> ---
Huh?  I agree that your suggestion appears to work, but isn't gold supposed to
speak linker script language as spoken by GNU ld?

The de facto reference
(https://sourceware.org/binutils/docs/ld/Output-Section-Description.html#Output-Section-Description)
says:

     section [address] [(type)] :
       [AT(lma)]
       [ALIGN(section_align) | ALIGN_WITH_INPUT]
       [SUBALIGN(subsection_align)]
       [constraint]
       {
         output-section-command
         output-section-command
         ...
       } [>region] [AT>lma_region] [:phdr :phdr ...] [=fillexp]

The comma at the end is conspicuously absent.

Please either document or fix this.  I realize that GNU ld is doing something
very strange with fillexp, but the fact that a single comma (but not two
commas!) is legal at the end of an output section description appears to be
completely undocumented.

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