public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/marxin/heads/stabs-removal)] Fix cross compiler issues.
@ 2022-08-25 6:52 Martin Liska
0 siblings, 0 replies; 2+ messages in thread
From: Martin Liska @ 2022-08-25 6:52 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:41ca9dc258575dbd8f1db0996416a4145a848055
commit 41ca9dc258575dbd8f1db0996416a4145a848055
Author: Martin Liska <mliska@suse.cz>
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 */
\f
-/* 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gcc(refs/users/marxin/heads/stabs-removal)] Fix cross compiler issues.
@ 2022-08-25 6:54 Martin Liska
0 siblings, 0 replies; 2+ messages in thread
From: Martin Liska @ 2022-08-25 6:54 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:6cb7d3db8e0628c7b77bb578eb0306d251095773
commit 6cb7d3db8e0628c7b77bb578eb0306d251095773
Author: Martin Liska <mliska@suse.cz>
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 */
\f
-/* 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-25 6:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-25 6:52 [gcc(refs/users/marxin/heads/stabs-removal)] Fix cross compiler issues Martin Liska
2022-08-25 6:54 Martin Liska
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).