From e701397e03e045a26941ff05581cf2f04399185c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 23 Feb 2006 03:49:04 +0000 Subject: add support for __UCLIBC_CTOR_DTOR__ --- libc/sysdeps/linux/hppa/crt1.S | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libc/sysdeps') diff --git a/libc/sysdeps/linux/hppa/crt1.S b/libc/sysdeps/linux/hppa/crt1.S index cd048ed45..8b42dacde 100644 --- a/libc/sysdeps/linux/hppa/crt1.S +++ b/libc/sysdeps/linux/hppa/crt1.S @@ -37,8 +37,13 @@ .import main, code .import $global$, data .import __uClibc_main, code +#if defined(__UCLIBC_CTOR_DTOR__) .import _fini, code .import _init, code +#else + .weak _fini + .weak _init +#endif /* Have the linker create plabel words so we get PLABEL32 relocs and not 21/14 */ -- cgit v1.2.3