~ubuntu-branches/ubuntu/utopic/binutils-arm64-cross/utopic

« back to all changes in this revision

Viewing changes to binutils-2.23.52.20130611/ld/testsuite/ld-elf/group4.d

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2013-06-20 17:38:09 UTC
  • Revision ID: package-import@ubuntu.com-20130620173809-app8lzgvymy5fg6c
Tags: 0.7
Build-depend on binutils-source (>= 2.23.52.20130620-1~).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#source: ../../../binutils/testsuite/binutils-all/group-2.s
 
2
#ld: -r
 
3
#readelf: -Sg --wide
 
4
#xfail: cr16-*-* crx-*-* xstormy*-*-*
 
5
# cr16 and crx use non-standard scripts with memory regions, which don't play
 
6
# well with unique group sections under ld -r.
 
7
# xstormy also uses a non-standard script, putting .data before .text.
 
8
 
 
9
#...
 
10
  \[[ 0-9]+\] .group[ \t]+GROUP[ \t]+.*
 
11
#...
 
12
  \[[ 0-9]+\] \.text.*[ \t]+PROGBITS[ \t0-9a-f]+AXG[ \t]+.*
 
13
#...
 
14
  \[[ 0-9]+\] \.data.*[ \t]+PROGBITS[ \t0-9a-f]+WAG[ \t]+.*
 
15
#...
 
16
COMDAT group section \[[ 0-9]+\] `.group' \[.text.foo\] contains 2 sections:
 
17
   \[Index\]    Name
 
18
   \[[ 0-9]+\]   .text.*
 
19
   \[[ 0-9]+\]   .data.*
 
20
#pass