mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
1d022697d9
ld/ * emultempl/armelf.em: Include elf/arm.h. (arm_elf_finish): Set low address bit if enty point is a Thumb function. ld/testsuite/ * ld-arm/arm-elf.exp: Add thumb-entry test. * ld-arm/thumb-entry.d: New test. * ld-arm/thumb-entry.s: New test.
9 lines
75 B
ArmAsm
9 lines
75 B
ArmAsm
.text
|
|
.arch armv4t
|
|
.thumb
|
|
.global _start
|
|
.thumb_func
|
|
_start:
|
|
bx lr
|
|
|