aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/arm/elf.h
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2007-03-21 05:21:31 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2007-03-21 05:21:31 +0000
commit9f2966203fa776ec02ce2963ca1c6aeb1473234b (patch)
tree6cfa6c062bc3b71e9372d7e6b1838f9a254fee6f /gcc/config/arm/elf.h
parent22d33984e2a3df1ee5821564d8c4f47ff106c198 (diff)
downloadgcc-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.h3
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