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 [hjl@gnu-6 gold]$ cat foo0.s .section .foo,"ax",@progbits .globl foo .type foo,%function foo: .byte 0 [hjl@gnu-6 gold]$ cat pr14156.t SECTIONS { .foo : { *(SORT_BY_INIT_PRIORITY(.foo*)) } /DISCARD/ : { *(.*) } } [hjl@gnu-6 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 [hjl@gnu-6 gold]$ -- 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