PERFORCE change 227299 for review
Robert Watson
rwatson at FreeBSD.org
Mon Apr 1 22:46:16 UTC 2013
http://p4web.freebsd.org/@@227299?ac=10
Change 227299 by rwatson at rwatson_zenith_cl_cam_ac_uk on 2013/04/01 22:45:52
Further 64-bit MIPS improvements for libstand's longjmp code: use
dli in preference to li on 64-bit systems to avoid sign extension
of the jmp_buf magic number.
Affected files ...
.. //depot/projects/ctsrd/beribsd/src/lib/libstand/mips/_setjmp.S#4 edit
Differences ...
==== //depot/projects/ctsrd/beribsd/src/lib/libstand/mips/_setjmp.S#4 (text+ko) ====
@@ -59,7 +59,7 @@
LEAF(_setjmp)
.set noreorder
- li v0, 0xACEDBADE # sigcontext magic number
+ REG_LI v0, 0xACEDBADE # sigcontext magic number
REG_S ra, (2 * SZREG)(a0) # sc_pc = return address
REG_S v0, (3 * SZREG)(a0) # saved in sc_regs[0]
REG_S s0, ((S0 + 3) * SZREG)(a0)
More information about the p4-projects
mailing list