mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
3381116249
bfd/ * elf32-arm.c (elf32_arm_output_arch_local_syms): add missing mapping symbol to data only sections. ld/testsuite/ * ld-arm/arm-elf.exp (armelftests): New test case added. * ld-arm/data-only-map.s: New file. * ld-arm/data-only-map.d: New file. * ld-arm/data-only-map.ld: New file.
21 lines
238 B
ArmAsm
21 lines
238 B
ArmAsm
.syntax unified
|
|
.thumb
|
|
.global _start
|
|
_start:
|
|
add.w r0, r1, r2
|
|
|
|
.section .after1
|
|
.word 0xeb010002
|
|
|
|
.section .after2
|
|
add.w r0, r1, r2
|
|
|
|
.section .after3
|
|
add.w r2, r1, r0
|
|
|
|
.section .after4
|
|
.word 0xeb010002
|
|
|
|
.section .after5
|
|
.word 0xeb010002
|