Commit a1b5a7e1 by Michael Meissner Committed by Michael Meissner

Restore LR in case __eabi was called multiple times

From-SVN: r19612
parent 3474f462
Thu May 7 17:38:03 1998 Michael Meissner <meissner@cygnus.com>
* r6000/eabi.asm (__eabi): Restore LR in case __eabi is called
multiple times.
Thu May 7 14:26:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* aclocal.m4 (GCC_FUNC_VFPRINTF_DOPRNT): New macro.
......
......@@ -152,6 +152,7 @@ FUNC_START(__eabi)
subf. 12,12,11 /* calculate difference */
lwzx 9,10,12 /* done flag */
cmplwi 2,9,0 /* init flag != 0? */
mtlr 0 /* restore in case branch was taken */
bnelr 2 /* return now, if we've been called already */
stwx 1,10,12 /* store a non-zero value in the done flag */
beq+ 0,.Lsdata /* skip if we don't need to relocate */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment