diff options
author | Mark Mitchell <mark@codesourcery.com> | 2007-03-21 05:21:31 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2007-03-21 05:21:31 +0000 |
commit | 9f2966203fa776ec02ce2963ca1c6aeb1473234b (patch) | |
tree | 6cfa6c062bc3b71e9372d7e6b1838f9a254fee6f /gcc/config/arm/elf.h | |
parent | 22d33984e2a3df1ee5821564d8c4f47ff106c198 (diff) | |
download | gcc-9f2966203fa776ec02ce2963ca1c6aeb1473234b.zip gcc-9f2966203fa776ec02ce2963ca1c6aeb1473234b.tar.gz gcc-9f2966203fa776ec02ce2963ca1c6aeb1473234b.tar.bz2 |
elf.h (TARGET_ASM_DESTRUCTOR): Define.
* config/arm/elf.h (TARGET_ASM_DESTRUCTOR): Define.
* config/arm/arm.c (arm_elf_asm_cdtor): New function.
(arm_elf_asm_constructor): Use it.
(arm_elf_asm_destructor): New function.
From-SVN: r123103
Diffstat (limited to 'gcc/config/arm/elf.h')
-rw-r--r-- | gcc/config/arm/elf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/arm/elf.h b/gcc/config/arm/elf.h index 41bc774..89584ce 100644 --- a/gcc/config/arm/elf.h +++ b/gcc/config/arm/elf.h @@ -127,6 +127,9 @@ #undef TARGET_ASM_CONSTRUCTOR #define TARGET_ASM_CONSTRUCTOR arm_elf_asm_constructor +#undef TARGET_ASM_DESTRUCTOR +#define TARGET_ASM_DESTRUCTOR arm_elf_asm_destructor + /* For PIC code we need to explicitly specify (PLT) and (GOT) relocs. */ #define NEED_PLT_RELOC flag_pic #define NEED_GOT_RELOC flag_pic |