Commit | Line | Data |
---|---|---|
ff8715d0 L |
1 | #objdump: -sr -j .text |
2 | #name: MIPS ELF reloc 2 (32-bit) | |
3 | #source: elf-rel2.s | |
23fce1e3 | 4 | #as: -32 -march=mips3 |
ff8715d0 L |
5 | |
6 | # Test the GPREL and LITERAL generation. | |
7 | # FIXME: really this should check that the contents of .sdata, .lit4, | |
8 | # and .lit8 are correct too. | |
9 | ||
10 | .*: file format elf.*mips | |
11 | ||
12 | RELOCATION RECORDS FOR \[\.text\]: | |
db1c0ae7 | 13 | OFFSET [ ]+ TYPE VALUE |
ff8715d0 L |
14 | 0+0000000 R_MIPS_LITERAL \.lit8\+0x0+0004000 |
15 | 0+0000004 R_MIPS_LITERAL \.lit8\+0x0+0004000 | |
16 | 0+0000008 R_MIPS_LITERAL \.lit8\+0x0+0004000 | |
23fce1e3 NC |
17 | 0+000000c R_MIPS_LITERAL \.lit4\+0x0+0004000 |
18 | 0+0000010 R_MIPS_LITERAL \.lit4\+0x0+0004000 | |
19 | 0+0000014 R_MIPS_LITERAL \.lit4\+0x0+0004000 | |
20 | 0+0000018 R_MIPS_GPREL16 \.sdata\+0x0+0004000 | |
21 | 0+000001c R_MIPS_GPREL16 \.sdata\+0x0+0004000 | |
22 | 0+0000020 R_MIPS_GPREL16 \.sdata\+0x0+0004000 | |
ff8715d0 L |
23 | |
24 | ||
25 | Contents of section \.text: | |
23fce1e3 NC |
26 | 0000 00c082d7 08c082d7 10c082d7 00c082c7 .* |
27 | 0010 04c082c7 08c082c7 00c0828f 04c0828f .* | |
28 | 0020 08c0828f .* |