diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-02-23 03:49:04 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-02-23 03:49:04 +0000 |
commit | e701397e03e045a26941ff05581cf2f04399185c (patch) | |
tree | 8fa9b3b6b36f1ac515963850d94558b7d9c0019a /libc/sysdeps/linux/hppa | |
parent | 44bb4a058ba60cc05607246da05ff104d6716e6b (diff) | |
download | uClibc-alpine-e701397e03e045a26941ff05581cf2f04399185c.tar.bz2 uClibc-alpine-e701397e03e045a26941ff05581cf2f04399185c.tar.xz |
add support for __UCLIBC_CTOR_DTOR__
Diffstat (limited to 'libc/sysdeps/linux/hppa')
-rw-r--r-- | libc/sysdeps/linux/hppa/crt1.S | 5 |
1 files changed, 5 insertions, 0 deletions
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 */ |