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 [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_NONE(.foo)) } /DISCARD/ : { *(.*) } } [hjl@gnu-6 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 [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