summaryrefslogtreecommitdiff
path: root/ld
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
parent22e04375877bca22b09c1fe3c4ce52e810799eeb (diff)
downloadbinutils-f5e04945146d38dd7a13ed48c37a427db153dfb9.tar.gz
binutils-f5e04945146d38dd7a13ed48c37a427db153dfb9.tar.bz2
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')
-rw-r--r--ld/testsuite/ChangeLog15
-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
8 files changed, 25 insertions, 6 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index d11ea22c4ee..5b53e54a212 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,18 @@
+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.
+
2001-11-15 H.J. Lu <hjl@gnu.org>
* ld-sh/ld-r-1.d: Updated.
diff --git a/ld/testsuite/ld-elfvsb/define.s b/ld/testsuite/ld-elfvsb/define.s
index 3d29f7c0c35..66cf4c2b51a 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 33356c19974..46fc6475685 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 30032b29137..667f1088a88 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 259ed6d0dc8..a42ae02ffb3 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 2d36bba6252..c110ac62f44 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 56bbdd40a0d..48b7885e45e 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 beaa4444f56..2f4931ae423 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