aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-05-08 09:18:04 +0200
committerAndreas Jaeger <aj@gcc.gnu.org>2000-05-08 09:18:04 +0200
commitc7e81e90900e39afd4792bb7d0cf9871873e4298 (patch)
treed7f520dc0c3bfa3354745adc949bd441a85c0e05
parent84d7ae3293a2a8252a3b16ac7d8e24a18bfa0030 (diff)
downloadgcc-c7e81e90900e39afd4792bb7d0cf9871873e4298.zip
gcc-c7e81e90900e39afd4792bb7d0cf9871873e4298.tar.gz
gcc-c7e81e90900e39afd4792bb7d0cf9871873e4298.tar.bz2
linux.h: Remove undefines which disabled .ctor/.dtor support.
2000-05-08 Andreas Jaeger <aj@suse.de> * config/mips/linux.h: Remove undefines which disabled .ctor/.dtor support. From-SVN: r33763
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/linux.h28
2 files changed, 5 insertions, 28 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 79ae896..73853ff 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-08 Andreas Jaeger <aj@suse.de>
+
+ * config/mips/linux.h: Remove undefines which disabled .ctor/.dtor
+ support.
+
2000-05-07 Zack Weinberg <zack@wolery.cumb.org>
* Makefile.in (LOOSE_CFLAGS): Add /g modifiers to both sed
diff --git a/gcc/config/mips/linux.h b/gcc/config/mips/linux.h
index a598f16..45e5e44 100644
--- a/gcc/config/mips/linux.h
+++ b/gcc/config/mips/linux.h
@@ -169,31 +169,3 @@ Boston, MA 02111-1307, USA. */
%{!fno-PIC:%{!fno-pic:-KPIC}} \
%{fno-PIC:-non_shared} %{fno-pic:-non_shared}"
-/* Undefine the following which were defined in elf.h. This will cause the linux
- port to continue to use collect2 for constructors/destructors. These may be removed
- when .ctor/.dtor section support is desired. */
-
-#undef CTORS_SECTION_ASM_OP
-#undef DTORS_SECTION_ASM_OP
-
-#undef EXTRA_SECTIONS
-#define EXTRA_SECTIONS in_sdata, in_sbss, in_rdata
-
-#undef INVOKE__main
-#undef NAME__MAIN
-#undef SYMBOL__MAIN
-
-#undef EXTRA_SECTION_FUNCTIONS
-#define EXTRA_SECTION_FUNCTIONS \
- SECTION_FUNCTION_TEMPLATE(sdata_section, in_sdata, SDATA_SECTION_ASM_OP) \
- SECTION_FUNCTION_TEMPLATE(sbss_section, in_sbss, SBSS_SECTION_ASM_OP) \
- SECTION_FUNCTION_TEMPLATE(rdata_section, in_rdata, RDATA_SECTION_ASM_OP)
-
-#undef ASM_OUTPUT_CONSTRUCTOR
-#undef ASM_OUTPUT_DESTRUCTOR
-
-#undef CTOR_LIST_BEGIN
-#undef CTOR_LIST_END
-#undef DTOR_LIST_BEGIN
-#undef DTOR_LIST_END
-/* End of undefines to turn off .ctor/.dtor section support */