Commit | Line | Data |
---|---|---|
ce8ad872 MR |
1 | #objdump: -dr --prefix-addresses --show-raw-insn |
2 | #name: MIPS `.option picX' with relaxation 2 | |
3 | #as: -32 -mips2 --relax-branch | |
4 | #stderr: option-pic-relax-2.l | |
5 | ||
6 | # Verify that relaxation is done according to the `.option picX' setting | |
7 | # at the time the relevant instruction was assembled rather than at | |
8 | # relaxation time. | |
9 | ||
10 | .*: +file format .*mips.* | |
11 | ||
12 | Disassembly of section \.text: | |
13 | [0-9a-f]+ <[^>]*> 3c1c0000 lui gp,0x0 | |
14 | [ ]*[0-9a-f]+: R_MIPS_HI16 _gp_disp | |
15 | [0-9a-f]+ <[^>]*> 279c0000 addiu gp,gp,0 | |
16 | [ ]*[0-9a-f]+: R_MIPS_LO16 _gp_disp | |
17 | [0-9a-f]+ <[^>]*> 0399e021 addu gp,gp,t9 | |
18 | [0-9a-f]+ <[^>]*> 00801025 move v0,a0 | |
19 | [0-9a-f]+ <[^>]*> 8f810002 lw at,2\(gp\) | |
20 | [ ]*[0-9a-f]+: R_MIPS_GOT16 \.text | |
21 | [0-9a-f]+ <[^>]*> 2421001c addiu at,at,28 | |
22 | [ ]*[0-9a-f]+: R_MIPS_LO16 \.text | |
23 | [0-9a-f]+ <[^>]*> 00200008 jr at | |
24 | [0-9a-f]+ <[^>]*> 00a01825 move v1,a1 | |
25 | \.\.\. | |
26 | [0-9a-f]+ <[^>]*> 03e00008 jr ra | |
27 | [0-9a-f]+ <[^>]*> 00000000 nop | |
28 | \.\.\. |