This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
ports ./ChangeLog.mips sysdeps/mips/dl-dtprocn ...
- From: drow at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 1 Oct 2008 13:28:14 -0000
- Subject: ports ./ChangeLog.mips sysdeps/mips/dl-dtprocn ...
CVSROOT: /cvs/glibc
Module name: ports
Changes by: drow@sourceware.org 2008-10-01 13:28:14
Modified files:
. : ChangeLog.mips
sysdeps/mips : dl-dtprocnum.h dl-machine.h dl-trampoline.c
tls-macros.h
sysdeps/unix/sysv/linux/mips/mips32: sysdep.h
sysdeps/unix/sysv/linux/mips/nptl: sysdep-cancel.h
Added files:
sysdeps/mips : dl-lookup.c do-lookup.h
sysdeps/mips/bits: linkmap.h
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/ports/ChangeLog.mips.diff?cvsroot=glibc&r1=1.61&r2=1.62
http://sourceware.org/cgi-bin/cvsweb.cgi/ports/sysdeps/mips/dl-lookup.c.diff?cvsroot=glibc&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/ports/sysdeps/mips/do-lookup.h.diff?cvsroot=glibc&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/ports/sysdeps/mips/dl-dtprocnum.h.diff?cvsroot=glibc&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/ports/sysdeps/mips/dl-machine.h.diff?cvsroot=glibc&r1=1.83&r2=1.84
http://sourceware.org/cgi-bin/cvsweb.cgi/ports/sysdeps/mips/dl-trampoline.c.diff?cvsroot=glibc&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/ports/sysdeps/mips/tls-macros.h.diff?cvsroot=glibc&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/ports/sysdeps/mips/bits/linkmap.h.diff?cvsroot=glibc&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/ports/sysdeps/unix/sysv/linux/mips/mips32/sysdep.h.diff?cvsroot=glibc&r1=1.6&r2=1.7
http://sourceware.org/cgi-bin/cvsweb.cgi/ports/sysdeps/unix/sysv/linux/mips/nptl/sysdep-cancel.h.diff?cvsroot=glibc&r1=1.2&r2=1.3