2001-05-25 H.J. Lu <hjl@gnu.org>
[deliverable/binutils-gdb.git] / gas / testsuite / gas / mips / elf-rel2.d
CommitLineData
07147777
GK
1#objdump: -sr -j .text
2#name: MIPS ELF reloc 2
3
4# Test the GPREL and LITERAL generation.
5# FIXME: really this should check that the contents of .sdata, .lit4,
6# and .lit8 are correct too.
7
8.*: file format elf.*mips
9
10RELOCATION RECORDS FOR \[\.text\]:
11OFFSET TYPE VALUE
120+0000000 R_MIPS_LITERAL \.lit8\+0x0+0004000
130+0000004 R_MIPS_LITERAL \.lit8\+0x0+0004000
140+0000008 R_MIPS_LITERAL \.lit8\+0x0+0004000
150+000000c R_MIPS_LITERAL \.lit4\+0x0+0004000
160+0000010 R_MIPS_LITERAL \.lit4\+0x0+0004000
170+0000014 R_MIPS_LITERAL \.lit4\+0x0+0004000
180+0000018 R_MIPS_GPREL16 \.sdata\+0x0+0004000
190+000001c R_MIPS_GPREL16 \.sdata\+0x0+0004000
200+0000020 R_MIPS_GPREL16 \.sdata\+0x0+0004000
21
22
23Contents of section \.text:
24 0000 d782c000 d782c008 d782c010 c782c000 .*
25 0010 c782c004 c782c008 8f82c000 8f82c004 .*
ff8715d0 26 0020 8f82c008 00000000 00000000 00000000 .*
This page took 0.071067 seconds and 4 git commands to generate.