* ld-elfvers/vers.exp: Enable test for powerpc64.
authorAlan Modra <amodra@gmail.com>
Thu, 28 Oct 2010 09:08:35 +0000 (09:08 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 28 Oct 2010 09:08:35 +0000 (09:08 +0000)
* ld-elfweak/elfweak.exp: Likewise
* ld-shared/shared.exp: Likewise.  Xfail non-pic dso tests for ppc64.
* ld-elfvers/vers1.dsym, * ld-elfvers/vers1.sym,
* ld-elfvers/vers2.dsym, * ld-elfvers/vers3.dsym,
* ld-elfvers/vers4.sym, * ld-elfvers/vers4a.dsym,
* ld-elfvers/vers4a.sym, * ld-elfvers/vers6.dsym,
* ld-elfvers/vers6.sym, * ld-elfvers/vers7a.dsym,
* ld-elfvers/vers7a.sym, * ld-elfvers/vers9.dsym,
* ld-elfvers/vers9.sym, * ld-elfvers/vers15.dsym,
* ld-elfvers/vers15.sym, * ld-elfvers/vers16.dsym,
* ld-elfvers/vers16a.dsym, * ld-elfvers/vers17.dsym,
* ld-elfvers/vers18.dsym, * ld-elfvers/vers18.sym,
* ld-elfvers/vers19.dsym, * ld-elfvers/vers20.dsym,
* ld-elfvers/vers21.dsym, * ld-elfvers/vers21.sym,
* ld-elfvers/vers22.dsym, * ld-elfvers/vers22a.dsym,
* ld-elfvers/vers22a.sym, * ld-elfvers/vers22b.dsym,
* ld-elfvers/vers23.dsym, * ld-elfvers/vers23a.dsym,
* ld-elfvers/vers23a.sym, * ld-elfvers/vers23b.dsym,
* ld-elfvers/vers25a.dsym, * ld-elfvers/vers26a.dsym,
* ld-elfvers/vers27a.dsym, * ld-elfvers/vers27d.dsym,
* ld-elfvers/vers27d.sym, * ld-elfvers/vers27d4.dsym,
* ld-elfvers/vers28b.dsym, * ld-elfvers/vers28c.dsym,
* ld-elfvers/vers29.dsym, * ld-elfvers/vers30.dsym,
* ld-elfvers/vers31.dsym, * ld-elfvers/vers32a.dsym,
* ld-elfvers/vers32b.dsym, * ld-elfvers/vers32c.dsym,
* ld-elfweak/dso.dsym, * ld-elfweak/dsodata.dsym,
* ld-elfweak/dsow.dsym, * ld-elfweak/dsowdata.dsym,
* ld-elfweak/strong.sym, * ld-elfweak/strongcomm.sym,
* ld-elfweak/strongdata.sym, * ld-elfweak/weak.dsym,
* ld-elfweak/weakdata.dsym: Relax whitespace matching, tighten
non-whitespace matching.  Match powerpc64 functions in .opd section.
* ld-shared/elf-offset.ld: Place powerpc64 .toc sections.

59 files changed:
ld/testsuite/ld-elfvers/vers.exp
ld/testsuite/ld-elfvers/vers1.dsym
ld/testsuite/ld-elfvers/vers1.sym
ld/testsuite/ld-elfvers/vers15.dsym
ld/testsuite/ld-elfvers/vers15.sym
ld/testsuite/ld-elfvers/vers16.dsym
ld/testsuite/ld-elfvers/vers16a.dsym
ld/testsuite/ld-elfvers/vers17.dsym
ld/testsuite/ld-elfvers/vers18.dsym
ld/testsuite/ld-elfvers/vers18.sym
ld/testsuite/ld-elfvers/vers19.dsym
ld/testsuite/ld-elfvers/vers2.dsym
ld/testsuite/ld-elfvers/vers20.dsym
ld/testsuite/ld-elfvers/vers21.dsym
ld/testsuite/ld-elfvers/vers21.sym
ld/testsuite/ld-elfvers/vers22.dsym
ld/testsuite/ld-elfvers/vers22a.dsym
ld/testsuite/ld-elfvers/vers22a.sym
ld/testsuite/ld-elfvers/vers22b.dsym
ld/testsuite/ld-elfvers/vers23.dsym
ld/testsuite/ld-elfvers/vers23a.dsym
ld/testsuite/ld-elfvers/vers23a.sym
ld/testsuite/ld-elfvers/vers23b.dsym
ld/testsuite/ld-elfvers/vers25a.dsym
ld/testsuite/ld-elfvers/vers26a.dsym
ld/testsuite/ld-elfvers/vers27a.dsym
ld/testsuite/ld-elfvers/vers27d.dsym
ld/testsuite/ld-elfvers/vers27d.sym
ld/testsuite/ld-elfvers/vers27d4.dsym
ld/testsuite/ld-elfvers/vers28b.dsym
ld/testsuite/ld-elfvers/vers28c.dsym
ld/testsuite/ld-elfvers/vers29.dsym
ld/testsuite/ld-elfvers/vers3.dsym
ld/testsuite/ld-elfvers/vers30.dsym
ld/testsuite/ld-elfvers/vers31.dsym
ld/testsuite/ld-elfvers/vers32a.dsym
ld/testsuite/ld-elfvers/vers32b.dsym
ld/testsuite/ld-elfvers/vers32c.dsym
ld/testsuite/ld-elfvers/vers4.sym
ld/testsuite/ld-elfvers/vers4a.dsym
ld/testsuite/ld-elfvers/vers4a.sym
ld/testsuite/ld-elfvers/vers6.dsym
ld/testsuite/ld-elfvers/vers6.sym
ld/testsuite/ld-elfvers/vers7a.dsym
ld/testsuite/ld-elfvers/vers7a.sym
ld/testsuite/ld-elfvers/vers9.dsym
ld/testsuite/ld-elfvers/vers9.sym
ld/testsuite/ld-elfweak/dso.dsym
ld/testsuite/ld-elfweak/dsodata.dsym
ld/testsuite/ld-elfweak/dsow.dsym
ld/testsuite/ld-elfweak/dsowdata.dsym
ld/testsuite/ld-elfweak/elfweak.exp
ld/testsuite/ld-elfweak/strong.sym
ld/testsuite/ld-elfweak/strongcomm.sym
ld/testsuite/ld-elfweak/strongdata.sym
ld/testsuite/ld-elfweak/weak.dsym
ld/testsuite/ld-elfweak/weakdata.dsym
ld/testsuite/ld-shared/elf-offset.ld
ld/testsuite/ld-shared/shared.exp

index 15eafb8..e336f6a 100644 (file)
@@ -39,9 +39,9 @@ if { ![istarget hppa*64*-*-hpux*] \
      && ![istarget ia64-*-linux*] \
      && ![istarget m68k-*-linux*] \
      && ![istarget mips*-*-irix5*] \
-     && ![istarget powerpc-*-elf*] \
-     && ![istarget powerpc-*-linux*] \
-     && ![istarget powerpc-*-sysv4*] \
+     && ![istarget powerpc*-*-elf*] \
+     && ![istarget powerpc*-*-linux*] \
+     && ![istarget powerpc*-*-sysv4*] \
      && ![istarget sparc*-*-elf] \
      && ![istarget sparc*-*-solaris2*] \
      && ![istarget sparc*-*-linux*] \
index 834434b..d33ab20 100644 (file)
@@ -1,9 +1,9 @@
-[0]* g    DO \*ABS\*   [0]*  VERS_1.1    VERS_1.1
-[0]* g    DO \*ABS\*   [0]*  VERS_1.2    VERS_1.2
-[0]* g    DO \*ABS\*   [0]*  VERS_2.0    VERS_2.0
-[0-9a-f]* g    DF (.text|\*ABS\*)      [0-9a-f]* \(Base\)       (0x[0-9a-f][0-9a-f] )?show_foo
-[0-9a-f]* g    DF (.text|\*ABS\*)      [0-9a-f]* \(VERS_1.1\)   (0x[0-9a-f][0-9a-f] )?show_foo
-[0-9a-f]* g    DF (.text|\*ABS\*)      [0-9a-f]* \(VERS_1.2\)   (0x[0-9a-f][0-9a-f] )?show_foo
-[0-9a-f]* g    DF (.text|\*ABS\*)      [0-9a-f]*  VERS_2.0    (0x[0-9a-f][0-9a-f] )?show_foo
-[0-9a-f]* g    DO (.s?data|\*ABS\*)    [0-9a-f]*  VERS_2.0    show_bar1
-[0-9a-f]* g    DO (.s?data|\*ABS\*)    [0-9a-f]*  VERS_2.0    show_bar2
+0+ g +DO \*ABS\*       0+ +VERS_1\.1 +VERS_1\.1
+0+ g +DO \*ABS\*       0+ +VERS_1\.2 +VERS_1\.2
+0+ g +DO \*ABS\*       0+ +VERS_2\.0 +VERS_2\.0
+[0-9a-f]+ g +DF (\.text|\.opd|\*ABS\*) [0-9a-f]+ \(Base\) +(0x[0-9a-f]+ )?show_foo
+[0-9a-f]+ g +DF (\.text|\.opd|\*ABS\*) [0-9a-f]+ \(VERS_1\.1\) +(0x[0-9a-f]+ )?show_foo
+[0-9a-f]+ g +DF (\.text|\.opd|\*ABS\*) [0-9a-f]+ \(VERS_1\.2\) +(0x[0-9a-f]+ )?show_foo
+[0-9a-f]+ g +DF (\.text|\.opd|\*ABS\*) [0-9a-f]+ +VERS_2\.0 +(0x[0-9a-f]+ )?show_foo
+[0-9a-f]+ g +DO (\.s?data|\*ABS\*)     [0-9a-f]+ +VERS_2\.0 +show_bar1
+[0-9a-f]+ g +DO (\.s?data|\*ABS\*)     [0-9a-f]+ +VERS_2\.0 +show_bar2
index 70ff855..ed589e8 100644 (file)
@@ -1,4 +1,4 @@
-[0-9a-f]* g     F .text        [0-9a-f]* (0x[0-9a-f][0-9a-f] )?show_foo@
-[0-9a-f]* g     F .text        [0-9a-f]* (0x[0-9a-f][0-9a-f] )?show_foo@VERS_1.1
-[0-9a-f]* g     F .text        [0-9a-f]* (0x[0-9a-f][0-9a-f] )?show_foo@VERS_1.2
-[0-9a-f]* g     F .text        [0-9a-f]* (0x[0-9a-f][0-9a-f] )?show_foo@@VERS_2.0
+[0-9a-f]+ g +F \.(text|opd)    [0-9a-f]+ (0x[0-9a-f]+ )?show_foo@
+[0-9a-f]+ g +F \.(text|opd)    [0-9a-f]+ (0x[0-9a-f]+ )?show_foo@VERS_1\.1
+[0-9a-f]+ g +F \.(text|opd)    [0-9a-f]+ (0x[0-9a-f]+ )?show_foo@VERS_1\.2
+[0-9a-f]+ g +F \.(text|opd)    [0-9a-f]+ (0x[0-9a-f]+ )?show_foo@@VERS_2\.0
index 1f5e15c..fc4c996 100644 (file)
@@ -1,5 +1,5 @@
-[0]* g    DO \*ABS\*   [0]*  VERS_1.1    VERS_1.1
-[0]* g    DO \*ABS\*   [0]*  VERS_1.2    VERS_1.2
-[0-9a-f]* g    DF (.text|\*ABS\*)      [0-9a-f]* \(Base\)       (0x[0-9a-f][0-9a-f] )?show_foo
-[0-9a-f]* g    DF (.text|\*ABS\*)      [0-9a-f]* \(VERS_1.1\)   (0x[0-9a-f][0-9a-f] )?show_foo
-[0-9a-f]* g    DF (.text|\*ABS\*)      [0-9a-f]*  VERS_1.2    (0x[0-9a-f][0-9a-f] )?show_foo
+0+ g +DO \*ABS\*       0+ +VERS_1\.1 +VERS_1\.1
+0+ g +DO \*ABS\*       0+ +VERS_1\.2 +VERS_1\.2
+[0-9a-f]+ g +DF (\.text|\.opd|\*ABS\*) [0-9a-f]+ \(Base\) +(0x[0-9a-f]+ )?show_foo
+[0-9a-f]+ g +DF (\.text|\.opd|\*ABS\*) [0-9a-f]+ \(VERS_1\.1\) +(0x[0-9a-f]+ )?show_foo
+[0-9a-f]+ g +DF (\.text|\.opd|\*ABS\*) [0-9a-f]+ +VERS_1\.2 +(0x[0-9a-f]+ )?show_foo
index 87bab62..ba9f83e 100644 (file)
@@ -1,3 +1,3 @@
-[0-9a-f]* g     F .text        [0-9a-f]* (0x[0-9a-f][0-9a-f] )?show_foo@
-[0-9a-f]* g     F .text        [0-9a-f]* (0x[0-9a-f][0-9a-f] )?show_foo@VERS_1.1
-[0-9a-f]* g     F .text        [0-9a-f]* (0x[0-9a-f][0-9a-f] )?show_foo@@VERS_1.2
+[0-9a-f]+ g +F \.(text|opd)    [0-9a-f]+ (0x[0-9a-f]+ )?show_foo@
+[0-9a-f]+ g +F \.(text|opd)    [0-9a-f]+ (0x[0-9a-f]+ )?show_foo@VERS_1\.1
+[0-9a-f]+ g +F \.(text|opd)    [0-9a-f]+ (0x[0-9a-f]+ )?show_foo@@VERS_1\.2
index 6c424c3..6733ece 100644 (file)
@@ -1,2 +1,2 @@
-[0-9a-f]* g    DF (\.text|\*ABS\*)     [0-9a-f]*(  Base       )? (0x[0-9a-f][0-9a-f] )?show_bar
-[0-9a-f]*      DF \*UND\*      [0-9a-f]*(             )? (0x[0-9a-f][0-9a-f] )?show_foo
+[0-9a-f]+ g +DF (\.text|\.opd|\*ABS\*) [0-9a-f]+( +Base +)? (0x[0-9a-f]+ )?show_bar
+[0-9a-f]+ +DF \*UND\*  [0-9a-f]+ +(0x[0-9a-f]+ )?show_foo
index 058df47..aaca9f5 100644 (file)
@@ -1,3 +1,3 @@
-[0-9a-f]* g    DO (\.text|\*ABS\*)     [0-9a-f]*  VERS_1\.1    VERS_1\.1
-[0-9a-f]* g    DF (\.text|\*ABS\*)     [0-9a-f]*  VERS_1\.1    (0x[0-9a-f][0-9a-f] )?show_bar
-[0-9a-f]* g    DF (\.text|\*ABS\*)     [0-9a-f]*  Base        (0x[0-9a-f][0-9a-f] )?show_foo
+[0-9a-f]+ g +DO (\.text|\.opd|\*ABS\*) [0-9a-f]+ +VERS_1\.1 +VERS_1\.1
+[0-9a-f]+ g +DF (\.text|\.opd|\*ABS\*) [0-9a-f]+ +VERS_1\.1 +(0x[0-9a-f]+ )?show_bar
+[0-9a-f]+ g +DF (\.text|\.opd|\*ABS\*) [0-9a-f]+ +Base +(0x[0-9a-f]+ )?show_foo
index 8decc0a..9810659 100644 (file)
@@ -1,2 +1,2 @@
-[0]* g    DO \*ABS\*   [0]*  VERS_2.0    VERS_2.0
-[0-9a-f]* g    DF (.text|\*ABS\*)      [0-9a-f]*  VERS_2.0    (0x[0-9a-f][0-9a-f] )?show_foo
+0+ g +DO \*ABS\*       0+ +VERS_2\.0 +VERS_2\.0
+[0-9a-f]+ g +DF (\.text|\.opd|\*ABS\*) [0-9a-f]+ +VERS_2\.0 +(0x[0-9a-f]+ )?show_foo
index c60237a..49bd7b2 100644 (file)
@@ -1,7 +1,7 @@
-[0]* g    DO \*ABS\*   [0]*  VERS_1.1    VERS_1.1
-[0]* g    DO \*ABS\*   [0]*  VERS_1.2    VERS_1.2
-[0]* g    DO \*ABS\*   [0]*  VERS_2.0    VERS_2.0
-[0-9a-f]*  w   DF (.text|\*ABS\*)      [0-9a-f]* \(Base\)       (0x[0-9a-f][0-9a-f] )?show_foo
-[0-9a-f]*  w   DF (.text|\*ABS\*)      [0-9a-f]* \(VERS_1.1\)   (0x[0-9a-f][0-9a-f] )?show_foo
-[0-9a-f]*  w   DF (.text|\*ABS\*)      [0-9a-f]* \(VERS_1.2\)   (0x[0-9a-f][0-9a-f] )?show_foo
-[0-9a-f]*  w   DF (.text|\*ABS\*)      [0-9a-f]*  VERS_2.0    (0x[0-9a-f][0-9a-f] )?show_foo
+0+ g +DO \*ABS\*       0+ +VERS_1\.1 +VERS_1\.1
+0+ g +DO \*ABS\*       0+ +VERS_1\.2 +VERS_1\.2
+0+ g +DO \*ABS\*       0+ +VERS_2\.0 +VERS_2\.0
+[0-9a-f]+ +w +DF (\.text|\.opd|\*ABS\*)        [0-9a-f]+ \(Base\) +(0x[0-9a-f]+ )?show_foo
+[0-9a-f]+ +w +DF (\.text|\.opd|\*ABS\*)        [0-9a-f]+ \(VERS_1\.1\) +(0x[0-9a-f]+ )?show_foo
+[0-9a-f]+ +w +DF (\.text|\.opd|\*ABS\*)        [0-9a-f]+ \(VERS_1\.2\) +(0x[0-9a-f]+ )?show_foo
+[0-9a-f]+ +w +DF (\.text|\.opd|\*ABS\*)        [0-9a-f]+ +VERS_2\.0 +(0x[0-9a-f]+ )?show_foo
index f9cefdf..bcc8882 100644 (file)
@@ -1,4 +1,4 @@
-[0-9a-f]*  w    F .text        [0-9a-f]* (0x[0-9a-f][0-9a-f] )?show_foo@
-[0-9a-f]*  w    F .text        [0-9a-f]* (0x[0-9a-f][0-9a-f] )?show_foo@VERS_1.1
-[0-9a-f]*  w    F .text        [0-9a-f]* (0x[0-9a-f][0-9a-f] )?show_foo@VERS_1.2
-[0-9a-f]*  w    F .text        [0-9a-f]* (0x[0-9a-f][0-9a-f] )?show_foo@@VERS_2.0
+[0-9a-f]+ +w +F \.(text|opd)   [0-9a-f]+ (0x[0-9a-f]+ )?show_foo@
+[0-9a-f]+ +w +F \.(text|opd)   [0-9a-f]+ (0x[0-9a-f]+ )?show_foo@VERS_1\.1
+[0-9a-f]+ +w +F \.(text|opd)   [0-9a-f]+ (0x[0-9a-f]+ )?show_foo@VERS_1\.2
+[0-9a-f]+ +w +F \.(text|opd)   [0-9a-f]+ (0x[0-9a-f]+ )?show_foo@@VERS_2\.0
index c9c2642..7396dee 100644 (file)
@@ -1 +1 @@
-[0-9a-f]*      DF \*UND\*      [0-9a-f]*  VERS_2.0    (0x[0-9a-f][0-9a-f] )?show_foo
+[0-9a-f]+ +DF \*UND\*  [0-9a-f]+ +VERS_2\.0 +(0x[0-9a-f]+ )?show_foo
index 99985c2..63f15db 100644 (file)
@@ -1,3 +1,3 @@
-[0-9a-f]*      DF \*UND\*      [0-9a-f]*  VERS_2.0    (0x[0-9a-f][0-9a-f] )?show_foo
-[0]* g    DO \*ABS\*   [0]*  VERS_XXX_1.1 VERS_XXX_1.1
-[0-9a-f]* g    DF (.text|\*ABS\*)      [0-9a-f]*  VERS_XXX_1.1 (0x[0-9a-f][0-9a-f] )?show_xyzzy
+[0-9a-f]+ +DF \*UND\*  [0-9a-f]+ +VERS_2\.0 +(0x[0-9a-f]+ )?show_foo
+0+ g +DO \*ABS\*       0+ +VERS_XXX_1\.1 VERS_XXX_1\.1
+[0-9a-f]+ g +DF (\.text|\.opd|\*ABS\*) [0-9a-f]+ +VERS_XXX_1\.1 (0x[0-9a-f]+ )?show_xyzzy
index 70aa05e..559170c 100644 (file)
@@ -1,2 +1,2 @@
-[0]*[  ]+g[    ]+DO[   ]+\*ABS\*[      ]+[0]*[         ]+VERS_1.1[     ]+VERS_1.1
-[0-9a-f]*[     ]+g[    ]+DO[   ]+.(s|)bss[     ]+[0-9a-f]*[    ]+VERS_1.1[     ]+show_foo
+0+[    ]+g[    ]+DO[   ]+\*ABS\*[      ]+0+[   ]+VERS_1\.1[    ]+VERS_1\.1
+[0-9a-f]+[     ]+g[    ]+DO[   ]+\.s?bss[      ]+[0-9a-f]+[    ]+VERS_1\.1[    ]+show_foo
index 2096b5d..4cb2188 100644 (file)
@@ -1,4 +1,4 @@
-[0]*[  ]+g[    ]+DO[   ]+\*ABS\*[      ]+[0]*[         ]+VERS.0[       ]+VERS.0
-[0-9a-f]*[     ]+w[    ]+DF[   ]+.text[        ]+[0-9a-f]*[    ]+\(VERS.0\)[   ]+(0x[0-9a-f]*|)[       ]*bar
-[0-9a-f]*[     ]+g[    ]+DF[   ]+.text[        ]+[0-9a-f]*[    ]+\(VERS.0\)[   ]+(0x[0-9a-f]*|)[       ]*foo
-[0-9a-f]*[     ]+g[    ]+DO[   ]+.s?data[      ]+[0-9a-f]*[    ]+\(VERS.0\)[   ]+foobar
+0+[    ]+g[    ]+DO[   ]+\*ABS\*[      ]+0+[   ]+VERS\.0[      ]+VERS\.0
+[0-9a-f]+[     ]+w[    ]+DF[   ]+\.(text|opd)[ ]+[0-9a-f]+[    ]+\(VERS\.0\)[  ]+(0x[0-9a-f]+|)[       ]*bar
+[0-9a-f]+[     ]+g[    ]+DF[   ]+\.(text|opd)[ ]+[0-9a-f]+[    ]+\(VERS\.0\)[  ]+(0x[0-9a-f]+|)[       ]*foo
+[0-9a-f]+[     ]+g[    ]+DO[   ]+\.s?data[     ]+[0-9a-f]+[    ]+\(VERS\.0\)[  ]+foobar
index bcb6359..e7de74f 100644 (file)
@@ -1,3 +1,3 @@
-[0-9a-f]*[     ]+g[    ]+O[    ]+.s?data[      ]+[0-9a-f]* (0x[0-9a-f][0-9a-f] )?foobar@VERS.0
-[0-9a-f]*[     ]+w[    ]+F[    ]+.text[        ]+[0-9a-f]* (0x[0-9a-f][0-9a-f] )?bar@VERS.0
-[0-9a-f]*[     ]+g[    ]+F[    ]+.text[        ]+[0-9a-f]* (0x[0-9a-f][0-9a-f] )?foo@VERS.0
+[0-9a-f]+[     ]+g[    ]+O[    ]+\.s?data[     ]+[0-9a-f]+ (0x[0-9a-f]+ )?foobar@VERS\.0
+[0-9a-f]+[     ]+w[    ]+F[    ]+\.(text|opd)[         ]+[0-9a-f]+ (0x[0-9a-f]+ )?bar@VERS\.0
+[0-9a-f]+[     ]+g[    ]+F[    ]+\.(text|opd)[         ]+[0-9a-f]+ (0x[0-9a-f]+ )?foo@VERS\.0
index bef7c56..5dfa465 100644 (file)
@@ -1 +1 @@
-[0-9a-f]*      DF \*UND\*      [0-9a-f]*  VERS.0      (0x[0-9a-f][0-9a-f] )?bar
+[0-9a-f]+ +DF \*UND\*  [0-9a-f]+ +VERS\.0 +(0x[0-9a-f]+ )?bar
index b710e71..af06123 100644 (file)
@@ -1,2 +1,2 @@
-[0]*[  ]+g[    ]+DO[   ]+\*ABS\*[      ]+[0]*[         ]+VERS.0[       ]+VERS.0
-[0-9a-f]*[     ]+g[    ]+DF[   ]+.text[        ]+[0-9a-f]*[    ]+\(VERS.0\)[   ]+(0x[0-9a-f]*|)[       ]*bar
+0+[    ]+g[    ]+DO[   ]+\*ABS\*[      ]+0+[   ]+VERS\.0[      ]+VERS\.0
+[0-9a-f]+[     ]+g[    ]+DF[   ]+\.(text|opd)[ ]+[0-9a-f]+[    ]+\(VERS\.0\)[  ]+(0x[0-9a-f]+ )?bar
index 39fd10a..ff07708 100644 (file)
@@ -1 +1 @@
-[0-9a-f]*[     ]+g[    ]+F[    ]+.text[        ]+[0-9a-f]* (0x[0-9a-f][0-9a-f] )?bar@VERS.0
+[0-9a-f]+[     ]+g[    ]+F[    ]+\.(text|opd)[         ]+[0-9a-f]+ (0x[0-9a-f]+ )?bar@VERS.0
index 25d78fa..88c31b3 100644 (file)
@@ -1,2 +1,2 @@
-[0]*[  ]+g[    ]+DO[   ]+\*ABS\*[      ]+[0]*[         ]+VERS.0[       ]+VERS.0
-[0-9a-f]*[     ]+g[    ]+DF[   ]+.text[        ]+[0-9a-f]*[    ]+VERS.0[       ]+(0x[0-9a-f]*|)[       ]*bar
+0+[    ]+g[    ]+DO[   ]+\*ABS\*[      ]+0+[   ]+VERS\.0[      ]+VERS\.0
+[0-9a-f]+[     ]+g[    ]+DF[   ]+\.(text|opd)[ ]+[0-9a-f]+[    ]+VERS\.0[      ]+(0x[0-9a-f]+ )?bar
index d800afa..8c85a4a 100644 (file)
@@ -1 +1 @@
-[0-9a-f]*      DF \*UND\*      [0-9a-f]*  VERS.0      (0x[0-9a-f][0-9a-f] )?foo
+[0-9a-f]+ +DF \*UND\*  [0-9a-f]+ +VERS\.0 +(0x[0-9a-f]+ )?foo
index c96aa2f..4450665 100644 (file)
@@ -1,3 +1,3 @@
-[0]*[  ]+g[    ]+DO[   ]+\*ABS\*[      ]+[0]*[         ]+VERS.0[       ]+VERS.0
-[0-9a-f]*[     ]+g[    ]+DF[   ]+.text[        ]+[0-9a-f]*[    ]+\(VERS.0\)[   ]+(0x[0-9a-f]*|)[       ]*bar
-[0-9a-f]*[     ]+g[    ]+DF[   ]+.text[        ]+[0-9a-f]*[    ]+VERS.0[       ]+(0x[0-9a-f]*|)[       ]*foo
+0+[    ]+g[    ]+DO[   ]+\*ABS\*[      ]+0+[   ]+VERS\.0[      ]+VERS\.0
+[0-9a-f]+[     ]+g[    ]+DF[   ]+\.(text|opd)[ ]+[0-9a-f]+[    ]+\(VERS\.0\)[  ]+(0x[0-9a-f]+ )?bar
+[0-9a-f]+[     ]+g[    ]+DF[   ]+\.(text|opd)[ ]+[0-9a-f]+[    ]+VERS\.0[      ]+(0x[0-9a-f]+ )?foo
index 39fd10a..ff07708 100644 (file)
@@ -1 +1 @@
-[0-9a-f]*[     ]+g[    ]+F[    ]+.text[        ]+[0-9a-f]* (0x[0-9a-f][0-9a-f] )?bar@VERS.0
+[0-9a-f]+[     ]+g[    ]+F[    ]+\.(text|opd)[         ]+[0-9a-f]+ (0x[0-9a-f]+ )?bar@VERS.0
index 25d78fa..88c31b3 100644 (file)
@@ -1,2 +1,2 @@
-[0]*[  ]+g[    ]+DO[   ]+\*ABS\*[      ]+[0]*[         ]+VERS.0[       ]+VERS.0
-[0-9a-f]*[     ]+g[    ]+DF[   ]+.text[        ]+[0-9a-f]*[    ]+VERS.0[       ]+(0x[0-9a-f]*|)[       ]*bar
+0+[    ]+g[    ]+DO[   ]+\*ABS\*[      ]+0+[   ]+VERS\.0[      ]+VERS\.0
+[0-9a-f]+[     ]+g[    ]+DF[   ]+\.(text|opd)[ ]+[0-9a-f]+[    ]+VERS\.0[      ]+(0x[0-9a-f]+ )?bar
index fcf6384..6e6573a 100644 (file)
@@ -1,2 +1,2 @@
-[0]*[  ]+g[    ]+DO[   ]+\*ABS\*[      ]+[0]*[         ]+VERS.0[       ]+VERS.0
-[0-9a-f]*[     ]+g[    ]+DF[   ]+.text[        ]+[0-9a-f]*[    ]+VERS.0[       ]+(0x[0-9a-f]*|)[       ]*foo
+0+[    ]+g[    ]+DO[   ]+\*ABS\*[      ]+0+[   ]+VERS\.0[      ]+VERS\.0
+[0-9a-f]+[     ]+g[    ]+DF[   ]+\.(text|opd)[ ]+[0-9a-f]+[    ]+VERS\.0[      ]+(0x[0-9a-f]+ )?foo
index fcf6384..6e6573a 100644 (file)
@@ -1,2 +1,2 @@
-[0]*[  ]+g[    ]+DO[   ]+\*ABS\*[      ]+[0]*[         ]+VERS.0[       ]+VERS.0
-[0-9a-f]*[     ]+g[    ]+DF[   ]+.text[        ]+[0-9a-f]*[    ]+VERS.0[       ]+(0x[0-9a-f]*|)[       ]*foo
+0+[    ]+g[    ]+DO[   ]+\*ABS\*[      ]+0+[   ]+VERS\.0[      ]+VERS\.0
+[0-9a-f]+[     ]+g[    ]+DF[   ]+\.(text|opd)[ ]+[0-9a-f]+[    ]+VERS\.0[      ]+(0x[0-9a-f]+ )?foo
index fcf6384..6e6573a 100644 (file)
@@ -1,2 +1,2 @@
-[0]*[  ]+g[    ]+DO[   ]+\*ABS\*[      ]+[0]*[         ]+VERS.0[       ]+VERS.0
-[0-9a-f]*[     ]+g[    ]+DF[   ]+.text[        ]+[0-9a-f]*[    ]+VERS.0[       ]+(0x[0-9a-f]*|)[       ]*foo
+0+[    ]+g[    ]+DO[   ]+\*ABS\*[      ]+0+[   ]+VERS\.0[      ]+VERS\.0
+[0-9a-f]+[     ]+g[    ]+DF[   ]+\.(text|opd)[ ]+[0-9a-f]+[    ]+VERS\.0[      ]+(0x[0-9a-f]+ )?foo
index 9813d95..58b56e8 100644 (file)
@@ -1,2 +1,2 @@
-[0]*[  ]+g[    ]+DO[   ]+\*ABS\*[      ]+[0]*[         ]+VERS.0[       ]+VERS.0
-[0-9a-f]*[     ]+g[    ]+DF[   ]+.text[        ]+[0-9a-f]*[    ]+\(VERS.0\)[   ]+(0x[0-9a-f]*|)[       ]*foo
+0+[    ]+g[    ]+DO[   ]+\*ABS\*[      ]+0+[   ]+VERS\.0[      ]+VERS\.0
+[0-9a-f]+[     ]+g[    ]+DF[   ]+\.(text|opd)[ ]+[0-9a-f]+[    ]+\(VERS\.0\)[  ]+(0x[0-9a-f]+ )?foo
index 2069993..d4946f5 100644 (file)
@@ -1 +1 @@
-[0-9a-f]*[     ]+g[    ]+F[    ]+.text[        ]+[0-9a-f]* (0x[0-9a-f][0-9a-f] )?foo@VERS.0
+[0-9a-f]+[     ]+g[    ]+F[    ]+\.(text|opd)[         ]+[0-9a-f]+ (0x[0-9a-f]+ )?foo@VERS\.0
index d800afa..8c85a4a 100644 (file)
@@ -1 +1 @@
-[0-9a-f]*      DF \*UND\*      [0-9a-f]*  VERS.0      (0x[0-9a-f][0-9a-f] )?foo
+[0-9a-f]+ +DF \*UND\*  [0-9a-f]+ +VERS\.0 +(0x[0-9a-f]+ )?foo
index e174c91..750ee88 100644 (file)
@@ -1,2 +1,2 @@
-[0]*[  ]+g[    ]+DO[   ]+\*ABS\*[      ]+[0]*[         ]+VERS.0[       ]+VERS.0
-[0-9a-f]*[     ]+w[    ]+DF[   ]+.text[        ]+[0-9a-f]*[    ]+VERS.0[       ]+(0x[0-9a-f]*|)[       ]*foo
+0+[    ]+g[    ]+DO[   ]+\*ABS\*[      ]+0+[   ]+VERS\.0[      ]+VERS\.0
+[0-9a-f]+[     ]+w[    ]+DF[   ]+\.(text|opd)[ ]+[0-9a-f]+[    ]+VERS\.0[      ]+(0x[0-9a-f]+ )?foo
index 37a1c43..99f6d88 100644 (file)
@@ -1 +1 @@
-[0-9a-f]*[     ]+DF[   ]+\*UND\*[      ]+[0-9a-f]*[    ]+VERS.0[       ]+(0x[0-9a-f]*|)[       ]*foo
+[0-9a-f]+[     ]+DF[   ]+\*UND\*[      ]+[0-9a-f]+[    ]+VERS\.0[      ]+(0x[0-9a-f]+ )?foo
index 2e7bbde..ed8a230 100644 (file)
@@ -1 +1 @@
-[0-9a-f]*[     ]+g[    ]+DF[   ]+.text[        ]+[0-9a-f]*[    ]+vers29.so[    ]+(0x[0-9a-f]*|)[       ]*show
+[0-9a-f]+[     ]+g[    ]+DF[   ]+\.(text|opd)[ ]+[0-9a-f]+[    ]+vers29\.so[   ]+(0x[0-9a-f]+ )?show
index c9c2642..7396dee 100644 (file)
@@ -1 +1 @@
-[0-9a-f]*      DF \*UND\*      [0-9a-f]*  VERS_2.0    (0x[0-9a-f][0-9a-f] )?show_foo
+[0-9a-f]+ +DF \*UND\*  [0-9a-f]+ +VERS_2\.0 +(0x[0-9a-f]+ )?show_foo
index 1f358d4..ddb21eb 100644 (file)
@@ -1,5 +1,5 @@
-[0]* g    DO \*ABS\*   [0]*  VERS_30.0   VERS_30.0
-[0-9a-f]* g    DF (.text|\*ABS\*)      [0-9a-f]*  VERS_30.0   global
-[0-9a-f]* g    DF (.text|\*ABS\*)      [0-9a-f]*  VERS_30.0   foo
-[0-9a-f]* g    DF (.text|\*ABS\*)      [0-9a-f]*  VERS_30.0   info
-[0-9a-f]* g    DF (.text|\*ABS\*)      [0-9a-f]*  VERS_30.0   extern
+0+ g    DO \*ABS\*     0+  VERS_30\.0   VERS_30\.0
+[0-9a-f]+ g    DF (\.text|\.opd|\*ABS\*)       [0-9a-f]+  VERS_30\.0   global
+[0-9a-f]+ g    DF (\.text|\.opd|\*ABS\*)       [0-9a-f]+  VERS_30\.0   foo
+[0-9a-f]+ g    DF (\.text|\.opd|\*ABS\*)       [0-9a-f]+  VERS_30\.0   info
+[0-9a-f]+ g    DF (\.text|\.opd|\*ABS\*)       [0-9a-f]+  VERS_30\.0   extern
index 8924ed8..72dec06 100644 (file)
@@ -1,2 +1,2 @@
-[0]* g    DO \*ABS\*   [0]*  VERS_31.0   VERS_31.0
-[0-9a-f]* g    DF (.text|\*ABS\*)      [0-9a-f]*  VERS_31.0   _Z1fIA3_icEvPT_T0
+0+ g +DO \*ABS\*       0+ +VERS_31\.0 +VERS_31\.0
+[0-9a-f]+ g +DF (\.text|\.opd|\*ABS\*) [0-9a-f]+ +VERS_31\.0 +_Z1fIA3_icEvPT_T0
index 14f15d4..47d1b06 100644 (file)
@@ -1,2 +1,2 @@
-[0]* g    DO \*ABS\*   [0]*  VERS_1      VERS_1
-[0-9a-f]* g    DF (.text|\*ABS\*)      [0-9a-f]*  VERS_1      (0x[0-9a-f][0-9a-f] )?foo
+0+ g +DO \*ABS\*       0+ +VERS_1 +VERS_1
+[0-9a-f]+ g +DF (\.text|\.opd|\*ABS\*) [0-9a-f]+ +VERS_1 +(0x[0-9a-f]+ )?foo
index 8cc620c..88b3474 100644 (file)
@@ -1,2 +1,2 @@
-[0-9a-f]* g    D  \*ABS\*      [0-9a-f]*  VERS_1      (0x[0-9a-f][0-9a-f] )?foo
-[0]* g    DO \*ABS\*   [0]*  VERS_1      VERS_1
+[0-9a-f]+ g +D +\*ABS\*        [0-9a-f]+ +VERS_1 +(0x[0-9a-f]+ )?foo
+0+ g +DO \*ABS\*       0+ +VERS_1 +VERS_1
index 70c7428..6363ae6 100644 (file)
@@ -1,2 +1,2 @@
-[0-9a-f]* g    DF \*ABS\*      [0-9a-f]*  VERS_1      (0x[0-9a-f][0-9a-f] )?foo
-[0]* g    DO \*ABS\*   [0]*  VERS_1      VERS_1
+[0-9a-f]+ g +DF \*ABS\*        [0-9a-f]+ +VERS_1 +(0x[0-9a-f]+ )?foo
+0+ g +DO \*ABS\*       0+ +VERS_1 +VERS_1
index 7449446..395e699 100644 (file)
@@ -1 +1 @@
-[0-9a-f]* g     F .text        [0-9a-f]* (0x[0-9a-f][0-9a-f] )?foo@@VERS_2.0
+[0-9a-f]+ g +F \.(text|opd)    [0-9a-f]+ (0x[0-9a-f]+ )?foo@@VERS_2\.0
index f7f9fda..a7efb0a 100644 (file)
@@ -1,2 +1,2 @@
-[0]* g    DO \*ABS\*   [0]*  VERS_2.0    VERS_2.0
-[0-9a-f]* g    DF (.text|\*ABS\*)      [0-9a-f]*  VERS_2.0    (0x[0-9a-f][0-9a-f] )?foo
+0+ g    DO \*ABS\*     0+  VERS_2\.0    VERS_2\.0
+[0-9a-f]+ g    DF (\.text|\.opd|\*ABS\*)       [0-9a-f]+  VERS_2\.0    (0x[0-9a-f]+ )?foo
index 7449446..395e699 100644 (file)
@@ -1 +1 @@
-[0-9a-f]* g     F .text        [0-9a-f]* (0x[0-9a-f][0-9a-f] )?foo@@VERS_2.0
+[0-9a-f]+ g +F \.(text|opd)    [0-9a-f]+ (0x[0-9a-f]+ )?foo@@VERS_2\.0
index 7e851d4..79e9061 100644 (file)
@@ -1,4 +1,4 @@
-[0-9a-f]*      DF \*UND\*      [0-9a-f]*              (0x[0-9a-f][0-9a-f] )?show_foo
-[0-9a-f]*      DF \*UND\*      [0-9a-f]*  VERS_2.0    (0x[0-9a-f][0-9a-f] )?show_foo
-[0-9a-f]*      DF \*UND\*      [0-9a-f]*  VERS_1.2    (0x[0-9a-f][0-9a-f] )?show_foo
-[0-9a-f]*      DF \*UND\*      [0-9a-f]*  VERS_1.1    (0x[0-9a-f][0-9a-f] )?show_foo
+[0-9a-f]+ +DF \*UND\*  [0-9a-f]+ +(0x[0-9a-f]+ )?show_foo
+[0-9a-f]+ +DF \*UND\*  [0-9a-f]+ +VERS_2.0 +(0x[0-9a-f]+ )?show_foo
+[0-9a-f]+ +DF \*UND\*  [0-9a-f]+ +VERS_1.2 +(0x[0-9a-f]+ )?show_foo
+[0-9a-f]+ +DF \*UND\*  [0-9a-f]+ +VERS_1.1 +(0x[0-9a-f]+ )?show_foo
index d7b5cc7..801f7b3 100644 (file)
@@ -1,4 +1,4 @@
-[0]* *F? *\*UND\*      [0]* show_foo@
-[0]* *F? *\*UND\*      [0]* show_foo@VERS_1.1
-[0]* *F? *\*UND\*      [0]* show_foo@VERS_1.2
-[0]* *F? *\*UND\*      [0]* show_foo@VERS_2.0
+0+ *F? *\*UND\*        0+ show_foo@
+0+ *F? *\*UND\*        0+ show_foo@VERS_1\.1
+0+ *F? *\*UND\*        0+ show_foo@VERS_1\.2
+0+ *F? *\*UND\*        0+ show_foo@VERS_2\.0
index 06696c7..8434925 100644 (file)
@@ -1,2 +1,2 @@
-[0]* g    DO \*ABS\*   [0]*  VERS_1      VERS_1
-[0-9a-f]* g    DF (.text|\*ABS\*)      [0-9a-f]*  VERS_1      (0x[0-9a-f][0-9a-f] )?show_b
+0+ g +DO \*ABS\*       0+ +VERS_1 +VERS_1
+[0-9a-f]+ g +DF (\.text|\.opd|\*ABS\*) [0-9a-f]+ +VERS_1 +(0x[0-9a-f]+ )?show_b
index b99bd61..94d9312 100644 (file)
@@ -1,2 +1,2 @@
-[0-9a-f]* g     F .text        [0-9a-f]* (0x[0-9a-f][0-9a-f] )?hide_a@@VERS_1
-[0-9a-f]* g     F .text        [0-9a-f]* (0x[0-9a-f][0-9a-f] )?show_b@@VERS_1
+[0-9a-f]+ g +F \.(text|opd)    [0-9a-f]+ (0x[0-9a-f]+ )?hide_a@@VERS_1
+[0-9a-f]+ g +F \.(text|opd)    [0-9a-f]+ (0x[0-9a-f]+ )?show_b@@VERS_1
index 9793002..5443e67 100644 (file)
@@ -1,4 +1,4 @@
-[0]* g    DO \*ABS\*   [0]*  VERS_1.1    VERS_1.1
-[0]* g    DO \*ABS\*   [0]*  VERS_1.2    VERS_1.2
-[0-9a-f]* g    DF (.text|\*ABS\*)      [0-9a-f]* \(VERS_1.1\)   (0x[0-9a-f][0-9a-f] )?foo
-[0-9a-f]* g    DF (.text|\*ABS\*)      [0-9a-f]*  VERS_1.2    (0x[0-9a-f][0-9a-f] )?foo
+0+ g +DO \*ABS\*       0+ +VERS_1\.1 +VERS_1\.1
+0+ g +DO \*ABS\*       0+ +VERS_1\.2 +VERS_1\.2
+[0-9a-f]+ g +DF (\.text|\.opd|\*ABS\*) [0-9a-f]+ \(VERS_1\.1\) +(0x[0-9a-f]+ )?foo
+[0-9a-f]+ g +DF (\.text|\.opd|\*ABS\*) [0-9a-f]+ +VERS_1\.2 +(0x[0-9a-f]+ )?foo
index 8231516..6d6585f 100644 (file)
@@ -1,4 +1,4 @@
-[0]* *F? *\*UND\*      [0]* foo@VERS_1.2
-[0-9a-f]* g     F .text        [0-9a-f]* (0x[0-9a-f][0-9a-f] )?foo@
-[0-9a-f]* g     F .text        [0-9a-f]* (0x[0-9a-f][0-9a-f] )?foo@VERS_1.1
-[0-9a-f]* g     F .text        [0-9a-f]* (0x[0-9a-f][0-9a-f] )?foo@@VERS_1.2
+0+ *F? *\*UND\*        0+ foo@VERS_1\.2
+[0-9a-f]+ g +F \.(text|opd)    [0-9a-f]+ (0x[0-9a-f]+ )?foo@
+[0-9a-f]+ g +F \.(text|opd)    [0-9a-f]+ (0x[0-9a-f]+ )?foo@VERS_1\.1
+[0-9a-f]+ g +F \.(text|opd)    [0-9a-f]+ (0x[0-9a-f]+ )?foo@@VERS_1\.2
index be1b186..f69c29b 100644 (file)
@@ -1 +1 @@
-[0-9a-f]*[     ]+g[    ]+DF[   ]+.text[        ]+[0-9a-f]*[    ]+(Base[        ]+|[    ]*)(0x[0-9a-f]+|)[      ]*foo
+[0-9a-f]+[     ]+g[    ]+DF[   ]+\.(text|opd)[ ]+[0-9a-f]+[    ]+(Base[        ]+|[    ]*)(0x[0-9a-f]+ )?foo
index 2b1f934..d4a09cc 100644 (file)
@@ -1,2 +1,2 @@
-[0-9a-f]*[     ]+g[    ]+DO[   ]+.(s|)(data|bss)[      ]+[0-9a-f]*[    ]+(Base[        ]+|[    ]*)deallocate_foo
-[0-9a-f]*[     ]+g[    ]+DF[   ]+.text[        ]+[0-9a-f]*[    ]+(Base[        ]+|[    ]*)(0x[0-9a-f]*|)[      ]*foo
+[0-9a-f]+[     ]+g[    ]+DO[   ]+\.s?(data|bss)[       ]+[0-9a-f]+[    ]+(Base[        ]+|[    ]*)deallocate_foo
+[0-9a-f]+[     ]+g[    ]+DF[   ]+\.(text|opd)[ ]+[0-9a-f]+[    ]+(Base[        ]+|[    ]*)(0x[0-9a-f]+ )?foo
index cc36c6f..e3aa87a 100644 (file)
@@ -1 +1 @@
-[0-9a-f]*[     ]+w[    ]+DF[   ]+.text[        ]+[0-9a-f]*[    ]+(Base[        ]+|[    ]*)(0x[0-9a-f]+|)[      ]*foo
+[0-9a-f]+[     ]+w[    ]+DF[   ]+\.(text|opd)[ ]+[0-9a-f]+[    ]+(Base[        ]+|[    ]*)(0x[0-9a-f]+ )?foo
index e0f579a..5fdc694 100644 (file)
@@ -1 +1 @@
-[0-9a-f]*[     ]+w[    ]+DO[   ]+.(s|)data[    ]+[0-9a-f]*[    ]+(Base[        ]+|[    ]*)deallocate_foo
+[0-9a-f]+[     ]+w[    ]+DO[   ]+\.s?data[     ]+[0-9a-f]+[    ]+(Base[        ]+|[    ]*)deallocate_foo
index 4953b91..cac613b 100644 (file)
@@ -41,9 +41,9 @@ if {    ![istarget alpha*-*-linux*] \
      && ![istarget m68k-*-linux*] \
      && ![istarget mips*-*-irix5*] \
      && ![istarget mips*-*-linux*] \
-     && ![istarget powerpc-*-elf*] \
-     && ![istarget powerpc-*-linux*] \
-     && ![istarget powerpc-*-sysv4*] \
+     && ![istarget powerpc*-*-elf*] \
+     && ![istarget powerpc*-*-linux*] \
+     && ![istarget powerpc*-*-sysv4*] \
      && ![istarget sh\[34\]*-*-linux*] \
      && ![istarget sparc*-*-elf] \
      && ![istarget sparc*-*-solaris2*] \
index 85e06f7..531d358 100644 (file)
@@ -1 +1 @@
-[0-9a-f]*[     ]+g[    ]+F[    ]+.text[        ]+[0-9a-f]*[    ]+(0x[0-9a-f]*|)[       ]*foo
+[0-9a-f]+[     ]+g[    ]+F[    ]+\.(text|opd)[ ]+[0-9a-f]+[    ]+(0x[0-9a-f]+ )?foo
index c0ae401..2a8c6cd 100644 (file)
@@ -1,2 +1,2 @@
-[0-9a-f]*[     ]+g[    ]+O[    ]+.(s|)bss[     ]+[0-9a-f]*[    ]+deallocate_foo
-[0-9a-f]*[     ]+g[    ]+F[    ]+.text[        ]+[0-9a-f]*[    ]+(0x[0-9a-f]*|)[       ]*foo
+[0-9a-f]+[     ]+g[    ]+O[    ]+\.s?bss[      ]+[0-9a-f]+[    ]+deallocate_foo
+[0-9a-f]+[     ]+g[    ]+F[    ]+\.(text|opd)[ ]+[0-9a-f]+[    ]+(0x[0-9a-f]+ )?foo
index 9b94377..88aa1c9 100644 (file)
@@ -1,2 +1,2 @@
-[0-9a-f]*[     ]+g[    ]+O[    ]+.(s|)(data|bss)[      ]+[0-9a-f]*[    ]+deallocate_foo
-[0-9a-f]*[     ]+g[    ]+F[    ]+.text[        ]+[0-9a-f]*[    ]+(0x[0-9a-f]*|)[       ]*foo
+[0-9a-f]+[     ]+g[    ]+O[    ]+\.s?(data|bss)[       ]+[0-9a-f]+[    ]+deallocate_foo
+[0-9a-f]+[     ]+g[    ]+F[    ]+\.(text|opd)[ ]+[0-9a-f]+[    ]+(0x[0-9a-f]+ )?foo
index cc36c6f..e3aa87a 100644 (file)
@@ -1 +1 @@
-[0-9a-f]*[     ]+w[    ]+DF[   ]+.text[        ]+[0-9a-f]*[    ]+(Base[        ]+|[    ]*)(0x[0-9a-f]+|)[      ]*foo
+[0-9a-f]+[     ]+w[    ]+DF[   ]+\.(text|opd)[ ]+[0-9a-f]+[    ]+(Base[        ]+|[    ]*)(0x[0-9a-f]+ )?foo
index e0f579a..5fdc694 100644 (file)
@@ -1 +1 @@
-[0-9a-f]*[     ]+w[    ]+DO[   ]+.(s|)data[    ]+[0-9a-f]*[    ]+(Base[        ]+|[    ]*)deallocate_foo
+[0-9a-f]+[     ]+w[    ]+DO[   ]+\.s?data[     ]+[0-9a-f]+[    ]+(Base[        ]+|[    ]*)deallocate_foo
index 5e6611a..125d879 100644 (file)
@@ -110,7 +110,7 @@ SECTIONS
     KEEP (*(SORT(.dtors.*)))
     KEEP (*(.dtors))
   }
-  .got           : { *(.got.plt) *(.got) }
+  .got           : ALIGN(8) { *(.got.plt) *(.got .toc) }
   .dynamic       : { *(.dynamic) }
   /* We want the small data sections together, so single-instruction offsets
      can access them all, and initialized data all before uninitialized, so
index 7987b02..521b925 100644 (file)
@@ -43,9 +43,9 @@ if { ![istarget hppa*64*-*-hpux*] \
      && ![istarget m68k-*-linux*] \
      && ![istarget mips*-*-irix5*] \
      && ![istarget mips*-*-linux*] \
-     && ![istarget powerpc-*-elf*] \
-     && ![istarget powerpc-*-linux*] \
-     && ![istarget powerpc-*-sysv4*] \
+     && ![istarget powerpc*-*-elf*] \
+     && ![istarget powerpc*-*-linux*] \
+     && ![istarget powerpc*-*-sysv4*] \
      && ![istarget sparc*-*-elf] \
      && ![istarget sparc*-*-solaris2*] \
      && ![istarget sparc*-*-sunos4*] \
@@ -226,6 +226,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG" $srcdir/$subdir/main.c $tmpdir/mainnp.o]
        setup_xfail "*-*-sunos4*"
        setup_xfail "ia64-*-linux*"
        setup_xfail "alpha*-*-linux*"
+       setup_xfail "powerpc64*-*-*"
        if { ![istarget hppa*64*-*-linux*] } {
            setup_xfail "hppa*-*-linux*"
        }
@@ -245,7 +246,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG" $srcdir/$subdir/main.c $tmpdir/mainnp.o]
        # the load address is not zero (which is the default).
        setup_xfail "*-*-sunos4*"
        setup_xfail "*-*-linux*libc1"
-       setup_xfail "powerpc-*-linux*"
+       setup_xfail "powerpc*-*-linux*"
        setup_xfail "ia64-*-linux*"
        setup_xfail "alpha*-*-linux*"
        setup_xfail "mips*-*-linux*"
@@ -301,6 +302,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG $picflag" $srcdir/$subdir/main.c $tmpdir/m
            setup_xfail "*-*-sunos4*"
            setup_xfail "ia64-*-linux*"
            setup_xfail "alpha*-*-linux*"
+           setup_xfail "powerpc64*-*-*"
            if { ![istarget hppa*64*-*-linux*] } {
                setup_xfail "hppa*-*-linux*"
            }