* elf32-spu.c (build_stub): Fix malloc under-allocation.
[binutils.git] / gas / testsuite / gas / mips / elf-rel2.d
blob8ca682f28c2f9f5d1733ce756dbe9b0da8763fe0
1 #objdump: -sr -j .text
2 #name: MIPS ELF reloc 2
3 #as: -mabi=o64
5 # Test the GPREL and LITERAL generation.
6 # FIXME: really this should check that the contents of .sdata, .lit4,
7 # and .lit8 are correct too.
9 .*: file format .*
11 RELOCATION RECORDS FOR \[\.text\]:
12 OFFSET [ ]+ TYPE VALUE
13 0+0000000 R_MIPS_LITERAL \.lit8
14 0+0000004 R_MIPS_LITERAL \.lit8
15 0+0000008 R_MIPS_LITERAL \.lit8
16 0+000000c R_MIPS_LITERAL \.lit4
17 0+0000010 R_MIPS_LITERAL \.lit4
18 0+0000014 R_MIPS_LITERAL \.lit4
19 0+0000018 R_MIPS_GPREL16 \.sdata
20 0+000001c R_MIPS_GPREL16 \.sdata
21 0+0000020 R_MIPS_GPREL16 \.sdata
24 Contents of section \.text:
25 0000 d7820000 d7820008 d7820010 c7820000 .*
26 0010 c7820004 c7820008 8f820000 8f820004 .*
27 0020 8f820008 .*