X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gold%2Ftestsuite%2Fver_test_4.cc;h=b8fc79c5c407031c4f96a0b33e6a0abdca7f1c1a;hb=a7f987e8378830b181ce27359ca8bf115018db07;hp=ef06e2cf1a9985fe5cd3b995803f52ffe6f1c09f;hpb=4b95cf5c0c75d6efc1b2f96af72317aecca079f1;p=binutils-gdb.git diff --git a/gold/testsuite/ver_test_4.cc b/gold/testsuite/ver_test_4.cc index ef06e2cf1a9..b8fc79c5c40 100644 --- a/gold/testsuite/ver_test_4.cc +++ b/gold/testsuite/ver_test_4.cc @@ -1,6 +1,6 @@ // ver_test_4.cc -- a test case for gold -// Copyright (C) 2007-2014 Free Software Foundation, Inc. +// Copyright (C) 2007-2020 Free Software Foundation, Inc. // Written by Cary Coutant . // This file is part of gold. @@ -22,6 +22,16 @@ #include "ver_test.h" +__asm__(".symver t1_2_orig,t1_2@"); + +extern "C" +int +t1_2_orig() +{ + TRACE + return 12; +} + __asm__(".symver t1_2_a,t1_2@@VER2"); extern "C"