diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2021-10-28 13:50:22 +0200 |
---|---|---|
committer | Rasmus Villemoes <rv@rasmusvillemoes.dk> | 2021-12-11 14:33:18 +0100 |
commit | 8b2885dee57e6e91b6265248f1de88fd53d61ce4 (patch) | |
tree | 2070f7488c4b2a444617837a35821966a4067f12 /libgcc/config | |
parent | 2e8067041d1d69da02bd7578f58abc11eb35a04b (diff) | |
download | gcc-8b2885dee57e6e91b6265248f1de88fd53d61ce4.zip gcc-8b2885dee57e6e91b6265248f1de88fd53d61ce4.tar.gz gcc-8b2885dee57e6e91b6265248f1de88fd53d61ce4.tar.bz2 |
libgcc: vxcrtstuff.c: remove ctor/dtor declarations
These declarations prevent the priority given in the
constructor/destructor attributes from taking effect, thus emitting
the function pointers in the ordinary (lowest-priority)
.init_array/.fini_array sections.
libgcc/
* config/vxcrtstuff.c: Remove constructor/destructor
declarations.
Diffstat (limited to 'libgcc/config')
-rw-r--r-- | libgcc/config/vxcrtstuff.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libgcc/config/vxcrtstuff.c b/libgcc/config/vxcrtstuff.c index 767b9de..908146d 100644 --- a/libgcc/config/vxcrtstuff.c +++ b/libgcc/config/vxcrtstuff.c @@ -96,9 +96,6 @@ __attribute__((section(__LIBGCC_EH_FRAME_SECTION_NAME__), aligned(4))) #endif /* USE_INITFINI_ARRAY */ -void EH_CTOR_NAME (void); -void EH_DTOR_NAME (void); - EH_CTOR_ATTRIBUTE void EH_CTOR_NAME (void) { static struct object object; |