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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-cris/] [hiddef1.d] - Blame information for rev 156

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
#source: gotrel1.s
2
#source: hiddef1.s
3
#source: hidrefgotplt1.s
4
#ld: -shared -m crislinux
5
#as: --pic --no-underscore -I$srcdir/$subdir --em=criself
6
#readelf: -S -s -r
7
 
8
# Regression test for mishandling of GOTPLT relocs against a
9
# hidden symbol, where the reloc is found after the symbol
10
# definition.  There should be no PLT, just a single GOT entry
11
# from a GOTPLT reloc moved to the .got section.  It's hard to
12
# check for absence of a .plt section, so we just check the
13
# number of symbols and sections.  When the number of symbols
14
# and sections change, make sure that there's no .plt and that
15
# dsofn is hidden (not exported as a dynamic symbol).
16
 
17
There are 11 section headers, starting at offset 0x[0-9a-f]+:
18
#...
19
  \[[ 0-9]+\] \.got              PROGBITS        [0-9a-f]+ [0-9a-f]+ 0+10 04  WA  0   0  4
20
#...
21
Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 1 entries:
22
#...
23
[0-9a-f]+  0+c R_CRIS_RELATIVE                              [0-9a-f]+
24
#...
25
Symbol table '\.dynsym' contains 6 entries:
26
#...
27
Symbol table '\.symtab' contains 16 entries:
28
#pass

powered by: WebSVN 2.1.0

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