diff options
author | Luis Machado <luisgpm@br.ibm.com> | 2010-02-12 07:55:01 -0800 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2010-02-12 07:55:01 -0800 |
commit | 41288fbb784716ee01e4b6d84299a71081431ccb (patch) | |
tree | 43fee4a1f91798adeff662c0b793cad75ed49d42 /sysdeps/powerpc/powerpc32/elf | |
parent | c62cf60c6b37850ee68ea824666eadab99ff718f (diff) | |
download | glibc-41288fbb784716ee01e4b6d84299a71081431ccb.tar.gz glibc-41288fbb784716ee01e4b6d84299a71081431ccb.tar.xz glibc-41288fbb784716ee01e4b6d84299a71081431ccb.zip |
Cleanup old obsolete PPC_REL16 checks
Diffstat (limited to 'sysdeps/powerpc/powerpc32/elf')
-rw-r--r-- | sysdeps/powerpc/powerpc32/elf/start.S | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sysdeps/powerpc/powerpc32/elf/start.S b/sysdeps/powerpc/powerpc32/elf/start.S index a8abdca0c6..dc89a5e109 100644 --- a/sysdeps/powerpc/powerpc32/elf/start.S +++ b/sysdeps/powerpc/powerpc32/elf/start.S @@ -53,10 +53,6 @@ L(start_addresses): ASM_SIZE_DIRECTIVE(L(start_addresses)) .section ".text" -#if defined PIC && !defined HAVE_ASM_PPC_REL16 -L(start_addressesp): - .long L(start_addresses)-L(branch) -#endif ENTRY(_start) /* Save the stack pointer, in case we're statically linked under Linux. */ mr r9,r1 @@ -77,16 +73,10 @@ L(branch): start_addresses in r8. Also load the GOT pointer so that new PLT calls work, like the one to __libc_start_main. */ #ifdef PIC -# ifdef HAVE_ASM_PPC_REL16 addis r30,r13,_GLOBAL_OFFSET_TABLE_-L(branch)@ha addis r8,r13,L(start_addresses)-L(branch)@ha addi r30,r30,_GLOBAL_OFFSET_TABLE_-L(branch)@l lwzu r13,L(start_addresses)-L(branch)@l(r8) -# else - lwz r8,L(start_addressesp)-L(branch)(r13) - add r8,r13,r8 - lwz r13,0(r8) -# endif #else lis r8,L(start_addresses)@ha lwzu r13,L(start_addresses)@l(r8) |