From f22db2ef6dc7a45f58d4df3119c17423df629d52 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 13 Aug 2001 15:05:16 -0700 Subject: [PATCH] unknown-elf.h (CTOR_LIST_BEGIN, [...]): Remove. * 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 | 6 ++++++ gcc/config/arm/conix-elf.h | 16 ---------------- gcc/config/arm/unknown-elf.h | 18 +----------------- 3 files changed, 7 insertions(+), 33 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 64649007d5d8..4e6f1b893770 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2001-08-13 Richard Henderson + + * 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 * config/svr4.h (LINK_SPEC): Don't do -Wl, here, it is done diff --git a/gcc/config/arm/conix-elf.h b/gcc/config/arm/conix-elf.h index f32228f6e88f..697210df61f0 100644 --- a/gcc/config/arm/conix-elf.h +++ b/gcc/config/arm/conix-elf.h @@ -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 diff --git a/gcc/config/arm/unknown-elf.h b/gcc/config/arm/unknown-elf.h index 1eebb7b0801a..fca292ab4753 100644 --- a/gcc/config/arm/unknown-elf.h +++ b/gcc/config/arm/unknown-elf.h @@ -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 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 -- 2.43.5