1 #name
: NIOS2 gp
-relative relocations
4 #objdump
: -dr
--prefix
-addresses
6 # Test the
%gprel
macro.
8 .*: +file format elf32
-littlenios2
10 Disassembly of section
.text
:
11 [0-9a
-f
]+ <[^
>]*> movui gp
,[0-9]+
12 [0-9a
-f
]+ <[^
>]*> ldw at
,-[0-9]+\
(gp\
)
13 [0-9a
-f
]+ <[^
>]*> ldw r2
,-[0-9]+\
(gp\
)
14 [0-9a
-f
]+ <[^
>]*> ldb r3
,-[0-9]+\
(gp\
)
15 [0-9a
-f
]+ <[^
>]*> ldw at
,-[0-9]+\
(gp\
)
16 [0-9a
-f
]+ <[^
>]*> ldw r2
,-[0-9]+\
(gp\
)
17 [0-9a
-f
]+ <[^
>]*> ldb r3
,-[0-9]+\
(gp\
)