aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@bitrange.com>2020-07-27 00:08:54 +0200
committerHans-Peter Nilsson <hp@bitrange.com>2020-07-27 00:08:54 +0200
commit39ddfef9a5c24acf6412236f52f6716c8e0ebc9e (patch)
tree376a9745d59858527f8f45f69230889214225e5c /gcc
parent798ff1c3e10c6926263f17704137e8c1a0d39be0 (diff)
downloadgcc-39ddfef9a5c24acf6412236f52f6716c8e0ebc9e.zip
gcc-39ddfef9a5c24acf6412236f52f6716c8e0ebc9e.tar.gz
gcc-39ddfef9a5c24acf6412236f52f6716c8e0ebc9e.tar.bz2
mmix: Don't turn off .hidden support.
In 2012 e2769e908a915ebbc/r192344, I added the following lines, that I now delete. I've changed my mind: ELF-related targets based on gas, that support only static linking, have .hidden "for free", regardless of the visibility of the hidden object in the linked executable. No regressions for mmix-knuth-mmixware and "fixes": FAIL: gcc.dg/torture/pr94947-1.c -O2 -flto -fuse-linker-plugin -fno-fat-lto-objects (test for excess errors) Excess errors: lto1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes] ...a warning which is emitted for "all" LTO tests (of which most have warnings filtered out); LTO "thinks" all supported targets have .hidden support. gcc: * configure.ac (out-of-tree linker .hidden support): Don't turn off for mmix-knuth-mmixware. * configure: Regenerate.
Diffstat (limited to 'gcc')
-rwxr-xr-xgcc/configure6
-rw-r--r--gcc/configure.ac6
2 files changed, 0 insertions, 12 deletions
diff --git a/gcc/configure b/gcc/configure
index f224679..5c31c13 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -23471,12 +23471,6 @@ else
if test x"$ld_is_gold" = xyes; then
:
elif echo "$ld_ver" | grep GNU > /dev/null; then
- case "${target}" in
- mmix-knuth-mmixware)
- # The linker emits by default mmo, not ELF, so "no" is appropriate.
- gcc_cv_ld_hidden=no
- ;;
- esac
if test 0"$ld_date" -lt 20020404; then
if test -n "$ld_date"; then
# If there was date string, but was earlier than 2002-04-04, fail
diff --git a/gcc/configure.ac b/gcc/configure.ac
index e83f083..a7c683b 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -2874,12 +2874,6 @@ else
if test x"$ld_is_gold" = xyes; then
:
elif echo "$ld_ver" | grep GNU > /dev/null; then
- case "${target}" in
- mmix-knuth-mmixware)
- # The linker emits by default mmo, not ELF, so "no" is appropriate.
- gcc_cv_ld_hidden=no
- ;;
- esac
if test 0"$ld_date" -lt 20020404; then
if test -n "$ld_date"; then
# If there was date string, but was earlier than 2002-04-04, fail