OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
CVS: cvs.openbsd.org: src

From: Dale Rahn (drahncvs.openbsd.org)
Date: Fri Feb 02 2007 - 18:55:34 CST


CVSROOT: /cvs
Module name: src
Changes by: drahncvs.openbsd.org 2007/02/02 17:55:34

Modified files:
        libexec/ld.so/sh: rtld_machine.c

Log message:
Kludge around a horrible problem where gcc 'knows' that __udivsi3 will
only clobber r0 and r4, and will not modify any other registers. Unfortunately
calling thru the PLT clobbers other registers eg, r1, which then
breaks because gcc doesn't reload the proper value.