* ld-elf/merge.d: xfail crisv32-*-*.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-cris / libdso-13.d
CommitLineData
1f02b94b
HPN
1#source: dso-1.s
2#source: dsov32-3.s
3#as: --pic --no-underscore --march=v32
4#ld: --shared -m crislinux
5#readelf: -d -r
6#error: relocation R_CRIS_32_PCREL should not be used in a shared object; recompile with -fPIC
7
8# FIXME: Have a textrel-enabling linker option. Split out the
9# expected readelf output into a separate test using that option.
10# Check that a TEXTREL reloc is correctly generated for PCREL
11# relocations.
12
13Dynamic segment at offset 0x240 contains 10 entries:
14 Tag[ ]+Type[ ]+Name/Value
15 0x0+4 \(HASH\)[ ]+0x94
16 0x0+5 \(STRTAB\)[ ]+0x1e8
17 0x0+6 \(SYMTAB\)[ ]+0xe8
18 0x0+a \(STRSZ\)[ ]+47 \(bytes\)
19 0x0+b \(SYMENT\)[ ]+16 \(bytes\)
20 0x0+7 \(RELA\)[ ]+0x218
21 0x0+8 \(RELASZ\)[ ]+12 \(bytes\)
22 0x0+9 \(RELAENT\)[ ]+12 \(bytes\)
23 0x0+16 \(TEXTREL\)[ ]+0x0
24 0x0+ \(NULL\)[ ]+0x0
25
26Relocation section '\.rela\.text' at offset 0x218 contains 1 entries:
27 Offset[ ]+Info[ ]+Type[ ]+Sym\.Value Sym\. Name \+ Addend
280+22a 0+f06 R_CRIS_32_PCREL[ ]+0+224[ ]+dsofn \+ 6
This page took 0.023222 seconds and 4 git commands to generate.