Commit | Line | Data |
---|---|---|
ff8715d0 L |
1 | #objdump: -sr -j .text |
2 | #name: MIPS ELF reloc | |
3 | #source: elf-rel.s | |
e9033001 | 4 | #as: -32 |
ff8715d0 L |
5 | |
6 | # Test the HI16/LO16 generation. | |
7 | ||
8 | .*: file format elf.*mips | |
9 | ||
10 | RELOCATION RECORDS FOR \[\.text\]: | |
db1c0ae7 | 11 | OFFSET [ ]+ TYPE VALUE |
ff8715d0 L |
12 | 0+0000000 R_MIPS_HI16 \.text |
13 | 0+0000018 R_MIPS_LO16 \.text | |
14 | 0+000000c R_MIPS_HI16 \.text | |
15 | 0+000001c R_MIPS_LO16 \.text | |
16 | 0+0000008 R_MIPS_HI16 \.text | |
17 | 0+0000020 R_MIPS_LO16 \.text | |
18 | 0+0000004 R_MIPS_HI16 \.text | |
19 | 0+0000024 R_MIPS_LO16 \.text | |
20 | 0+0000014 R_MIPS_HI16 \.text | |
21 | 0+0000028 R_MIPS_LO16 \.text | |
22 | 0+0000010 R_MIPS_HI16 \.text | |
23 | 0+000002c R_MIPS_LO16 \.text | |
24 | 0+0000030 R_MIPS_HI16 \.text | |
25 | 0+0000048 R_MIPS_LO16 \.text | |
3b91255e | 26 | 0+0000034 R_MIPS_HI16 \.text |
ff8715d0 | 27 | 0+000004c R_MIPS_LO16 \.text |
3b91255e | 28 | 0+0000038 R_MIPS_HI16 \.text |
ff8715d0 | 29 | 0+0000050 R_MIPS_LO16 \.text |
3b91255e | 30 | 0+000003c R_MIPS_HI16 \.text |
ff8715d0 | 31 | 0+0000054 R_MIPS_LO16 \.text |
3b91255e | 32 | 0+0000044 R_MIPS_HI16 \.text |
ff8715d0 | 33 | 0+0000058 R_MIPS_LO16 \.text |
3b91255e | 34 | 0+0000040 R_MIPS_HI16 \.text |
ff8715d0 | 35 | 0+000005c R_MIPS_LO16 \.text |
b3ca3a6a L |
36 | 0+0000060 R_MIPS_HI16 \.text |
37 | 0+0000078 R_MIPS_LO16 \.text | |
3b91255e | 38 | 0+0000064 R_MIPS_HI16 \.text |
b3ca3a6a | 39 | 0+000007c R_MIPS_LO16 \.text |
3b91255e | 40 | 0+0000068 R_MIPS_HI16 \.text |
b3ca3a6a | 41 | 0+0000080 R_MIPS_LO16 \.text |
3b91255e | 42 | 0+000006c R_MIPS_HI16 \.text |
b3ca3a6a | 43 | 0+0000084 R_MIPS_LO16 \.text |
3b91255e | 44 | 0+0000074 R_MIPS_HI16 \.text |
b3ca3a6a | 45 | 0+0000088 R_MIPS_LO16 \.text |
3b91255e | 46 | 0+0000070 R_MIPS_HI16 \.text |
b3ca3a6a | 47 | 0+000008c R_MIPS_LO16 \.text |
ff8715d0 L |
48 | |
49 | ||
50 | Contents of section \.text: | |
51 | 0000 0000013c 0000013c 0100013c 0100013c .* | |
52 | 0010 0000013c 0100013c 18002120 1c002120 .* | |
53 | 0020 18002120 1c002120 18802120 fcff2120 .* | |
54 | 0030 0100013c 0100013c 0200013c 0200013c .* | |
55 | 0040 0100013c 0100013c febf2120 02c02120 .* | |
56 | 0050 febf2120 02c02120 fe3f2120 fabf2120 .* | |
b3ca3a6a L |
57 | 0060 0100013c 0100013c 0200013c 0200013c .* |
58 | 0070 0100013c 0100013c febf2120 02c02120 .* | |
59 | 0080 febf2120 02c02120 fe3f2120 fabf2120 .* | |
8dd76882 | 60 | #pass |