summaryrefslogtreecommitdiffstats
path: root/binutils-2.19/gold/testsuite/icf_safe_so_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.19/gold/testsuite/icf_safe_so_test.cc')
-rw-r--r--binutils-2.19/gold/testsuite/icf_safe_so_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/binutils-2.19/gold/testsuite/icf_safe_so_test.cc b/binutils-2.19/gold/testsuite/icf_safe_so_test.cc
index 5e4453b..0f50ad6 100644
--- a/binutils-2.19/gold/testsuite/icf_safe_so_test.cc
+++ b/binutils-2.19/gold/testsuite/icf_safe_so_test.cc
@@ -24,7 +24,8 @@
// 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.
+// are addresses of PLT entries in shared objects. For 32-bit X86,
+// the hidden protected and internal symbols can be folded.
int __attribute__ ((visibility ("protected")))
foo_prot()