mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
cc6fd584ed
binutils/ChangeLog: * testsuite/binutils-all/readelf-maskos-1a.d: Fix test for unrecognized bit set in SHF_MASKOS range. * testsuite/binutils-all/readelf-maskos-1b.d: Likewise. * testsuite/binutils-all/readelf-maskos-unknown.s: New test. ld/ChangeLog: * testsuite/ld-elf/retain3.s: Move symbolic reference into writeable .data section from read-only .text section. * testsuite/ld-elf/retain5.d: Don't pass --print-gc-sections for test that doesn't require it. * testsuite/ld-elf/retain6a.d: Adjust test. * testsuite/ld-elf/retain6main.s: Move symbolic reference into writeable .data section from read-only .text section.
14 lines
330 B
ArmAsm
14 lines
330 B
ArmAsm
/* Undefined symbol reference in retained section .data.retained_var requires
|
|
symbol definition to be pulled out of library. */
|
|
.section .data.retained_var,"awR"
|
|
.global retained_var
|
|
.type retained_var, %object
|
|
retained_var:
|
|
.long bar
|
|
|
|
.section .text._start,"ax"
|
|
.global _start
|
|
.type _start, %function
|
|
_start:
|
|
.word 0
|