summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-03 00:00:10 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-03 00:00:10 +0000
commit508cea9f2811ab89876eaed00120874baf35942f (patch)
tree8905744c5b7fb356448daeff26fb6ffe1e9c9b1b /mdk-stage1
parentf0ce54a4940af06932c2be132f0c1c84a107202d (diff)
downloaddrakx-508cea9f2811ab89876eaed00120874baf35942f.tar
drakx-508cea9f2811ab89876eaed00120874baf35942f.tar.gz
drakx-508cea9f2811ab89876eaed00120874baf35942f.tar.bz2
drakx-508cea9f2811ab89876eaed00120874baf35942f.tar.xz
drakx-508cea9f2811ab89876eaed00120874baf35942f.zip
add symbols __libc_csu_fini and __libc_csu_init to be compatible with new glibc (?)
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/minilibc.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/mdk-stage1/minilibc.c b/mdk-stage1/minilibc.c
index 73d7deae5..b23484d19 100644
--- a/mdk-stage1/minilibc.c
+++ b/mdk-stage1/minilibc.c
@@ -47,6 +47,15 @@ void __libc_init_first (int __status __attribute__ ((unused)))
{
}
+void __libc_csu_fini(int __status __attribute__ ((unused)))
+{
+}
+
+void __libc_csu_init(int __status __attribute__ ((unused)))
+{
+}
+
+
int __libc_start_main (int (*main) (int, char **, char **), int argc,
char **argv, void (*init) (void) __attribute__ ((unused)), void (*fini) (void) __attribute__ ((unused)),
void (*rtld_fini) (void) __attribute__ ((unused)), void *stack_end __attribute__ ((unused)))