binutils-gdb/ld/testsuite/ld-loongarch-elf/relax-segment-min.s
mengqinggang 580a53dab4 LoongArch: Add more relaxation testcases
1. .so relaxation testcase
2. ld --no-relax testcase
3. segment alignment testcase
2023-11-17 16:38:55 +08:00

13 lines
362 B
ArmAsm

# The .align may cause overflow because deleting nops.
.text # 0x120004000
.align 3
la.local $r12, .L1
# .fill 0x1f7ffc # max fill without overflow, .data address is 0x120200000
.fill 0x1f8000 # min fill with overflow, .data address is 0x120204000
# .fill 0x1fbff4 # max fill with overflow, .data address is 0x120204000
.data
.L1:
.byte 2