summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gold/testsuite/icf_safe_so_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/gold/testsuite/icf_safe_so_test.cc')
-rw-r--r--binutils-2.25/gold/testsuite/icf_safe_so_test.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/binutils-2.25/gold/testsuite/icf_safe_so_test.cc b/binutils-2.25/gold/testsuite/icf_safe_so_test.cc
index bca852f..a0732be 100644
--- a/binutils-2.25/gold/testsuite/icf_safe_so_test.cc
+++ b/binutils-2.25/gold/testsuite/icf_safe_so_test.cc
@@ -1,6 +1,6 @@
// icf_safe_so_test.cc -- a test case for gold
-// Copyright (C) 2010-2014 Free Software Foundation, Inc.
+// Copyright (C) 2010-2015 Free Software Foundation, Inc.
// Written by Sriraman Tallam <tmsriram@google.com>.
// This file is part of gold.
@@ -22,10 +22,10 @@
// The goal of this program is to verify if identical code folding
// in safe mode correctly folds functions in a shared object. The
-// foo_* functions below should not be folded. For x86-64,
-// foo_glob and bar_glob should be folded as their function pointers
-// are addresses of PLT entries in shared objects. For 32-bit X86,
-// the hidden protected and internal symbols can be folded.
+// foo_* functions below should not be folded on X86_64.
+// For 32-bit X86, the hidden protected and internal symbols can be folded.
+// foo_glob and bar_glob should not be folded, because function pointer
+// of foo_glob is taken.
int __attribute__ ((visibility ("protected")))
foo_prot()