aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-nios2/hilo16.d
blob: c7034133922e11654af7b7a3662f274b2bb4fd9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#name: NIOS2 R_NIOS2_HI16,LO16,HIADJ16
#source: hilo16.s
#source: hilo16_symbol.s
#ld:
#objdump: -dr --prefix-addresses

# Test the %hi, %lo and %hiadi relocations
.*: +file format elf32-littlenios2

Disassembly of section .text:
[0-9a-f]+ <[^>]*> addi	at,at,-8531
[0-9a-f]+ <[^>]*> addi	at,at,-16657
[0-9a-f]+ <[^>]*> addi	at,at,-8530