glibc/sysdeps/unix/sysv/linux
Ulrich Drepper 99c7f8700d * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup):
Handle prelinked libraries and binaries with new style PLT.

2005-06-07  Jakub Jelinek  <jakub@redhat.com>

	* elf/elf.h (R_PPC_REL16, R_PPC_REL16_LO, R_PPC_REL16_HI,
	R_PPC_REL16_HA): Define.

2005-06-14  Alan Modra  <amodra@bigpond.net.au>

	* config.h.in (HAVE_ASM_PPC_REL16): Add.
	* elf/elf.h (DT_PPC_GOT, DT_PPC_NUM): Define.
	* elf/tls-macros.h (PowerPC32): Include config.h.  Add variants of
	TLS_IE, TLS_LD and TLS_GD for new PLT/GOT layout.
	* sysdeps/powerpc/powerpc32/configure.in: New file,
	* sysdeps/powerpc/powerpc32/dl-dtprocnum.h: New file.
	* sysdeps/powerpc/powerpc32/dl-machine.h (DT_PPC): Define.
	(ppc_got): New inline function.
	(elf_machine_dynamic): Use ppc_got.  Add attribute const.
	(elf_machine_load_address): Add attribute const.  Don't use int vars.
	Use bcl rather than bl to save trashing branch target stack.  Use
	elf_machine_dynamic rather than duplicating code here.
	(elf_machine_runtime_setup): New inline function replacing define.
	Handle new PLT.
	(elf_machine_fixup_plt): Handle new PLT.
	(elf_machine_rela): Likewise.
	* sysdeps/powerpc/powerpc32/sysdep.h: Include config.h.
	(CALL_MCOUNT): Don't set up counter vars.
	* sysdeps/powerpc/powerpc32/ppc-mcount.S: Correct comment.
	* sysdeps/powerpc/powerpc32/elf/start.S (start_addressesp): Don't
	define when HAVE_ASM_PPC_REL16.
	(_start): Add HAVE_ASM_PPC_REL16 code.
	* sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Don't bl
	into the GOT when HAVE_ASM_PPC_REL16.
	* sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
	* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S (__longjmp): Ditto.
	* sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Likewise.
	* sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
	* sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
	* sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
	* sysdeps/powerpc/powerpc32/fpu/s_lround.S (__lround): Likewise.
	* sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
	* sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
	* sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
	* sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
	* sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
	* sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
	* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S (__sigsetjmp):
	Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S (__brk): Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
	(__getcontext): Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
	(__setcontext): Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
	(__swapcontext): Likewise.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S (stackblock):
	Comment.
	(__socket): Bomb if NARGS >= 7.  Invoke CGOTSETUP and CGOTRESTORE.

2005-06-17  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/posix/sigignore.c: Include <string.h> to tell the compiler
	to use __GI_memset.
	* sysdeps/posix/signal.c: Likewise.
	* sysdeps/posix/sigset.c: Likewise.
	* sysdeps/posix/sysv_signal.c: Likewise.
	* sysdeps/unix/sysv/linux/sleep.c: Likewise.
	* sysdeps/unix/sysv/linux/sysctl.c: Likewise.
	* sysdeps/unix/sysv/linux/system.c: Likewise.
