diff options
author | Mark Mitchell <mark@codesourcery.com> | 2005-04-29 14:22:10 +0000 |
---|---|---|
committer | Julian Brown <jules@gcc.gnu.org> | 2005-04-29 14:22:10 +0000 |
commit | 88c6057f1decb05de984570727588fc29093aaf4 (patch) | |
tree | f42ebe0890b56f17574eed62d7ddb4e56d6a8274 /gcc/config/arm/symbian.h | |
parent | 9e811ecd1a55fa5354b35deb5329d861d040a430 (diff) | |
download | gcc-88c6057f1decb05de984570727588fc29093aaf4.zip gcc-88c6057f1decb05de984570727588fc29093aaf4.tar.gz gcc-88c6057f1decb05de984570727588fc29093aaf4.tar.bz2 |
arm.h (ARM_EABI_CTORS_SECTION_OP): Do not define if a definition has already been provided.
* config/arm/arm.h (ARM_EABI_CTORS_SECTION_OP): Do not define if a
definition has already been provided.
(ARM_EABI_DTORS_SECTION_OP): Likewise.
* config/arm/symbian.h (ARM_EABI_CTORS_SECTION_OP): Define.
(ARM_EABI_DTORS_SECTION_OP): Likewise.
From-SVN: r98988
Diffstat (limited to 'gcc/config/arm/symbian.h')
-rw-r--r-- | gcc/config/arm/symbian.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config/arm/symbian.h b/gcc/config/arm/symbian.h index 08ea763..4f5ac37 100644 --- a/gcc/config/arm/symbian.h +++ b/gcc/config/arm/symbian.h @@ -88,6 +88,14 @@ } \ while (false) +/* On SymbianOS, these sections are not writable, so we use "a", + rather than "aw", for the section attributes. */ +#undef ARM_EABI_CTORS_SECTION_OP +#define ARM_EABI_CTORS_SECTION_OP \ + "\t.section\t.init_array,\"a\",%init_array" +#undef ARM_EABI_DTORS_SECTION_OP +#define ARM_EABI_DTORS_SECTION_OP \ + "\t.section\t.fini_array,\"a\",%fini_array" /* SymbianOS cannot merge entities with vague linkage at runtime. */ #define TARGET_ARM_DYNAMIC_VAGUE_LINKAGE_P false |