Home | History | Annotate | Download | only in ld-nios2
      1 #name: NIOS2 gp-relative relocations
      2 #source: gprel.s
      3 #ld:
      4 #objdump: -dr --prefix-addresses
      5 
      6 # Test the %gprel macro.
      7 
      8 .*: +file format elf32-littlenios2
      9 
     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\)
     18