Source-Changes archive

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

CVS commit: [netbsd-8] src/libexec/ld.elf_so/arch/sparc64



Module Name:    src
Committed By:   snj
Date:           Tue Jul 25 02:19:04 UTC 2017

Modified Files:
        src/libexec/ld.elf_so/arch/sparc64 [netbsd-8]: mdreloc.c

Log Message:
Pull up following revision(s) (requested by martin in ticket #156):
        libexec/ld.elf_so/arch/sparc64/mdreloc.c: 1.62, 1.63
Simplify and fix the offset calculation when doing a %pc relative
branch from the PLT slot to the target.
--
Fix thinko in previous: even if the address is an unsigned value and we
have verified the range before, we still need to mask the bit pattern
to the target instruction field.


To generate a diff of this commit:
cvs rdiff -u -r1.59.6.1 -r1.59.6.2 \
    src/libexec/ld.elf_so/arch/sparc64/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