mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-12 12:16:04 +08:00
11 lines
179 B
ArmAsm
11 lines
179 B
ArmAsm
|
# Test the %hi, lo and %hiadj relocations
|
||
|
|
||
|
.set noat
|
||
|
|
||
|
.text
|
||
|
.global _start
|
||
|
_start:
|
||
|
addi r1, r1, %hi(long_symbol)
|
||
|
addi r1, r1, %lo(long_symbol)
|
||
|
addi r1, r1, %hiadj(long_symbol)
|