Commit | Line | Data |
---|---|---|
07147777 GK |
1 | #objdump: -sr -j .text |
2 | #name: MIPS ELF reloc 2 (32-bit) | |
4bec5bdf | 3 | #as: -mabi=32 -march=mips1 |
07147777 GK |
4 | #source: elf-rel2.s |
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 | ||
3cc86b96 | 10 | .*: file format .* |
07147777 GK |
11 | |
12 | RELOCATION RECORDS FOR \[\.text\]: | |
db1c0ae7 | 13 | OFFSET [ ]+ TYPE VALUE |
7f1003b8 NC |
14 | 0+0000000 R_MIPS_LITERAL \.lit8 |
15 | 0+0000004 R_MIPS_LITERAL \.lit8 | |
16 | 0+0000008 R_MIPS_LITERAL \.lit8 | |
17 | 0+000000c R_MIPS_LITERAL \.lit8 | |
18 | 0+0000010 R_MIPS_LITERAL \.lit8 | |
19 | 0+0000014 R_MIPS_LITERAL \.lit8 | |
20 | 0+0000018 R_MIPS_LITERAL \.lit4 | |
21 | 0+000001c R_MIPS_LITERAL \.lit4 | |
22 | 0+0000020 R_MIPS_LITERAL \.lit4 | |
23 | 0+0000024 R_MIPS_GPREL16 \.sdata | |
24 | 0+0000028 R_MIPS_GPREL16 \.sdata | |
25 | 0+000002c R_MIPS_GPREL16 \.sdata | |
07147777 GK |
26 | |
27 | ||
28 | Contents of section \.text: | |
7f1003b8 NC |
29 | 0000 c7830000 c7820004 c7830008 c782000c .* |
30 | 0010 c7830010 c7820014 c7820000 c7820004 .* | |
31 | 0020 c7820008 8f820000 8f820004 8f820008 .* |