| 1 |
#name: MIPS multi-got-no-shared |
| 2 |
#as: -EB -32 -KPIC -mno-shared |
| 3 |
#source: multi-got-no-shared-1.s |
| 4 |
#source: multi-got-no-shared-2.s |
| 5 |
#ld: -melf32btsmip --entry func1 |
| 6 |
#objdump: -D -j .text --prefix-addresses --show-raw-insn |
| 7 |
|
| 8 |
.*: +file format.* |
| 9 |
|
| 10 |
Disassembly of section \.text: |
| 11 |
004000b0 <[^>]*> 3c1c1000 lui gp,0x1000 |
| 12 |
004000b4 <[^>]*> 279c7ff0 addiu gp,gp,32752 |
| 13 |
004000b8 <[^>]*> afbc0008 sw gp,8\(sp\) |
| 14 |
#... |
| 15 |
00408d60 <[^>]*> 3c1c1002 lui gp,0x1002 |
| 16 |
00408d64 <[^>]*> 279c9960 addiu gp,gp,-26272 |
| 17 |
00408d68 <[^>]*> afbc0008 sw gp,8\(sp\) |
| 18 |
#pass |