projects
/
test_jj.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e80670
)
libgcc: vxcrtstuff.c: remove ctor/dtor declarations
author
Rasmus Villemoes
<rasmus.villemoes@prevas.dk>
Thu, 28 Oct 2021 11:50:22 +0000
(13:50 +0200)
committer
Rasmus Villemoes
<rv@rasmusvillemoes.dk>
Sat, 11 Dec 2021 13:33:18 +0000
(14:33 +0100)
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.
libgcc/config/vxcrtstuff.c
patch
|
blob
|
history
diff --git
a/libgcc/config/vxcrtstuff.c
b/libgcc/config/vxcrtstuff.c
index
767b9de
..
908146d
100644
(file)
--- 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;