Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/libexec/ld.elf_so



Module Name:    src
Committed By:   matt
Date:           Thu Jul 24 04:39:26 UTC 2008

Modified Files:
        src/libexec/ld.elf_so: rtld.c symbol.c
        src/libexec/ld.elf_so/arch/alpha: alpha_reloc.c
        src/libexec/ld.elf_so/arch/arm: mdreloc.c
        src/libexec/ld.elf_so/arch/hppa: hppa_reloc.c
        src/libexec/ld.elf_so/arch/i386: mdreloc.c
        src/libexec/ld.elf_so/arch/m68k: mdreloc.c
        src/libexec/ld.elf_so/arch/mips: mips_reloc.c
        src/libexec/ld.elf_so/arch/powerpc: ppc_reloc.c
        src/libexec/ld.elf_so/arch/sh3: mdreloc.c
        src/libexec/ld.elf_so/arch/sparc: mdreloc.c
        src/libexec/ld.elf_so/arch/sparc64: mdreloc.c
        src/libexec/ld.elf_so/arch/vax: mdreloc.c
        src/libexec/ld.elf_so/arch/x86_64: mdreloc.c

Log Message:
Refactor common code to _rtld_relocate_plt_object to i386 and arm so they
act like the other versions.
In _rtld_bind, if the result is 0, call _rtld_die.
Initialize _rtld_sym_zero.st_value to -_rtld_objself.maprelocbase.  Now when
the symbol is resolved, st_value + maprelocbase will equal 0 and the above
check in _rtld_bind will fire and a call to NULL will be avoided.


To generate a diff of this commit:
cvs rdiff -r1.119 -r1.120 src/libexec/ld.elf_so/rtld.c
cvs rdiff -r1.45 -r1.46 src/libexec/ld.elf_so/symbol.c
cvs rdiff -r1.30 -r1.31 src/libexec/ld.elf_so/arch/alpha/alpha_reloc.c
cvs rdiff -r1.27 -r1.28 src/libexec/ld.elf_so/arch/arm/mdreloc.c
cvs rdiff -r1.26 -r1.27 src/libexec/ld.elf_so/arch/hppa/hppa_reloc.c
cvs rdiff -r1.25 -r1.26 src/libexec/ld.elf_so/arch/i386/mdreloc.c
cvs rdiff -r1.20 -r1.21 src/libexec/ld.elf_so/arch/m68k/mdreloc.c
cvs rdiff -r1.52 -r1.53 src/libexec/ld.elf_so/arch/mips/mips_reloc.c
cvs rdiff -r1.40 -r1.41 src/libexec/ld.elf_so/arch/powerpc/ppc_reloc.c
cvs rdiff -r1.22 -r1.23 src/libexec/ld.elf_so/arch/sh3/mdreloc.c
cvs rdiff -r1.40 -r1.41 src/libexec/ld.elf_so/arch/sparc/mdreloc.c
cvs rdiff -r1.42 -r1.43 src/libexec/ld.elf_so/arch/sparc64/mdreloc.c
cvs rdiff -r1.21 -r1.22 src/libexec/ld.elf_so/arch/vax/mdreloc.c
cvs rdiff -r1.31 -r1.32 src/libexec/ld.elf_so/arch/x86_64/mdreloc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index