glibc/sysdeps/unix/sysv/linux/mips
Daniel Jacobowitz 63fb881a04 2008-10-01 Mark Shinwell <shinwell@codesourcery.com>
Daniel Jacobowitz  <dan@codesourcery.com>
	    Richard Sandiford  <rdsandiford@googlemail.com>

	* sysdeps/mips/dl-dtprocnum.h (DT_MIPS_NUM): Redefine.
	* sysdeps/mips/dl-lookup.c: New.
	* sysdeps/mips/do-lookup.h: New.
	* sysdeps/mips/dl-machine.h (ELF_MACHINE_NO_PLT): Remove
	definition.
	(STO_MIPS_PLT, R_MIPS_COPY, R_MIPS_JUMP_SLOT, DT_MIPS_PLTGOT): Define
	if needed.
	(ELF_MACHINE_JMP_SLOT): Alter definition and update comment.
	(elf_machine_type_class): Likewise.
	(ELF_MACHINE_PLT_REL): Define.
	(elf_machine_fixup_plt): New.
	(elf_machine_plt_value): New.
	(elf_machine_reloc): Handle jump slot and copy relocations.
	(elf_machine_lazy_rel): Point relocation place at PLT if
	required.
	(RESOLVE_GOTSYM): Take a relocation type argument.
	(elf_machine_got_rel): Bind lazy stubs directly to their target if
	!lazy.  Skip lazy binding for PLT symbols.
	(elf_machine_runtime_setup): Fill in .got.plt header.
	* sysdeps/mips/dl-trampoline.c (IFNEWABI): New macro.
	(ELF_DL_PLT_FRAME_SIZE, ELF_DL_PLT_SAVE_ARG_REGS,
	ELF_DL_PLT_RESTORE_ARG_REGS): Define.
	(_dl_runtime_pltresolve): New.
	* sysdeps/mips/bits/linkmap.h: New file.
	* sysdeps/mips/tls-macros.h: Load $gp as required.  Merge 32-bit and
	64-bit versions.

	* sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (SYSCALL_ERROR_LABEL):
	Delete definition.
	* sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h (PSEUDO_CPLOAD,
	PSEUDO_ERRJMP, PSEUDO_SAVEGP, PSEUDO_LOADGP): Define.
	(PSEUDO): Use them.  Move outside __PIC__.
	(PSEUDO_JMP): New.
	(CENABLE, CDISABLE): Use it.
2008-10-01 13:28:14 +00:00
..
bits * sysdeps/unix/sysv/linux/mips/bits/socket.h: Define SOCK_CLOEXEC, 2008-08-19 16:12:35 +00:00
mips32 2008-10-01 Mark Shinwell <shinwell@codesourcery.com> 2008-10-01 13:28:14 +00:00
mips64 2008-04-02 Aurelien Jarno <aurelien@aurel32.net> 2008-04-02 12:58:39 +00:00
nptl 2008-10-01 Mark Shinwell <shinwell@codesourcery.com> 2008-10-01 13:28:14 +00:00
sys * sysdeps/unix/sysv/linux/mips/sys/epoll.h: Change epoll_create2 2008-08-19 16:53:11 +00:00
_test_and_set.c Update to LGPL v2.1. 2001-07-06 04:56:23 +00:00
brk.c Fix last commit. 2006-01-04 12:37:37 +00:00
clone.S Add space inf weak_alias use. 2005-05-26 14:30:48 +00:00
configure * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir, 2006-03-11 16:18:41 +00:00
configure.in * sysdeps/unix/sysv/linux/mips/configure.in: Set libc_cv_slibdir, 2006-03-11 16:18:41 +00:00
dl-cache.h * sysdeps/unix/sysv/linux/mips/dl-cache.h (_DL_CACHE_DEFAULT_ID): 2007-08-06 17:45:09 +00:00
entry.h [!__ASSEMBLY__]: Declare __start. 2001-04-10 22:32:04 +00:00
fcntl.c fcntl/fcntl64 for Linux/MIPS. 2000-09-07 11:56:20 +00:00
ftruncate64.c 2006-01-08 Roland McGrath <roland@redhat.com> 2006-01-08 08:21:17 +00:00
getmsg.c Add missing #. 1999-12-21 16:01:52 +00:00
getpagesize.c [BZ #1047] 2005-09-16 13:12:44 +00:00
getsysstats.c Update to LGPL v2.1. 2001-07-06 04:56:23 +00:00
ipc_priv.h MIPS specific file. MIPS always had 32 bit uids. 2000-09-18 16:39:27 +00:00
kernel_sigaction.h * sysdeps/mips/sgidefs.h (_MIPS_ISA_MIPS32, _MIPS_ISA_MIPS64): 2003-03-25 21:51:53 +00:00
kernel_stat.h * sysdeps/unix/sysv/linux/mips/kernel_stat.h (struct kernel_stat): 2006-06-02 15:29:03 +00:00
kernel_termios.h Update to LGPL v2.1. 2001-07-06 04:56:23 +00:00
kernel-features.h 2006-02-20 Roland McGrath <roland@redhat.com> 2006-02-21 02:12:56 +00:00
lockf64.c Linux/MIPS specific lockf64 version. 2000-09-07 15:44:15 +00:00
Makefile 2004-11-11 Richard Sandiford <rsandifo@redhat.com> 2005-02-25 15:18:13 +00:00
pipe.S Add newline at EOF. 2000-04-14 17:53:07 +00:00
pread64.c Include sgidefs.h only if NO_SGIDEFS_H isn't defined. Don't include 2004-11-27 20:01:03 +00:00
pread.c Include sgidefs.h only if NO_SGIDEFS_H isn't defined. Don't include 2004-11-27 20:01:03 +00:00
profil-counter.h * sysdeps/unix/sysv/linux/mips/profil-counter: New. 2003-04-13 11:36:32 +00:00
putmsg.c Add missing #. 1999-12-21 16:01:52 +00:00
pwrite64.c Include sgidefs.h only if NO_SGIDEFS_H isn't defined. Don't include 2004-11-27 20:01:03 +00:00
pwrite.c Include sgidefs.h only if NO_SGIDEFS_H isn't defined. Don't include 2004-11-27 20:01:03 +00:00
readelflib.c 2005-12-15 Roland McGrath <roland@redhat.com> 2005-12-15 21:10:12 +00:00
register-dump.h * sysdeps/unix/sysv/linux/mips/register-dump.h (register_dump): Don't 2006-05-10 18:57:03 +00:00
sigaction.c * sysdeps/unix/sysv/linux/mips/sigaction.c: If WRAPPER_INCLUDE is 2006-07-24 15:42:07 +00:00
sigcontextinfo.h Use _ABIO32, _ABIN32 and _ABI64 for ABI selection throughout. 2004-11-24 04:37:35 +00:00
syscalls.list (__syscall_*): Remove unused __syscall_ stubs. 2003-09-03 03:16:40 +00:00
truncate64.c 2006-01-08 Roland McGrath <roland@redhat.com> 2006-01-08 08:21:17 +00:00
ustat.c Remove unused __syscall_* prototypes. 2003-09-03 03:21:27 +00:00
Versions 2002-11-05 Roland McGrath <roland@redhat.com> 2002-11-06 02:53:24 +00:00
vfork.S Add space inf weak_alias use. 2005-05-26 14:30:48 +00:00
xstatconv.c * sysdeps/unix/sysv/linux/mips/xstatconv.c: Remove STAT_IS_KERNEL_STAT 2006-09-22 17:36:23 +00:00