# Test that .text.fnretain1, which has the SHF_GNU_RETAIN flag, can still be | |
# explicitly discarded from the output file. | |
#... | |
Discarded input sections | |
.text.* | |
#... | |
.data.* | |
#... | |
.bss.* | |
#... | |
.bss.discard0.* | |
#... | |
.bss.discard1.* | |
#... | |
.data.discard2.* | |
#... | |
.bss.sdiscard0.* | |
#... | |
.bss.sdiscard1.* | |
#... | |
.data.sdiscard2.* | |
#... | |
.text.fndiscard0.* | |
#... | |
.text.fnretain1.* | |
#... | |
.text.fndiscard2.* | |
#... | |
Memory Configuration | |
#pass |