1# Test the %hi, lo and %hiadj relocations
2
3.set noat
4
5.text
6.global _start
7_start:
8	addi r1, r1, %hi(long_symbol)
9	addi r1, r1, %lo(long_symbol)
10	addi r1, r1, %hiadj(long_symbol)
11