summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/pic-gc-72.d
blob: 7e727525a29780e5d95c7402de340f71b97fbd87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#source: pic-gc-72.s
#source: expdref1.s
#source: expdyn1.s
#as: --pic --no-underscore --em=criself -I$srcdir/$subdir
#ld: --shared -m crislinux --gc-sections
#objdump: -s -t -R -p -T

# Exercise PIC relocs through changed GC sweep function.
# There should be nothing left except from expdyn1.s.

.*:     file format elf32-cris
#...
DYNAMIC RELOCATION RECORDS \(none\)

Contents of section .hash:
#...
Contents of section .dynsym:
#...
Contents of section .dynstr:
#...
Contents of section .text:
 016e 0f050f05                             .*
Contents of section .dynamic:
 2174 .*
#...
Contents of section .got:
 21cc 74210000 00000000 00000000           .*
Contents of section .data:
 21d8 00000000                             .*