From 689a714d9f2e05d43e50f78316569ce8acfa7338 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Thu, 31 Jul 2003 11:49:56 +0000 Subject: [PATCH] configure.in (gcc_cv_ld_hidden): Also disable on mips-sgi-irix5* without GNU ld. * configure.in (gcc_cv_ld_hidden): Also disable on mips-sgi-irix5* without GNU ld. Update comment. * configure: Regenerate. From-SVN: r69996 --- gcc/ChangeLog | 7 +++++++ gcc/configure | 12 ++++++------ gcc/configure.in | 12 ++++++------ 3 files changed, 19 insertions(+), 12 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2c82f05d50b..475035d2585 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2003-07-31 Rainer Orth + + * configure.in (gcc_cv_ld_hidden): Also disable on mips-sgi-irix5* + without GNU ld. + Update comment. + * configure: Regenerate. + 2003-07-31 Vladimir Makarov * sched-deps.c (sched_analyze_2): Prevent interblock move of CC0 diff --git a/gcc/configure b/gcc/configure index dce7aa38f53..de7b106bc13 100755 --- a/gcc/configure +++ b/gcc/configure @@ -6249,14 +6249,14 @@ else fi else case "$target" in - mips-sgi-irix6*) + mips-sgi-irix[56]*) if test x"$gnu_ld_flag" = x"no"; then # Even if using gas with .hidden support, the resulting object files - # cannot be linked with the IRIX 6 O32 linker. With the N32 and - # N64 linkers, the problem is that the linker refuses to accept - # -call_shared (passed by default to the linker) and -r (used to - # link the object file generated without .hidden directives with - # one that hides symbols), so we also lose. + # cannot be linked with the IRIX 5 and IRIX 6 O32 linkers. With + # the IRIX 6 N32 and N64 linkers, the problem is that the linker + # refuses to accept -call_shared (passed by default to the + # linker) and -r (used to link the object file generated without + # .hidden directives with one that hides symbols), so we also lose. gcc_cv_ld_hidden=no fi ;; diff --git a/gcc/configure.in b/gcc/configure.in index 5f031236a30..f7ffc2f767d 100644 --- a/gcc/configure.in +++ b/gcc/configure.in @@ -1828,14 +1828,14 @@ changequote([,])dnl fi else case "$target" in - mips-sgi-irix6*) + mips-sgi-irix[[56]]*) if test x"$gnu_ld_flag" = x"no"; then # Even if using gas with .hidden support, the resulting object files - # cannot be linked with the IRIX 6 O32 linker. With the N32 and - # N64 linkers, the problem is that the linker refuses to accept - # -call_shared (passed by default to the linker) and -r (used to - # link the object file generated without .hidden directives with - # one that hides symbols), so we also lose. + # cannot be linked with the IRIX 5 and IRIX 6 O32 linkers. With + # the IRIX 6 N32 and N64 linkers, the problem is that the linker + # refuses to accept -call_shared (passed by default to the + # linker) and -r (used to link the object file generated without + # .hidden directives with one that hides symbols), so we also lose. gcc_cv_ld_hidden=no fi ;;