diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-06-17 18:02:40 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-06-17 18:02:40 +0000 |
commit | c4243ff43f097b4ac4cd1b81c59a5bbb33558194 (patch) | |
tree | a461805ed432df3177ef1b06ffe358b2def29bea /sysdeps/generic/initfini.c | |
parent | b26e274db237c8e8f076ac80e2aa3afc51028f1e (diff) | |
download | glibc-c4243ff43f097b4ac4cd1b81c59a5bbb33558194.zip glibc-c4243ff43f097b4ac4cd1b81c59a5bbb33558194.tar.gz glibc-c4243ff43f097b4ac4cd1b81c59a5bbb33558194.tar.bz2 |
Tell gcc about the nonstandard sections.
Diffstat (limited to 'sysdeps/generic/initfini.c')
-rw-r--r-- | sysdeps/generic/initfini.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/initfini.c b/sysdeps/generic/initfini.c index 2b8412a..d5ef778 100644 --- a/sysdeps/generic/initfini.c +++ b/sysdeps/generic/initfini.c @@ -81,7 +81,7 @@ call_gmon_start(void) } SECTION (".init"); -extern void _init (void); +extern void __attribute__ ((section (".init"))) _init (void); void _init (void) { @@ -107,7 +107,7 @@ asm ("\n/*@_init_EPILOG_ENDS*/"); asm ("\n/*@_fini_PROLOG_BEGINS*/"); SECTION (".fini"); -extern void _fini (void); +extern void __attribute__ ((section (".fini"))) _fini (void); void _fini (void) { |