// icf_safe_so_test.cc -- a test case for gold
-// Copyright 2010 Free Software Foundation, Inc.
+// Copyright (C) 2010-2020 Free Software Foundation, Inc.
// Written by Sriraman Tallam <tmsriram@google.com>.
// This file is part of gold.
// 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.
+// 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()