bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/18098] New: Gold doesn't support SORT_BY_INIT_PRIORITY in link


From: hjl.tools at gmail dot com
Subject: [Bug gold/18098] New: Gold doesn't support SORT_BY_INIT_PRIORITY in linker script
Date: Mon, 09 Mar 2015 17:01:49 +0000

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

            Bug ID: 18098
           Summary: Gold doesn't support SORT_BY_INIT_PRIORITY 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_BY_INIT_PRIORITY(.foo*)) }
  /DISCARD/ : { *(.*) }
}
address@hidden gold]$ make
as   -o foo0.o foo0.s
./ld -T pr14156.t -o foo.so foo0.o
./ld: error: pr14156.t:2:35: syntax error, unexpected '('
./ld: 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]