https://sourceware.org/bugzilla/show_bug.cgi?id=27565
--- Comment #3 from Fangrui Song <i at maskray dot me> --- (In reply to Nick Clifton from comment #2) > Created attachment 14772 [details] > Proposed patch > > Hi Fanguri, > > What do you think of this patch ? Does it do what you need ? > > Cheers > Nick Hi Nick, thanks for working on this feature! Do you have some examples how this keyword can be used? If I try (https://github.com/llvm/llvm-project/blob/main/lld/test/ELF/linkerscript/sort-init.s#L53): SECTIONS { .init_array : { *(REVERSE(SORT_BY_INIT_PRIORITY(.init_array.* .ctors.*)) SORT_BY_INIT_PRIORITY(foo*)) *(REVERSE(.init_array .ctors)) } } ld reports `syntax error`. -- You are receiving this mail because: You are on the CC list for the bug.