OSDN Git Service

add support for __UCLIBC_CTOR_DTOR__
authorMike Frysinger <vapier@gentoo.org>
Thu, 23 Feb 2006 03:49:04 +0000 (03:49 -0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 23 Feb 2006 03:49:04 +0000 (03:49 -0000)
libc/sysdeps/linux/hppa/crt1.S

index cd048ed..8b42dac 100644 (file)
        .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 */