bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/18097] New: Gold doesn't support SORT_NONE in linker script


From: hjl.tools at gmail dot com
Subject: [Bug gold/18097] New: Gold doesn't support SORT_NONE in linker script
Date: Mon, 09 Mar 2015 16:28:46 +0000

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

            Bug ID: 18097
           Summary: Gold doesn't support SORT_NONE in linker script
           Product: binutils
           Version: 2.26 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at google dot com
          Reporter: hjl.tools at gmail dot com
                CC: ian at airs dot com

address@hidden gold]$ cat foo0.s
    .section .foo,"ax",@progbits
.globl foo
    .type    foo,%function
foo:
    .byte 0
address@hidden gold]$ cat pr14156.t
SECTIONS {
  .foo : { *(SORT_NONE(.foo)) }
  /DISCARD/ : { *(.*) }
}
address@hidden gold]$ make
as   -o foo0.o foo0.s
ld.gold -T pr14156.t -o foo.so foo0.o
ld.gold: error: pr14156.t:2:23: syntax error, unexpected '('
ld.gold: fatal error: unable to parse script file pr14156.t
make: *** [foo.so] Error 1
address@hidden gold]$

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