2005-06-17 23:11:35 +00:00
..
alpha [BZ #954] 2005-05-26 19:08:49 +00:00
bits * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t 2005-03-20 16:51:05 +00:00
hppa Add space inf weak_alias use. 2005-05-26 14:30:51 +00:00
i386 Add space inf weak_alias use. 2005-05-26 14:30:51 +00:00
ia64 Add space inf weak_alias use. 2005-05-26 14:30:51 +00:00
m68k 2.5-18.1 2007-07-12 18:26:36 +00:00
mips Add space inf weak_alias use. 2005-05-26 14:30:51 +00:00
net 2.5-18.1 2007-07-12 18:26:36 +00:00
netash
netatalk
netax25
neteconet
netinet [BZ #966] 2005-06-14 00:56:49 +00:00
netipx
netpacket
netrom
netrose
nfs
powerpc * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup): 2005-06-17 23:11:35 +00:00
s390 Add space inf weak_alias use. 2005-05-26 14:30:51 +00:00
scsi
sh * sysdeps/unix/sysv/linux/sh/bits/mman.h: Define MAP_POPULATE and 2005-03-13 09:56:29 +00:00
sparc Add space inf weak_alias use. 2005-05-26 14:30:51 +00:00
sys [BZ #720] 2005-02-15 00:16:39 +00:00
wordsize-64 Add space inf weak_alias use. 2005-05-26 14:30:51 +00:00
x86_64 Add space inf weak_alias use. 2005-05-26 14:30:51 +00:00
Dist 2.5-18.1 2007-07-12 18:26:36 +00:00
Implies
Makefile 2.5-18.1 2007-07-12 18:26:36 +00:00
Versions 2.5-18.1 2007-07-12 18:26:36 +00:00
_exit.c
a.out.h
accept.S
adjtime.c * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use prototype style definition. * sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIME): If __ASSUME_TIMEVAL64, define __adjtime directly rather than via strong_alias. 2004-10-15 07:06:56 +00:00
aio_sigqueue.c 2.5-18.1 2007-07-12 18:26:36 +00:00
bind.S
check_pf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
clock.c
clock_getcpuclockid.c (clock_getcpuclockid): Always return a defined value. 2005-05-21 18:18:19 +00:00
clock_getres.c * sysdeps/unix/sysv/linux/clock_getres.c: Include <time.h>. 2005-05-09 19:23:39 +00:00
clock_gettime.c * sysdeps/unix/sysv/linux/clock_getres.c: Include <time.h>. 2005-05-09 19:23:39 +00:00
clock_nanosleep.c 2005-04-27 Roland McGrath <roland@redhat.com> 2005-04-27 08:01:41 +00:00
clock_settime.c 2.5-18.1 2007-07-12 18:26:36 +00:00
cmsg_nxthdr.c
configure Add sparc64 TLS and NPTL support. 2005-04-14 21:46:37 +00:00
configure.in Add sparc64 TLS and NPTL support. 2005-04-14 21:46:37 +00:00
connect.S
device-nrs.h 2.5-18.1 2007-07-12 18:26:36 +00:00
dl-brk.c
dl-execstack.c * sysdeps/sh/dl-machine.h (elf_machine_rela): Remove code using 2005-02-08 08:25:22 +00:00
dl-librecon.h
dl-origin.c
dl-osinfo.h (DL_SYSDEP_OSCHECK): If GLRO(dl_osversion) has been already set to a value smaller than _dl_discover_osversion (), don't overwrite it here. 2005-05-30 20:22:25 +00:00
dl-sbrk.c 2.5-18.1 2007-07-12 18:26:36 +00:00
dl-sysdep.c 2.5-18.1 2007-07-12 18:26:36 +00:00
dl-sysdep.h [BZ #781, BZ #796] 2005-04-28 22:31:00 +00:00
errqueue.h
execve.c
exit-thread.S
fatal-prepare.h
fcntl.c
fd_to_filename.h
fexecve.c
fpathconf.c
fstatfs64.c
fstatvfs.c
fstatvfs64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ftime.c
ftruncate64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
futimes.c (__futimes): Use __set_errno. 2005-01-07 04:56:33 +00:00
fxstat.c
fxstat64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
gai_sigqueue.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getclktck.c
getcwd.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getdents.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getdents64.c
getdirentries.c
getdirentries64.c
getdtsz.c
gethostid.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getipv4sourcefilter.c
getloadavg.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getpagesize.c
getpeername.S
getpriority.c
getpt.c
getsockname.S
getsockopt.S
getsourcefilter.c 2.5-18.1 2007-07-12 18:26:36 +00:00
getsysstats.c 2.5-18.1 2007-07-12 18:26:36 +00:00
grantpt.c
if_index.c [BZ #966] 2005-06-14 00:56:49 +00:00
ifaddrs.c [BZ #966] 2005-06-14 00:56:49 +00:00
ifreq.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ifreq.h 2.5-18.1 2007-07-12 18:26:36 +00:00
init-first.c (__libc_init_first): Don't make __libc_init_first hidden. 2005-01-07 19:21:52 +00:00
internal_statvfs.c 2.5-18.1 2007-07-12 18:26:36 +00:00
internal_statvfs64.c
ipc_priv.h
kernel-features.h * sysdeps/unix/sysv/linux/kernel-features.h: waitid is available 2005-05-03 22:59:51 +00:00
kernel-posix-cpu-timers.h 2005-04-27 Roland McGrath <roland@redhat.com> 2005-04-27 08:01:41 +00:00
kernel_sigaction.h
kernel_stat.h
kernel_termios.h
ldd-rewrite.sed
lddlibc4.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ldsodefs.h 2.5-18.1 2007-07-12 18:26:36 +00:00
libc_fatal.c * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Use 2005-02-22 23:11:01 +00:00
linux_fsinfo.h 2.5-18.1 2007-07-12 18:26:36 +00:00
listen.S
llseek.c
lseek64.c
lxstat.c
lxstat64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
makedev.c
mmap64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mq_close.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mq_getattr.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mq_notify.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mq_open.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mq_receive.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mq_send.c 2.5-18.1 2007-07-12 18:26:36 +00:00
mq_unlink.c 2.5-18.1 2007-07-12 18:26:36 +00:00
msgctl.c 2.5-18.1 2007-07-12 18:26:36 +00:00
msgget.c
msgrcv.c 2.5-18.1 2007-07-12 18:26:36 +00:00
msgsnd.c
netlinkaccess.h [BZ #966] 2005-06-14 00:56:49 +00:00
nice.c
not-cancel.h 2.5-18.1 2007-07-12 18:26:36 +00:00
nscd_setup_thread.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ntp_gettime.c
open64.c
opendir.c 2.5-18.1 2007-07-12 18:26:36 +00:00
opensock.c
pathconf.c
pathconf.h
paths.h 2.5-18.1 2007-07-12 18:26:36 +00:00
poll.c 2.5-18.1 2007-07-12 18:26:36 +00:00
posix_fadvise.c
posix_fadvise64.c
pread.c 2.5-18.1 2007-07-12 18:26:36 +00:00
pread64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
prof-freq.c 2.5-18.1 2007-07-12 18:26:36 +00:00
profil.c
ptrace.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ptsname.c
pwrite.c 2.5-18.1 2007-07-12 18:26:36 +00:00
pwrite64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
readahead.c
readdir64.c Add space inf weak_alias use. 2005-05-26 14:30:51 +00:00
readdir64_r.c Add space inf weak_alias use. 2005-05-26 14:30:51 +00:00
readonly-area.c 2.5-18.1 2007-07-12 18:26:36 +00:00
readv.c
reboot.c
recv.S
recvfrom.S
recvmsg.S
sa_len.c
sched_getaffinity.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sched_setaffinity.c 2.5-18.1 2007-07-12 18:26:36 +00:00
segfault.c 2.5-18.1 2007-07-12 18:26:36 +00:00
semctl.c 2.5-18.1 2007-07-12 18:26:36 +00:00
semget.c
semop.c
semtimedop.c
send.S
sendmsg.S
sendto.S
setegid.c 2.5-18.1 2007-07-12 18:26:36 +00:00
seteuid.c 2.5-18.1 2007-07-12 18:26:36 +00:00
setgid.c Remove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h includes. Include setxid.h. Use INLINE_SETXID_SYSCALL macro instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded snippets. 2004-11-12 01:15:06 +00:00
sethostid.c
setipv4sourcefilter.c
setregid.c Remove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h includes. Include setxid.h. Use INLINE_SETXID_SYSCALL macro instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded snippets. 2004-11-12 01:15:06 +00:00
setresgid.c Remove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h includes. Include setxid.h. Use INLINE_SETXID_SYSCALL macro instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded snippets. 2004-11-12 01:15:06 +00:00
setresuid.c Remove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h includes. Include setxid.h. Use INLINE_SETXID_SYSCALL macro instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded snippets. 2004-11-12 01:15:06 +00:00
setreuid.c Remove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h includes. Include setxid.h. Use INLINE_SETXID_SYSCALL macro instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded snippets. 2004-11-12 01:15:06 +00:00
setsockopt.S
setsourcefilter.c 2.5-18.1 2007-07-12 18:26:36 +00:00
setuid.c Remove sys/syscall.h, sys/types.h, linux/posix_types.h, sysdep.h and pthread-functions.h includes. Include setxid.h. Use INLINE_SETXID_SYSCALL macro instead of INLINE_SYSCALL, kill the HAVE_PTR__NPTL_SETXID guarded snippets. 2004-11-12 01:15:06 +00:00
shm_open.c 2.5-18.1 2007-07-12 18:26:36 +00:00
shm_unlink.c
shmat.c
shmctl.c 2.5-18.1 2007-07-12 18:26:36 +00:00
shmdt.c
shmget.c
shutdown.S
sigaction.c 2.5-18.1 2007-07-12 18:26:36 +00:00
siglist.h
signal.c
sigpending.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sigprocmask.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sigqueue.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sigreturn.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sigset-cvt-mask.h
sigstack.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sigsuspend.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sigtimedwait.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sigwait.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sigwaitinfo.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sizes.h
sleep.c * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup): 2005-06-17 23:11:35 +00:00
socketcall.h
socketpair.S
speed.c
statfs64.c
statvfs.c
statvfs64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
syscalls.list 2.5-18.1 2007-07-12 18:26:36 +00:00
sysconf.c 2.5-18.1 2007-07-12 18:26:36 +00:00
sysctl.c * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup): 2005-06-17 23:11:35 +00:00
syslog.c Update. 2005-01-24 22:57:26 +00:00
system.c * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup): 2005-06-17 23:11:35 +00:00
tcdrain.c
tcflow.c 2.5-18.1 2007-07-12 18:26:36 +00:00
tcflush.c 2.5-18.1 2007-07-12 18:26:36 +00:00
tcgetattr.c 2.5-18.1 2007-07-12 18:26:36 +00:00
tcgetpgrp.c
tcsetattr.c 2.5-18.1 2007-07-12 18:26:36 +00:00
tcsetpgrp.c
termio.h
testrtsig.h 2.5-18.1 2007-07-12 18:26:36 +00:00
truncate64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ttyname.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ttyname_r.c 2.5-18.1 2007-07-12 18:26:36 +00:00
ualarm.c
ulimit.c
umount.S
umount2.S
unlockpt.c
updwtmp.c 2.5-18.1 2007-07-12 18:26:36 +00:00
usleep.c
ustat.c
utimes.c 2.5-18.1 2007-07-12 18:26:36 +00:00
utmp_file.c 2.5-18.1 2007-07-12 18:26:36 +00:00
vfork.c 2.5-18.1 2007-07-12 18:26:36 +00:00
wait.c
wait3.c
waitid.c Update. 2004-10-30 18:04:21 +00:00
waitpid.c
writev.c
xmknod.c
xstat.c
xstat64.c 2.5-18.1 2007-07-12 18:26:36 +00:00
xstatconv.c
xstatconv.h 2.5-18.1 2007-07-12 18:26:36 +00:00