aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-csky/hilo16.s
blob: 601fbc689681dfcde89fc430ea470e24b946fb36 (plain)
1
2
3
4
5
6
7
# Test the hi16/lo16 relocations

.text
.global __start
__start:
	movih	r1, (long_symbol) >> 16
	ori	r1, r1, (long_symbol) & 0xffff