summaryrefslogtreecommitdiffstats
path: root/ld/testsuite/ld-elfvsb
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2001-11-19 20:32:02 +0000
committerH.J. Lu <hjl.tools@gmail.com>2001-11-19 20:32:02 +0000
commitf5e04945146d38dd7a13ed48c37a427db153dfb9 (patch)
treea989acd478e0710c3dd8f14a94e9a998eeb04ddd /ld/testsuite/ld-elfvsb
parent22e04375877bca22b09c1fe3c4ce52e810799eeb (diff)
downloadppe42-binutils-f5e04945146d38dd7a13ed48c37a427db153dfb9.tar.gz
ppe42-binutils-f5e04945146d38dd7a13ed48c37a427db153dfb9.zip
2001-11-19 H.J. Lu <hjl@gnu.org>
* ld-elfvsb/define.s: Mark all global lables as object. * ld-elfvsb/hidden0.d: Match large section number. * ld-elfvsb/hidden1.d: Likewise. * ld-elfvsb/internal0.d: Likewise. * ld-elfvsb/internal1.d: Likewise. * ld-elfvsb/protected0.d: Likewise. * ld-elfvsb/protected1.d: Likewise. * ld-elfvsb/hidden0.d: Change NOTYPE to OBJECT. * ld-elfvsb/internal0.d: Likewise. * ld-elfvsb/protected0.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elfvsb')
-rw-r--r--ld/testsuite/ld-elfvsb/define.s4
-rw-r--r--ld/testsuite/ld-elfvsb/hidden0.d2
-rw-r--r--ld/testsuite/ld-elfvsb/hidden1.d2
-rw-r--r--ld/testsuite/ld-elfvsb/internal0.d2
-rw-r--r--ld/testsuite/ld-elfvsb/internal1.d2
-rw-r--r--ld/testsuite/ld-elfvsb/protected0.d2
-rw-r--r--ld/testsuite/ld-elfvsb/protected1.d2
7 files changed, 10 insertions, 6 deletions
diff --git a/ld/testsuite/ld-elfvsb/define.s b/ld/testsuite/ld-elfvsb/define.s
index 3d29f7c0c3..66cf4c2b51 100644
--- a/ld/testsuite/ld-elfvsb/define.s
+++ b/ld/testsuite/ld-elfvsb/define.s
@@ -1,6 +1,10 @@
+ .data
.globl protected
+ .type protected,@object
protected:
.globl hidden
+ .type hidden,@object
hidden:
.globl internal
+ .type internal,@object
internal:
diff --git a/ld/testsuite/ld-elfvsb/hidden0.d b/ld/testsuite/ld-elfvsb/hidden0.d
index 33356c1997..46fc647568 100644
--- a/ld/testsuite/ld-elfvsb/hidden0.d
+++ b/ld/testsuite/ld-elfvsb/hidden0.d
@@ -6,5 +6,5 @@
Symbol table '.symtab' contains .* entries:
Num: Value[ ]+Size Type Bind Vis Ndx Name
#...
- .: [0-9a-fA-F]* 0 NOTYPE GLOBAL HIDDEN . hidden
+[ ]*[0-9]+: [0-9a-fA-F]* 0 OBJECT GLOBAL HIDDEN . hidden
#pass
diff --git a/ld/testsuite/ld-elfvsb/hidden1.d b/ld/testsuite/ld-elfvsb/hidden1.d
index 30032b2913..667f1088a8 100644
--- a/ld/testsuite/ld-elfvsb/hidden1.d
+++ b/ld/testsuite/ld-elfvsb/hidden1.d
@@ -5,5 +5,5 @@
Symbol table '.symtab' contains .* entries:
Num: Value[ ]+Size Type Bind Vis Ndx Name
#...
- .: [0-9a-fA-F]* 0 NOTYPE GLOBAL HIDDEN UND hidden
+[ ]*[0-9]+: [0-9a-fA-F]* 0 NOTYPE GLOBAL HIDDEN UND hidden
#pass
diff --git a/ld/testsuite/ld-elfvsb/internal0.d b/ld/testsuite/ld-elfvsb/internal0.d
index 259ed6d0dc..a42ae02ffb 100644
--- a/ld/testsuite/ld-elfvsb/internal0.d
+++ b/ld/testsuite/ld-elfvsb/internal0.d
@@ -6,5 +6,5 @@
Symbol table '.symtab' contains .* entries:
Num: Value[ ]+Size Type Bind Vis Ndx Name
#...
- .: [0-9a-fA-F]* 0 NOTYPE GLOBAL INTERNAL . internal
+[ ]*[0-9]+: [0-9a-fA-F]* 0 OBJECT GLOBAL INTERNAL . internal
#pass
diff --git a/ld/testsuite/ld-elfvsb/internal1.d b/ld/testsuite/ld-elfvsb/internal1.d
index 2d36bba625..c110ac62f4 100644
--- a/ld/testsuite/ld-elfvsb/internal1.d
+++ b/ld/testsuite/ld-elfvsb/internal1.d
@@ -5,5 +5,5 @@
Symbol table '.symtab' contains .* entries:
Num: Value[ ]+Size Type Bind Vis Ndx Name
#...
- .: [0-9a-fA-F]* 0 NOTYPE GLOBAL INTERNAL UND internal
+[ ]*[0-9]+: [0-9a-fA-F]* 0 NOTYPE GLOBAL INTERNAL UND internal
#pass
diff --git a/ld/testsuite/ld-elfvsb/protected0.d b/ld/testsuite/ld-elfvsb/protected0.d
index 56bbdd40a0..48b7885e45 100644
--- a/ld/testsuite/ld-elfvsb/protected0.d
+++ b/ld/testsuite/ld-elfvsb/protected0.d
@@ -6,5 +6,5 @@
Symbol table '.symtab' contains .* entries:
Num: Value[ ]+Size Type Bind Vis Ndx Name
#...
- .: [0-9a-fA-F]* 0 NOTYPE GLOBAL PROTECTED . protected
+[ ]*[0-9]+: [0-9a-fA-F]* 0 OBJECT GLOBAL PROTECTED . protected
#pass
diff --git a/ld/testsuite/ld-elfvsb/protected1.d b/ld/testsuite/ld-elfvsb/protected1.d
index beaa4444f5..2f4931ae42 100644
--- a/ld/testsuite/ld-elfvsb/protected1.d
+++ b/ld/testsuite/ld-elfvsb/protected1.d
@@ -5,5 +5,5 @@
Symbol table '.symtab' contains .* entries:
Num: Value[ ]+Size Type Bind Vis Ndx Name
#...
- .: [0-9a-fA-F]* 0 NOTYPE GLOBAL PROTECTED UND protected
+[ ]*[0-9]+: [0-9a-fA-F]* 0 NOTYPE GLOBAL PROTECTED UND protected
#pass
OpenPOWER on IntegriCloud