mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-11 03:52:59 +00:00
18 lines
453 B
Makefile
18 lines
453 B
Makefile
#name: NIOS2 gp-relative relocations
|
|
#source: gprel.s
|
|
#ld:
|
|
#objdump: -dr --prefix-addresses
|
|
|
|
# Test the %gprel macro.
|
|
|
|
.*: +file format elf32-littlenios2
|
|
|
|
Disassembly of section .text:
|
|
[0-9a-f]+ <[^>]*> movui gp,[0-9]+
|
|
[0-9a-f]+ <[^>]*> ldw at,-[0-9]+\(gp\)
|
|
[0-9a-f]+ <[^>]*> ldw r2,-[0-9]+\(gp\)
|
|
[0-9a-f]+ <[^>]*> ldb r3,-[0-9]+\(gp\)
|
|
[0-9a-f]+ <[^>]*> ldw at,-[0-9]+\(gp\)
|
|
[0-9a-f]+ <[^>]*> ldw r2,-[0-9]+\(gp\)
|
|
[0-9a-f]+ <[^>]*> ldb r3,-[0-9]+\(gp\)
|