Make the objfile constructor private
[deliverable/binutils-gdb.git] / gold / testsuite / ver_matching_test.sh
index 2ecdd98d280327957b7cb77f18945982760fc709..e86b3777b799a9e1659566227ddf559113fef6ae 100755 (executable)
@@ -2,7 +2,7 @@
 
 # ver_matching_test.sh -- a test case for version script matching
 
-# Copyright 2008 Free Software Foundation, Inc.
+# Copyright (C) 2008-2019 Free Software Foundation, Inc.
 # Written by Ian Lance Taylor <iant@google.com>.
 
 # This file is part of gold.
@@ -66,9 +66,9 @@ check ver_matching_test.stdout "V1  *myns::blah()$"
 check ver_matching_test.stdout "V1  *myns::bip()$"
 check ver_matching_test.stdout "V1  *myns::Stuff::Stuff()$"
 check ver_matching_test.stdout "Base  *Biz::Biz()$"
-check ver_matching_test.stdout "V1  *blaza1$"
+check ver_matching_test.stdout "V2  *blaza1$"
 check ver_matching_test.stdout "V2  *blaza2$"
-check ver_matching_test.stdout "V1  *blaza$"
+check ver_matching_test.stdout "V2  *blaza$"
 check ver_matching_test.stdout "Base  *bla$"
 check ver_matching_test.stdout "V2  *blaz$"
 check ver_matching_test.stdout "V2  *blazb$"
@@ -79,8 +79,10 @@ check ver_matching_test.stdout "V1   *baz(int\\*)$"
 check_missing ver_matching_test.stdout "V1   *baz(int\\*, char)$"
 check_missing ver_matching_test.stdout "V1   *baz(char\\*, int)$"
 
-# TODO: foo1 should be a local symbol and not show up in the .dynsym
-# dump, but we haven't figured out how to suppress it yet.
-# check_missing ver_matching_test.stdout "foo1"
+check_missing ver_matching_test.stdout "foo1"
+
+# This symbols is injected by the linker itself, but should still
+# follow local:
+check_missing ver_matching_test.stdout "__bss_start"
 
 exit 0
This page took 0.025498 seconds and 4 git commands to generate.