]> git.ipfire.org Git - thirdparty/glibc.git/commit - sysdeps/powerpc/powerpc32/dl-machine.h
* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
authorRoland McGrath <roland@gnu.org>
Sun, 2 Mar 2003 11:45:12 +0000 (11:45 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 2 Mar 2003 11:45:12 +0000 (11:45 +0000)
commitbb0ddc2f1eca652aa8af56825b2ba3182498cc5a
tree8b03305facff745ff0bd14c50e811dfd77cef343
parent3093b1c70cd227c3329d2bbb77cd59ce2cbdcbd4
* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):

Don't use weak_extern for dl_rtld_map.  Instead check only if [SHARED].
(elf_machine_rela): Clean up.

* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Clean up.

PowerPC TLS support contributed by Paul Mackerras <paulus@samba.org>.
* sysdeps/powerpc/powerpc32/elf/configure.in: New file.
* sysdeps/powerpc/powerpc32/elf/configure: New generated file.
* elf/tls-macros.h [__powerpc__ && !__powerpc64__]
(TLS_LE, TLS_IE, TLS_LD, TLS_GD): Define them.
* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Support
new relocs for TLS.

* sysdeps/powerpc/dl-tls.h (TLS_TP_OFFSET, TLS_DTV_OFFSET): Move these
macros out of [SHARED].
(TLS_TPREL_VALUE, TLS_DTPREL_VALUE): New macros.

* elf/elf.h: Define R_PPC_* relocs for TLS support.
Clean up R_PPC64_* macro definition comments.
24 files changed:
ChangeLog
elf/elf.h
elf/tls-macros.h
linuxthreads/ChangeLog
linuxthreads/descr.h
linuxthreads/manager.c
linuxthreads/pthread.c
linuxthreads/sysdeps/ia64/tcb-offsets.sym
linuxthreads/sysdeps/ia64/tls.h
linuxthreads/sysdeps/powerpc/powerpc64/pt-machine.h
linuxthreads/sysdeps/powerpc/tcb-offsets.sym
linuxthreads/sysdeps/powerpc/tls.h
linuxthreads/sysdeps/sh/tcb-offsets.sym
linuxthreads/sysdeps/sh/tls.h
linuxthreads/sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h
linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h
linuxthreads/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h
linuxthreads_db/ChangeLog
linuxthreads_db/td_ta_thr_iter.c
linuxthreads_db/td_thr_tls_get_addr.c
sysdeps/powerpc/powerpc32/dl-machine.h
sysdeps/powerpc/powerpc32/elf/configure [new file with mode: 0755]
sysdeps/powerpc/powerpc32/elf/configure.in [new file with mode: 0644]
sysdeps/powerpc/powerpc64/dl-machine.h