1#objdump: -sr -j .text
2#name: MIPS ELF reloc
3#source: elf-rel.s
4#as: -32
5
6# Test the HI16/LO16 generation.
7
8.*:     file format .*
9
10RELOCATION RECORDS FOR \[\.text\]:
11OFFSET [ ]+ TYPE              VALUE
120+0000000 R_MIPS_HI16       \.text
130+0000018 R_MIPS_LO16       \.text
140+000000c R_MIPS_HI16       \.text
150+000001c R_MIPS_LO16       \.text
160+0000008 R_MIPS_HI16       \.text
170+0000020 R_MIPS_LO16       \.text
180+0000004 R_MIPS_HI16       \.text
190+0000024 R_MIPS_LO16       \.text
200+0000014 R_MIPS_HI16       \.text
210+0000028 R_MIPS_LO16       \.text
220+0000010 R_MIPS_HI16       \.text
230+000002c R_MIPS_LO16       \.text
240+0000030 R_MIPS_HI16       \.text
250+0000048 R_MIPS_LO16       \.text
260+0000034 R_MIPS_HI16       \.text
270+000004c R_MIPS_LO16       \.text
280+0000038 R_MIPS_HI16       \.text
290+0000050 R_MIPS_LO16       \.text
300+000003c R_MIPS_HI16       \.text
310+0000054 R_MIPS_LO16       \.text
320+0000044 R_MIPS_HI16       \.text
330+0000058 R_MIPS_LO16       \.text
340+0000040 R_MIPS_HI16       \.text
350+000005c R_MIPS_LO16       \.text
360+0000060 R_MIPS_HI16       \.text
370+0000078 R_MIPS_LO16       \.text
380+0000064 R_MIPS_HI16       \.text
390+000007c R_MIPS_LO16       \.text
400+0000068 R_MIPS_HI16       \.text
410+0000080 R_MIPS_LO16       \.text
420+000006c R_MIPS_HI16       \.text
430+0000084 R_MIPS_LO16       \.text
440+0000074 R_MIPS_HI16       \.text
450+0000088 R_MIPS_LO16       \.text
460+0000070 R_MIPS_HI16       \.text
470+000008c R_MIPS_LO16       \.text
48
49
50Contents 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  .*
57 0060 0100013c 0100013c 0200013c 0200013c  .*
58 0070 0100013c 0100013c febf2120 02c02120  .*
59 0080 febf2120 02c02120 fe3f2120 fabf2120  .*
60#pass
61