URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
205 |
julius |
#source: dso-1.s
|
2 |
|
|
#source: dsov32-3.s
|
3 |
|
|
#as: --pic --no-underscore --march=v32 --em=criself
|
4 |
|
|
#ld: --shared -m crislinux -z nocombreloc
|
5 |
|
|
#readelf: -d -r
|
6 |
|
|
#warning: relocation R_CRIS_32_PCREL should not be used in a shared object; recompile with -fPIC
|
7 |
|
|
|
8 |
|
|
# Check that a TEXTREL reloc is correctly generated for PCREL
|
9 |
|
|
# relocations against global symbols.
|
10 |
|
|
# FIXME: Have a textrel-enabling(-disabling) linker option.
|
11 |
|
|
# (Warning always generated unless [other option] warnings are
|
12 |
|
|
# generally disabled.) Split out the expected readelf output
|
13 |
|
|
# into a separate test using that option.
|
14 |
|
|
|
15 |
|
|
Dynamic section at offset 0x[0-9a-f][0-9a-f][0-9a-f] contains 10 entries:
|
16 |
|
|
Tag[ ]+Type[ ]+Name/Value
|
17 |
|
|
0x0+4 \(HASH\)[ ]+0x94
|
18 |
|
|
0x0+5 \(STRTAB\)[ ]+0x[12][0-9a-f][0-9a-f]
|
19 |
|
|
0x0+6 \(SYMTAB\)[ ]+0x[0-9a-f][0-9a-f]
|
20 |
|
|
0x0+a \(STRSZ\)[ ]+38 \(bytes\)
|
21 |
|
|
0x0+b \(SYMENT\)[ ]+16 \(bytes\)
|
22 |
|
|
0x0+7 \(RELA\)[ ]+0x[12][0-9a-f][0-9a-f]
|
23 |
|
|
0x0+8 \(RELASZ\)[ ]+12 \(bytes\)
|
24 |
|
|
0x0+9 \(RELAENT\)[ ]+12 \(bytes\)
|
25 |
|
|
0x0+16 \(TEXTREL\)[ ]+0x0
|
26 |
|
|
0x0+ \(NULL\)[ ]+0x0
|
27 |
|
|
|
28 |
|
|
Relocation section '\.rela\.text' at offset 0x[12][0-9a-f][0-9a-f] contains 1 entries:
|
29 |
|
|
Offset[ ]+Info[ ]+Type[ ]+Sym\.Value Sym\. Name \+ Addend
|
30 |
|
|
0+[12][0-9a-f][0-9a-f] 0+[0-9a-f]06 R_CRIS_32_PCREL[ ]+0+[0-f]+[ ]+dsofn \+ 6
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.