blob: 47b404f177698c46f5a4304d83b60c257e479f3e (
plain)
1
2
3
4
5
6
7
8
9
10
|
# 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)
|