rx-elf FAIL: SHF_GNU_RETAIN sections 27
rx-elf is an odd target with non-standard names for default text, data and bss sections. This patch tweaks a new test to make it pass. * testsuite/gas/elf/section27.s: Reorder .text, .data and .bss so that output section order does not depend on those sections being already created. Use ".section .text" rather than ".text".
This commit is contained in:
parent
ad9675dd80
commit
f7c54040d7
2 changed files with 16 additions and 10 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2020-12-14 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* testsuite/gas/elf/section27.s: Reorder .text, .data and .bss
|
||||||
|
so that output section order does not depend on those sections
|
||||||
|
being already created. Use ".section .text" rather than ".text".
|
||||||
|
|
||||||
2020-12-13 Borislav Petkov <bp@suse.de>
|
2020-12-13 Borislav Petkov <bp@suse.de>
|
||||||
|
|
||||||
* testsuite/gas/i386/align-branch-9.s: Don't use labels that are
|
* testsuite/gas/i386/align-branch-9.s: Don't use labels that are
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
.section .bss,"aw"
|
.section .text,"ax"
|
||||||
.global discard0
|
.global discard2
|
||||||
.type discard0, %object
|
.type discard2, %function
|
||||||
discard0:
|
discard2:
|
||||||
.zero 2
|
.word 0
|
||||||
|
|
||||||
.section .data,"aw"
|
.section .data,"aw"
|
||||||
.global discard1
|
.global discard1
|
||||||
|
@ -10,11 +10,11 @@ discard0:
|
||||||
discard1:
|
discard1:
|
||||||
.word 1
|
.word 1
|
||||||
|
|
||||||
.text
|
.section .bss,"aw"
|
||||||
.global discard2
|
.global discard0
|
||||||
.type discard2, %function
|
.type discard0, %object
|
||||||
discard2:
|
discard0:
|
||||||
.word 0
|
.zero 2
|
||||||
|
|
||||||
.section .bss,"awR",%nobits
|
.section .bss,"awR",%nobits
|
||||||
.global retain0
|
.global retain0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue