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.
This commit is contained in:
parent
2e8067041d
commit
8b2885dee5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user