Home | History | Annotate | Download | only in ld-mips-elf
      1 # Create a GOT reference for every function under test.
      2 
      3 	.abicalls
      4 	.option pic2
      5 
      6 	.include "compressed-plt-1.s"
      7 
      8 	.macro	test_one, name, types
      9 	lw	$2,%got(\name)($gp)
     10 	.endm
     11 
     12 	.if	micromips
     13 	.set	micromips
     14 	.endif
     15 
     16 	.section .text.d, "ax", @progbits
     17 	.globl	testgot
     18 	.ent	testgot
     19 	.set	noreorder
     20 testgot:
     21 	test_all
     22 	.end	testgot
     23