aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2011-07-18 11:04:18 +0000
committerRainer Orth <ro@gcc.gnu.org>2011-07-18 11:04:18 +0000
commite44dbbe18b497d775d0b7efab7fcd08486f1a1fa (patch)
tree8e1e15f83a5ed0a31b0530d2200e240be5794e92 /libgcc
parentc27e3f60a67506df855e792f0703409fbd593611 (diff)
downloadgcc-e44dbbe18b497d775d0b7efab7fcd08486f1a1fa.zip
gcc-e44dbbe18b497d775d0b7efab7fcd08486f1a1fa.tar.gz
gcc-e44dbbe18b497d775d0b7efab7fcd08486f1a1fa.tar.bz2
re PR debug/23205 ([C++/unit-at-a-time] stabs debug info omitted for global const variables)
toplevel: * configure: Regenerate. config: * elf.m4 (target_elf): Remove *-netware*. contrib: * config-list.mk (i586-netware): Remove. (.PHONY): Remove make-script-dir dependency. (make-script-dir): Remove. ($(LIST)): Remove make-script-dir dependency. gcc: * config.gcc (i[3456x]86-*-netware*): Remove. * gthr-nks.h: Remove. * configure.ac (enable_threads): Remove nks. * configure: Regenerate. * config/i386/i386.c (ix86_encode_section_info): Remove netware reference. * config/i386/i386.h (KEEP_AGGREGATE_RETURN_POINTER): Remove <netware.h> reference. * config/i386/netware-libgcc.c, gcc/config/i386/netware-libgcc.def, gcc/config/i386/netware-libgcc.exp, gcc/config/i386/netware.c, gcc/config/i386/netware.h, gcc/config/i386/netware.opt, gcc/config/i386/nwld.c, gcc/config/i386/nwld.h, gcc/config/i386/t-netware, gcc/config/i386/t-nwld: Remove * doc/extend.texi (Function Attributes, callee_pop_aggregate_return): Remove i?86-netware reference. * doc/install.texi (Configuration, --enable-threads): Remove nks. gcc/testsuite: * g++.dg/ext/bitfield2.C: Remove i?86-*-netware support. * g++.dg/ext/bitfield3.C: Likewise. * g++.dg/ext/bitfield4.C: Likewise. * g++.dg/ext/bitfield5.C: Likewise. * g++.dg/other/PR23205.C: Remove *-*-netware* support. * g++.dg/other/pr23205-2.C: Likewise. * gcc.c-torture/compile/20001109-1.c: Remove dg-xfail-if. * gcc.c-torture/compile/20001109-2.c: Likewise. * gcc.dg/20040813-1.c: Remove *-*-netware* support. * gcc.dg/bitfld-15.c: Remove i?86-*-netware support. * gcc.dg/bitfld-16.c: Likewise. * gcc.dg/bitfld-17.c: Likewise. * gcc.dg/bitfld-18.c: Likewise. * gcc.dg/builtins-config.h: Remove Netware support. * gcc.dg/cdce1.c: Remove *-*-netware* support. Update line number. * gcc.dg/cdce2.c: Likewise. * gcc.dg/cpp/assert4.c: Remove netware support. * gcc.dg/debug/pr35154.c: Remove *-*-netware* support. * gfortran.dg/debug/pr35154-stabs.f: Remove *-*-netware* support. * lib/target-supports.exp (check_visibility_available): Remove NetWare support. (check_profiling_available): Likewise. libgcc: * config.host (i[3456x]86-*-netware*): Remove. * config/i386/netware-crt0.c, config/i386/t-nwld, config/i386/t-slibgcc-nwld: Remove. libstdc++-v3: * crossconfig.m4 (*-netware): Remove. * configure: Regenerate. From-SVN: r176391
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog6
-rw-r--r--libgcc/config.host8
-rw-r--r--libgcc/config/i386/netware-crt0.c79
-rw-r--r--libgcc/config/i386/t-nwld39
-rw-r--r--libgcc/config/i386/t-slibgcc-nwld31
5 files changed, 6 insertions, 157 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 885724a..8fab793 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,9 @@
+2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * config.host (i[3456x]86-*-netware*): Remove.
+ * config/i386/netware-crt0.c, config/i386/t-nwld,
+ config/i386/t-slibgcc-nwld: Remove.
+
2011-07-15 Bernd Schmidt <bernds@codesourcery.com>
* config.host: Handle tic6x-*-*.
diff --git a/libgcc/config.host b/libgcc/config.host
index 293d462..11760d0 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -375,14 +375,6 @@ i[34567]86-pc-msdosdjgpp*)
;;
i[34567]86-*-lynxos*)
;;
-i[3456x]86-*-netware*)
- case /${with_ld} in
- */nwld)
- tmake_file="${tmake_file} i386/t-nwld i386/t-slibgcc-nwld"
- extra_parts="${extra_parts} crt0.o libgcc.def libc.def libcpre.def posixpre.def"
- ;;
- esac
- ;;
i[34567]86-*-nto-qnx*)
;;
i[34567]86-*-rtems*)
diff --git a/libgcc/config/i386/netware-crt0.c b/libgcc/config/i386/netware-crt0.c
deleted file mode 100644
index 03141ab..0000000
--- a/libgcc/config/i386/netware-crt0.c
+++ /dev/null
@@ -1,79 +0,0 @@
-/* Startup routines for NetWare.
- Contributed by Jan Beulich (jbeulich@novell.com)
- Copyright (C) 2004, 2007 Free Software Foundation, Inc.
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 3, or (at your option)
-any later version.
-
-GCC is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING3. If not see
-<http://www.gnu.org/licenses/>. */
-
-#include <stddef.h>
-#include <stdint.h>
-#include "unwind-dw2-fde.h"
-
-int __init_environment (void *);
-int __deinit_environment (void *);
-
-
-#define SECTION_DECL(name, decl) decl __attribute__((__section__(name)))
-
-SECTION_DECL(".ctors", void(*const __CTOR_LIST__)(void))
- = (void(*)(void))(intptr_t)-1;
-SECTION_DECL(".ctors$_", void(*const __CTOR_END__)(void)) = NULL;
-
-SECTION_DECL(".dtors", void(*const __DTOR_LIST__)(void))
- = (void(*)(void))(intptr_t)-1;
-SECTION_DECL(".dtors$_", void(*const __DTOR_END__)(void)) = NULL;
-
-/* No need to use the __[de]register_frame_info_bases functions since
- for us the bases are NULL always anyway. */
-void __register_frame_info (const void *, struct object *)
- __attribute__((__weak__));
-void *__deregister_frame_info (const void *) __attribute__((__weak__));
-
-SECTION_DECL(".eh_frame", /*const*/ uint32_t __EH_FRAME_BEGIN__[]) = { };
-SECTION_DECL(".eh_frame$_", /*const*/ uint32_t __EH_FRAME_END__[]) = {0};
-
-int
-__init_environment (void *unused __attribute__((__unused__)))
-{
- void (* const * pctor)(void);
- static struct object object;
-
- if (__register_frame_info)
- __register_frame_info (__EH_FRAME_BEGIN__, &object);
-
- for (pctor = &__CTOR_END__ - 1; pctor > &__CTOR_LIST__; --pctor)
- if (*pctor != NULL)
- (*pctor)();
-
- return 0;
-}
-
-int
-__deinit_environment (void *unused __attribute__((__unused__)))
-{
- /* This should be static to prevent calling the same destructor
- twice (just in case where we get here multiple times). */
- static void (* const * pdtor)(void) = &__DTOR_LIST__ + 1;
-
- while (pdtor < &__DTOR_END__)
- if (*pdtor++ != NULL)
- pdtor[-1] ();
-
- if (__deregister_frame_info)
- __deregister_frame_info(__EH_FRAME_BEGIN__);
-
- return 0;
-}
diff --git a/libgcc/config/i386/t-nwld b/libgcc/config/i386/t-nwld
deleted file mode 100644
index d08e282..0000000
--- a/libgcc/config/i386/t-nwld
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011
-# Free Software Foundation, Inc.
-#
-# This file is part of GCC.
-#
-# GCC is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3, or (at your option)
-# any later version.
-#
-# GCC is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>.
-
-crt0.o: $(srcdir)/config/i386/netware-crt0.c
- $(crt_compile) $(CRTSTUFF_T_CFLAGS) -c $<
-
-CRTSTUFF_T_CFLAGS = -mpreferred-stack-boundary=2
-
-libgcc.def: $(srcdir)/config/i386/t-nwld
- echo "module libgcc_s" >$@
-
-libc.def: $(srcdir)/config/i386/t-nwld
- echo "module libc" >$@
-
-libcpre.def: $(srcdir)/config/i386/t-nwld
- echo "start _LibCPrelude" >$@
- echo "exit _LibCPostlude" >>$@
- echo "check _LibCCheckUnload" >>$@
-
-posixpre.def: $(srcdir)/config/i386/t-nwld
- echo "start POSIX_Start" >$@
- echo "exit POSIX_Stop" >>$@
- echo "check POSIX_CheckUnload" >>$@
diff --git a/libgcc/config/i386/t-slibgcc-nwld b/libgcc/config/i386/t-slibgcc-nwld
deleted file mode 100644
index 4085872..0000000
--- a/libgcc/config/i386/t-slibgcc-nwld
+++ /dev/null
@@ -1,31 +0,0 @@
-# Build a shared libgcc library for NetWare.
-
-SHLIB_EXT = .nlm
-SHLIB_NAME = @shlib_base_name@.nlm
-SHLIB_SLIBDIR_QUAL = @shlib_slibdir_qual@
-SHLIB_DEF = $(gcc_srcdir)/config/i386/netware-libgcc.def
-SHLIB_MAP = $(gcc_srcdir)/config/i386/netware-libgcc.exp
-SHLIB_SRC = $(gcc_srcdir)/config/i386/netware-libgcc.c
-
-SHLIB_LINK = set -e; \
- cat $(SHLIB_DEF) >@shlib_base_name@.def; \
- echo "name $(SHLIB_NAME)" >>@shlib_base_name@.def; \
- echo "version $(version)" | sed "s!\.!,!g" >>@shlib_base_name@.def; \
- touch build; \
- echo "build $$(expr $$(<build) + 0)" >>@shlib_base_name@.def; \
- echo "export @$(SHLIB_MAP)" >>@shlib_base_name@.def; \
- if mpkxdc -n -p @shlib_base_name@.xdc; \
- then echo "xdcdata @shlib_base_name@.xdc" >>@shlib_base_name@.def; \
- else echo "WARNING: $(SHLIB_NAME) built without XDC data will not work well." 1>&2; \
- fi; \
- $(CC) $(LIBGCC2_CFLAGS) -o $(SHLIB_NAME) \
- $(SHLIB_SRC) -posix -static-libgcc -lnetware \
- -Wl,--Map,--map-info,full,--strip-all,--def-file,@shlib_base_name@.def; \
- rm -f @shlib_base_name@.imp; $(LN_S) $(SHLIB_MAP) @shlib_base_name@.imp; \
- rm -f libgcc.imp; $(LN_S) @shlib_base_name@.imp libgcc.imp; \
- expr $$(<build) + 1 >build
-
-SHLIB_INSTALL = \
- $(SHELL) $(srcdir)/mkinstalldirs $(slibdir)$(SHLIB_SLIBDIR_QUAL); \
- $(INSTALL_DATA) $(SHLIB_NAME) $(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_NAME); \
- $(INSTALL_DATA) @shlib_base_name@.imp $(DESTDIR)$(libsubdir)/