From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1851) id 54D463851143; Thu, 25 Aug 2022 06:54:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 54D463851143 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1661410446; bh=BUbijnDZsuPIdYimpBORCM1hQTmy3+ok7DYl9mk2zxM=; h=From:To:Subject:Date:From; b=i1C3ZPHSUaSxpX9I3bRd0I4YLCPRQiEsSFIlv37UFnASbmcsWxdtHCPgj0E+kMWpO HhYG084lMeRiTNE+oKjQFeFFzunN0IfrqMRCqQbbYoGq60KSlLA79kjtmBvYRe38bT YfBJ3Oa8ps9oxnQXbckKkT6ywfIWTxdaNXX2I++A= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Martin Liska To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/marxin/heads/stabs-removal)] Fix cross compiler issues. X-Act-Checkin: gcc X-Git-Author: Martin Liska X-Git-Refname: refs/users/marxin/heads/stabs-removal X-Git-Oldrev: d76c10a2257f727f569fbac1f5815476d23ed0d5 X-Git-Newrev: 6cb7d3db8e0628c7b77bb578eb0306d251095773 Message-Id: <20220825065406.54D463851143@sourceware.org> Date: Thu, 25 Aug 2022 06:54:06 +0000 (GMT) List-Id: https://gcc.gnu.org/g:6cb7d3db8e0628c7b77bb578eb0306d251095773 commit 6cb7d3db8e0628c7b77bb578eb0306d251095773 Author: Martin Liska Date: Wed Aug 24 22:20:01 2022 +0200 Fix cross compiler issues. Diff: --- gcc/config.gcc | 8 ++++---- gcc/config/alpha/alpha.cc | 4 ---- gcc/target-def.h | 4 ---- 3 files changed, 4 insertions(+), 12 deletions(-) diff --git a/gcc/config.gcc b/gcc/config.gcc index 213d95081ef..da286d56a6f 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -2045,7 +2045,7 @@ x86_64-*-linux* | x86_64-*-kfreebsd*-gnu) ;; i[34567]86-pc-msdosdjgpp*) xm_file=i386/xm-djgpp.h - tm_file="dbxcoff.h ${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/djgpp.h i386/djgpp-stdint.h" + tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/djgpp.h i386/djgpp-stdint.h" native_system_header_dir=/dev/env/DJDIR/include extra_options="${extra_options} i386/djgpp.opt" gnu_ld=yes @@ -2117,7 +2117,7 @@ i[4567]86-wrs-vxworks*|x86_64-wrs-vxworks7*) esac ;; i[34567]86-*-cygwin*) - tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygming.h i386/cygwin.h i386/cygwin-stdint.h" + tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/cygming.h i386/cygwin.h i386/cygwin-stdint.h" xm_file=i386/xm-cygwin.h tmake_file="${tmake_file} i386/t-cygming t-slibgcc" target_gtfiles="$target_gtfiles \$(srcdir)/config/i386/winnt.cc" @@ -2135,7 +2135,7 @@ i[34567]86-*-cygwin*) ;; x86_64-*-cygwin*) need_64bit_isa=yes - tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygming.h i386/cygwin.h i386/cygwin-w64.h i386/cygwin-stdint.h" + tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/cygming.h i386/cygwin.h i386/cygwin-w64.h i386/cygwin-stdint.h" xm_file=i386/xm-cygwin.h tmake_file="${tmake_file} i386/t-cygming t-slibgcc i386/t-cygwin-w64" target_gtfiles="$target_gtfiles \$(srcdir)/config/i386/winnt.cc" @@ -2153,7 +2153,7 @@ x86_64-*-cygwin*) tm_defines="${tm_defines} TARGET_CYGWIN64=1" ;; i[34567]86-*-mingw* | x86_64-*-mingw*) - tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h dbxcoff.h i386/cygming.h" + tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/cygming.h" xm_file=i386/xm-mingw32.h c_target_objs="${c_target_objs} winnt-c.o" cxx_target_objs="${cxx_target_objs} winnt-c.o" diff --git a/gcc/config/alpha/alpha.cc b/gcc/config/alpha/alpha.cc index 0a85e66fa89..66c17149d4d 100644 --- a/gcc/config/alpha/alpha.cc +++ b/gcc/config/alpha/alpha.cc @@ -8458,10 +8458,6 @@ alpha_output_mi_thunk_osf (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED, } #endif /* TARGET_ABI_OSF */ -/* Debugging support. */ - -#include "gstab.h" - /* Name of the file containing the current function. */ static const char *current_function_file = ""; diff --git a/gcc/target-def.h b/gcc/target-def.h index 1c4aa2963dc..f81f8fe3bb3 100644 --- a/gcc/target-def.h +++ b/gcc/target-def.h @@ -62,8 +62,6 @@ # else # ifdef TARGET_ASM_NAMED_SECTION # define TARGET_ASM_CONSTRUCTOR default_named_section_asm_out_constructor -# else -# define TARGET_ASM_CONSTRUCTOR default_stabs_asm_out_constructor # endif # endif #endif @@ -74,8 +72,6 @@ # else # ifdef TARGET_ASM_NAMED_SECTION # define TARGET_ASM_DESTRUCTOR default_named_section_asm_out_destructor -# else -# define TARGET_ASM_DESTRUCTOR default_stabs_asm_out_destructor # endif # endif #endif