unknown-elf.h (CTOR_LIST_BEGIN, [...]): Remove.
authorRichard Henderson <rth@redhat.com>
Mon, 13 Aug 2001 22:05:16 +0000 (15:05 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 13 Aug 2001 22:05:16 +0000 (15:05 -0700)
        * config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove.
        (DTOR_LIST_BEGIN, DTOR_LIST_END): Remove.
        * config/arm/conix-elf.h: Likewise.

From-SVN: r44874

gcc/ChangeLog
gcc/config/arm/conix-elf.h
gcc/config/arm/unknown-elf.h

index 64649007d5d89a7a86c29541d10b23ac54c25c9a..4e6f1b893770bd93ac80ad71fb44674d2f99e1e2 100644 (file)
@@ -1,3 +1,9 @@
+2001-08-13  Richard Henderson  <rth@redhat.com>
+
+       * config/arm/unknown-elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END): Remove.
+       (DTOR_LIST_BEGIN, DTOR_LIST_END): Remove.
+       * config/arm/conix-elf.h: Likewise.
+
 2001-08-13  Geoffrey Keating  <geoffk@redhat.com>
 
        * config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done
index f32228f6e88f782803ed62b2c4635feaf2e0c83e..697210df61f038158d535f88dffe5a0326c83327 100644 (file)
@@ -67,22 +67,6 @@ rdata_section ()                                             \
     }                                                          \
 }
 
-#define CTOR_LIST_BEGIN                                        \
-asm (CTORS_SECTION_ASM_OP);                            \
-func_ptr __CTOR_LIST__[1] = { (func_ptr) (-1) }
-
-#define CTOR_LIST_END                                  \
-asm (CTORS_SECTION_ASM_OP);                            \
-func_ptr __CTOR_END__[1] = { (func_ptr) 0 };
-
-#define DTOR_LIST_BEGIN                                        \
-asm (DTORS_SECTION_ASM_OP);                            \
-func_ptr __DTOR_LIST__[1] = { (func_ptr) (-1) }
-
-#define DTOR_LIST_END                                  \
-asm (DTORS_SECTION_ASM_OP);                            \
-func_ptr __DTOR_END__[1] = { (func_ptr) 0 };
-
 /* Switch into a generic section.  */
 #define TARGET_ASM_NAMED_SECTION  default_elf_asm_named_section
 
index 1eebb7b0801a675edf45753cab7a2a34e21c7d48..fca292ab4753c5497b7343be8b319312588e21bc 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions for non-Linux based ARM systems using ELF
-   Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
    Contributed by Catherine Moore <clm@cygnus.com>
 
 This file is part of GNU CC.
@@ -69,22 +69,6 @@ rdata_section ()                                             \
     }                                                          \
 }
 
-#define CTOR_LIST_BEGIN                                        \
-  asm (CTORS_SECTION_ASM_OP);                          \
-  func_ptr __CTOR_LIST__[1] = { (func_ptr) (-1) }
-
-#define CTOR_LIST_END                                  \
-  asm (CTORS_SECTION_ASM_OP);                          \
-  func_ptr __CTOR_END__[1] = { (func_ptr) 0 };
-
-#define DTOR_LIST_BEGIN                                        \
-  asm (DTORS_SECTION_ASM_OP);                          \
-  func_ptr __DTOR_LIST__[1] = { (func_ptr) (-1) }
-
-#define DTOR_LIST_END                                  \
-  asm (DTORS_SECTION_ASM_OP);                          \
-  func_ptr __DTOR_END__[1] = { (func_ptr) 0 };
-
 /* Switch into a generic section.  */
 #define TARGET_ASM_NAMED_SECTION  default_elf_asm_named_section