HJ, Do you remember why your initial implementation (commit 0672748ac053) of this macro didn't allow discarding of all relocs in a section? Was it because ld/testsuite/ld-elf/linkonce1.d needed changing? -- Alan Modra