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.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to