From: H.J. Lu Date: Mon, 19 Nov 2001 20:32:02 +0000 (+0000) Subject: 2001-11-19 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5e04945146d38dd7a13ed48c37a427db153dfb9;p=binutils-gdb.git 2001-11-19 H.J. Lu * 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. --- 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 + + * 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 * 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