]> git.ipfire.org Git - thirdparty/gcc.git/commit
build: Remove HAVE_LD_EH_FRAME_CIEV3
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Thu, 13 Feb 2025 09:17:50 +0000 (10:17 +0100)
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Thu, 13 Feb 2025 09:17:50 +0000 (10:17 +0100)
commit7db94370a74481ad1db1f0a4dc4aa45fa464a02a
treebfacc691b52d55ba84360d5999ae2461e45c9fc4
parent85b0a6e853aeda30acc1990c8bf13951c7e4da7d
build: Remove HAVE_LD_EH_FRAME_CIEV3

Old versions of Solaris ld and GNU ld didn't support CIEv3 in .eh_frame.
To avoid this breaking the build

[build] Default to DWARF 4 on Solaris if linker supports CIEv3
http://gcc.gnu.org/ml/gcc-patches/2013-03/msg00669.html

checked for the necessary linker support, defaulting to DWARF-2 if
necessary.  Solaris ld was fixed in Solaris 11.1, GNU ld in binutils
2.16, so this is long obsolete and only used in Solaris code anyway.

This patch thus removes both the configure check and
solaris_override_options.

Bootstrapped without regressions on i386-pc-solaris2.11 and
sparc-sun-solaris2.11.

2025-02-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

gcc:
* configure.ac (gcc_cv_ld_eh_frame_ciev3): Remove.
* configure, config.in: Regenerate.
* config/sol2.cc (solaris_override_options): Remove.
* config/sol2.h (SUBTARGET_OVERRIDE_OPTIONS): Remove.
* config/sol2-protos.h (solaris_override_options): Remove.
gcc/config.in
gcc/config/sol2-protos.h
gcc/config/sol2.cc
gcc/config/sol2.h
gcc/configure
gcc/configure.ac