1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Remove .ctors' and .dtors' output sections

This commit is contained in:
H.J. Lu
2010-12-24 20:14:37 -05:00
committed by Ulrich Drepper
parent 07eb4b716e
commit 4a531bb0b3
11 changed files with 209 additions and 159 deletions

View File

@ -3,6 +3,7 @@
the `.ctors' and `.dtors' sections so the lists are terminated, and
calling those lists of functions. */
#ifndef NO_CTORS_DTORS_SECTIONS
#include <libc-internal.h>
#include <stdlib.h>
@ -40,3 +41,4 @@ __libc_fini (void)
void (*_fini_ptr) (void) __attribute__ ((section (".fini_array")))
= &__libc_fini;
#endif