diff options
-rw-r--r-- | ld/testsuite/ChangeLog | 15 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvsb/define.s | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvsb/hidden0.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvsb/hidden1.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvsb/internal0.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvsb/internal1.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvsb/protected0.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elfvsb/protected1.d | 2 |
8 files changed, 25 insertions, 6 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index d11ea22..5b53e54 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 3d29f7c..66cf4c2 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 33356c1..46fc647 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 30032b2..667f108 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 259ed6d..a42ae02 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 2d36bba..c110ac6 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 56bbdd4..48b7885 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 beaa444..2f4931a 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 |