diff options
author | Roland McGrath <roland@gnu.org> | 2002-12-09 20:37:37 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-12-09 20:37:37 +0000 |
commit | 06b31ad3ef500de502d461954466018aec10e437 (patch) | |
tree | 2a60f2fb3811e74b9fce595943432ddde46f023f /sysdeps/powerpc/powerpc64 | |
parent | 58a851f1082519eab4b881036dea70a8ef052f25 (diff) | |
download | glibc-06b31ad3ef500de502d461954466018aec10e437.tar.gz glibc-06b31ad3ef500de502d461954466018aec10e437.tar.xz glibc-06b31ad3ef500de502d461954466018aec10e437.zip |
* elf/Makefile (tests): Uncomment tst-array[123].
* Makeconfig (CPPFLAGS-.oS): Add -DLIBC_NONSHARED=1. * csu/elf-init.c: New file. * csu/Makefile (routines, static-only-routines): Add elf-init. * sysdeps/alpha/elf/start.S: Use __libc_csu_init in place of _init and __libc_csu_fini in place of _fini. * sysdeps/arm/elf/start.S: Likewise. * sysdeps/cris/elf/start.S: Likewise. * sysdeps/hppa/elf/start.S: Likewise. * sysdeps/i386/elf/start.S: Likewise. * sysdeps/ia64/elf/start.S: Likewise. * sysdeps/m68k/elf/start.S: Likewise. * sysdeps/mach/hurd/powerpc/static-start.S: Likewise. * sysdeps/mips/elf/start.S: Likewise. * sysdeps/powerpc/powerpc32/elf/start.S: Likewise. * sysdeps/powerpc/powerpc64/elf/start.S: Likewise. * sysdeps/s390/s390-32/elf/start.S: Likewise. * sysdeps/s390/s390-64/elf/start.S: Likewise. * sysdeps/sh/elf/start.S: Likewise. * sysdeps/sparc/sparc32/elf/start.S: Likewise. * sysdeps/sparc/sparc64/elf/start.S: Likewise. * sysdeps/x86_64/elf/start.S: Likewise.
Diffstat (limited to 'sysdeps/powerpc/powerpc64')
-rw-r--r-- | sysdeps/powerpc/powerpc64/elf/start.S | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/sysdeps/powerpc/powerpc64/elf/start.S b/sysdeps/powerpc/powerpc64/elf/start.S index 129f126e9d..65fa52c0f5 100644 --- a/sysdeps/powerpc/powerpc64/elf/start.S +++ b/sysdeps/powerpc/powerpc64/elf/start.S @@ -23,16 +23,12 @@ /* These are the various addresses we require. */ .section ".rodata" .align 3 - weak_extern(_init) - weak_extern(_fini) - weak_extern(._init) - weak_extern(._fini) L(start_addresses): .quad 0 /* was _SDA_BASE_ but not in 64-bit ABI*/ /* function descriptors so don't need JUMPTARGET */ - .quad BP_SYM(main) - .quad _init - .quad _fini + .quad BP_SYM(main) + .quad __libc_csu_init + .quad __libc_csu_fini ASM_SIZE_DIRECTIVE(L(start_addresses)) @@ -55,7 +51,7 @@ ENTRY(_start) ld r8,.L01(r2) /* and continue in libc-start, in glibc. */ - b JUMPTARGET(BP_SYM(__libc_start_main)) + b JUMPTARGET(BP_SYM(__libc_start_main)) END(_start) |