1 #as: --text-section-literals
3 #name: check that literals for .init and .fini always go to separate sections
5 .*: +file format .*xtensa.*
7 RELOCATION RECORDS FOR \[\.init\.literal\]:
9 00000000 R_XTENSA_PLT init
11 RELOCATION RECORDS FOR \[\.fini\.literal\]:
13 00000000 R_XTENSA_PLT fini
15 RELOCATION RECORDS FOR \[\.init\]:
17 .* R_XTENSA_SLOT0_OP \.init\.literal
18 .* R_XTENSA_SLOT0_OP \.init\.literal\+0x00000004
20 RELOCATION RECORDS FOR \[\.fini\]:
22 .* R_XTENSA_SLOT0_OP \.fini\.literal
23 .* R_XTENSA_SLOT0_OP \.fini\.literal\+0x00000004