Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/ld/testsuite/ld-elf/retain6main.s
2023-03-06 14:48:14 +01:00

13 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