Commit | Line | Data |
---|---|---|
df58fc94 RS |
1 | #objdump: -sr -j .text |
2 | #name: MIPS ELF reloc 2 | |
3 | #source: elf-rel2.s | |
4 | #as: -mabi=o64 | |
5 | ||
6 | # Test the GPREL and LITERAL generation (microMIPS). | |
7 | # FIXME: really this should check that the contents of .sdata, .lit4, | |
8 | # and .lit8 are correct too. | |
9 | ||
10 | .*: +file format .*mips.* | |
11 | ||
12 | RELOCATION RECORDS FOR \[\.text\]: | |
13 | OFFSET [ ]+ TYPE VALUE | |
14 | 0+0000000 R_MICROMIPS_LITERAL \.lit8 | |
15 | 0+0000004 R_MICROMIPS_LITERAL \.lit8 | |
16 | 0+0000008 R_MICROMIPS_LITERAL \.lit8 | |
17 | 0+000000c R_MICROMIPS_LITERAL \.lit4 | |
18 | 0+0000010 R_MICROMIPS_LITERAL \.lit4 | |
19 | 0+0000014 R_MICROMIPS_LITERAL \.lit4 | |
20 | 0+0000018 R_MICROMIPS_GPREL16 \.sdata | |
21 | 0+000001c R_MICROMIPS_GPREL16 \.sdata | |
22 | 0+0000020 R_MICROMIPS_GPREL16 \.sdata | |
23 | ||
24 | ||
25 | Contents of section \.text: | |
26 | 0000 5cbc0000 5cbc0800 5cbc1000 5c9c0000 .* | |
27 | 0010 5c9c0400 5c9c0800 5cfc0000 5cfc0400 .* | |
28 | 0020 5cfc0800 .* |