2005-03-05 00:01:44 +00:00
|
|
|
#name: MIPS multi-got-no-shared
|
|
|
|
#as: -EB -32 -KPIC -mno-shared
|
|
|
|
#source: multi-got-no-shared-1.s
|
|
|
|
#source: multi-got-no-shared-2.s
|
|
|
|
#ld: -melf32btsmip --entry func1
|
|
|
|
#objdump: -D -j .text --prefix-addresses --show-raw-insn
|
|
|
|
|
|
|
|
.*: +file format.*
|
|
|
|
|
|
|
|
Disassembly of section \.text:
|
2006-06-12 11:35:45 +00:00
|
|
|
004000b0 <[^>]*> 3c1c0043 lui gp,0x43
|
2005-08-18 16:46:22 +00:00
|
|
|
004000b4 <[^>]*> 279c9ff0 addiu gp,gp,-24592
|
2005-03-05 00:01:44 +00:00
|
|
|
004000b8 <[^>]*> afbc0008 sw gp,8\(sp\)
|
|
|
|
#...
|
2006-06-12 11:35:45 +00:00
|
|
|
00408d60 <[^>]*> 3c1c0044 lui gp,0x44
|
2005-08-18 16:46:22 +00:00
|
|
|
00408d64 <[^>]*> 279cb960 addiu gp,gp,-18080
|
2005-03-05 00:01:44 +00:00
|
|
|
00408d68 <[^>]*> afbc0008 sw gp,8\(sp\)
|
|
|
|
#pass
|