OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [testsuite/] [ld-sh/] [ld-r-1.d] - Blame information for rev 262

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 106 khays
#source: ldr1.s
2
#source: ldr2.s
3
#as: -little
4
#ld: -r -EL
5
#readelf: -r -x1 -x2
6
#target: sh*-*-elf sh*-*-linux*
7
#notarget: sh64*-*-linux*
8
 
9
# Make sure relocations against global and local symbols with relative and
10
# absolute 32-bit relocs don't come out wrong after ld -r.  Remember that
11
# SH uses partial_inplace (sort-of REL within RELA) with its confusion
12
# where and which addends to use and how.  A file linked -r must have the
13
# same layout as a plain assembly file: the addend is in the data only.
14
 
15
Relocation section '\.rela\.text' at offset 0x[0-9a-f]+ contains 1 entries:
16
.*
17
00000008  00000101 R_SH_DIR32 +00000000 +\.text +\+ 0
18
 
19
Hex dump of section '\.text':
20
.*
21
  0x00000000 09000900 09000900 0c000000 .*
22
 
23
Hex dump of section '\.rela\.text':
24
  0x00000000 08000000 01010000 00000000 .*

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.