Source-Changes-HG archive

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

[src/trunk]: src/lib/libm/arch/m68060 Change libm-68060 internal, but file ex...



details:   https://anonhg.NetBSD.org/src/rev/5fe2c0f0eb5b
branches:  trunk
changeset: 486241:5fe2c0f0eb5b
user:      is <is%NetBSD.org@localhost>
date:      Tue May 16 19:05:37 2000 +0000

description:
Change libm-68060 internal, but file external labels (used for linkage between
wrapper functions and the Motorola code) to guarantee consistent protection
of the user namespace.

diffstat:

 lib/libm/arch/m68060/makeas.sh    |  10 +++++-----
 lib/libm/arch/m68060/makeoffs.awk |   4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (52 lines):

diff -r 1cc0321d8064 -r 5fe2c0f0eb5b lib/libm/arch/m68060/makeas.sh
--- a/lib/libm/arch/m68060/makeas.sh    Tue May 16 17:20:23 2000 +0000
+++ b/lib/libm/arch/m68060/makeas.sh    Tue May 16 19:05:37 2000 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-# $NetBSD: makeas.sh,v 1.5 2000/05/12 20:08:04 is Exp $
+# $NetBSD: makeas.sh,v 1.6 2000/05/16 19:05:37 is Exp $
 
 # Copyright (c) 1999, 2000 Ignatios Souvatzis
 # All rights reserved.
@@ -77,11 +77,11 @@
 
 ENTRY($NAME)
 #ifdef __SVR4_ABI__
-       jbra _ASM_LABEL(___060FPLSP$OFFS)
+       jbra _C_LABEL(__fplsp060_$OFFS)
 #else
        movel %sp@(8),%sp@-
        movel %sp@(8),%sp@-
-       jbsr _ASM_LABEL(___060FPLSP$OFFS)
+       jbsr _C_LABEL(__fplsp060_$OFFS)
        fmoved %fp0,%sp@
        movel %sp@+,%d0
        movel %sp@+,%d1
@@ -110,10 +110,10 @@
 
 ENTRY($NAME)
 #ifdef __SVR4_ABI__
-       jbra _ASM_LABEL(___060FPLSP$OFFS)
+       jbra _C_LABEL(__fplsp060_$OFFS)
 #else
        movel %sp@(4),%sp@-
-       jbsr _ASM_LABEL(___060FPLSP$OFFS)
+       jbsr _C_LABEL(__fplsp060_$OFFS)
        fmoves %fp0,%sp@
        movel %sp@+,%d0
        rts
diff -r 1cc0321d8064 -r 5fe2c0f0eb5b lib/libm/arch/m68060/makeoffs.awk
--- a/lib/libm/arch/m68060/makeoffs.awk Tue May 16 17:20:23 2000 +0000
+++ b/lib/libm/arch/m68060/makeoffs.awk Tue May 16 19:05:37 2000 +0000
@@ -2,8 +2,8 @@
 /\.long/{s += 16;}
 s<0 || s>1023{print $0}
 s>=0 && s<1024{\
-       printf "ASENTRY_NOPROFILE(___060FPLSP%04x) ", s;\
+       printf "ENTRY_NOPROFILE(__fplsp060_%04x) ", s;\
        print $1 "," $2;\
-       printf "ASENTRY_NOPROFILE(___060FPLSP%04x) ", s+8;\
+       printf "ENTRY_NOPROFILE(__fplsp060_%04x) ", s+8;\
        print " .long   " $3 "," $4;\
 }



Home | Main Index | Thread Index | Old Index