# 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.
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$"
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