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 Jump through the PLT in PIC mode to fix...
details: https://anonhg.NetBSD.org/src/rev/3219401c41ee
branches: trunk
changeset: 750558:3219401c41ee
user: phx <phx%NetBSD.org@localhost>
date: Wed Jan 06 14:10:57 2010 +0000
description:
Jump through the PLT in PIC mode to fix the DT_TEXTREL warning on creating
the shared object.
diffstat:
lib/libm/arch/m68060/Makefile.list | 2 +-
lib/libm/arch/m68060/e_acos.S | 6 +++---
lib/libm/arch/m68060/e_acosf.S | 6 +++---
lib/libm/arch/m68060/e_asin.S | 6 +++---
lib/libm/arch/m68060/e_asinf.S | 6 +++---
lib/libm/arch/m68060/e_atanh.S | 6 +++---
lib/libm/arch/m68060/e_atanhf.S | 6 +++---
lib/libm/arch/m68060/e_cosh.S | 6 +++---
lib/libm/arch/m68060/e_coshf.S | 6 +++---
lib/libm/arch/m68060/e_exp.S | 6 +++---
lib/libm/arch/m68060/e_expf.S | 6 +++---
lib/libm/arch/m68060/e_log.S | 6 +++---
lib/libm/arch/m68060/e_log10.S | 6 +++---
lib/libm/arch/m68060/e_log10f.S | 6 +++---
lib/libm/arch/m68060/e_logf.S | 6 +++---
lib/libm/arch/m68060/e_sinh.S | 6 +++---
lib/libm/arch/m68060/e_sinhf.S | 6 +++---
lib/libm/arch/m68060/e_sqrt.S | 6 +++---
lib/libm/arch/m68060/e_sqrtf.S | 6 +++---
lib/libm/arch/m68060/fplsp_wrap.S | 2 +-
lib/libm/arch/m68060/k_tan.S | 2 +-
lib/libm/arch/m68060/k_tanf.S | 2 +-
lib/libm/arch/m68060/makeas.sh | 10 +++++-----
lib/libm/arch/m68060/s_atan.S | 6 +++---
lib/libm/arch/m68060/s_atanf.S | 6 +++---
lib/libm/arch/m68060/s_cos.S | 6 +++---
lib/libm/arch/m68060/s_cosf.S | 6 +++---
lib/libm/arch/m68060/s_expm1.S | 6 +++---
lib/libm/arch/m68060/s_expm1f.S | 6 +++---
lib/libm/arch/m68060/s_log1p.S | 6 +++---
lib/libm/arch/m68060/s_log1pf.S | 6 +++---
lib/libm/arch/m68060/s_logb.S | 6 +++---
lib/libm/arch/m68060/s_logbf.S | 6 +++---
lib/libm/arch/m68060/s_sin.S | 6 +++---
lib/libm/arch/m68060/s_sinf.S | 6 +++---
lib/libm/arch/m68060/s_tan.S | 6 +++---
lib/libm/arch/m68060/s_tanf.S | 6 +++---
lib/libm/arch/m68060/s_tanh.S | 6 +++---
lib/libm/arch/m68060/s_tanhf.S | 6 +++---
39 files changed, 111 insertions(+), 111 deletions(-)
diffs (truncated from 839 to 300 lines):
diff -r 1552dbff0181 -r 3219401c41ee lib/libm/arch/m68060/Makefile.list
--- a/lib/libm/arch/m68060/Makefile.list Wed Jan 06 07:42:58 2010 +0000
+++ b/lib/libm/arch/m68060/Makefile.list Wed Jan 06 14:10:57 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.list,v 1.5 2000/05/16 19:07:35 is Exp $
+# $NetBSD: Makefile.list,v 1.6 2010/01/06 14:11:53 phx Exp $
#
# list of M68060 architecture dependent files for libm.
diff -r 1552dbff0181 -r 3219401c41ee lib/libm/arch/m68060/e_acos.S
--- a/lib/libm/arch/m68060/e_acos.S Wed Jan 06 07:42:58 2010 +0000
+++ b/lib/libm/arch/m68060/e_acos.S Wed Jan 06 14:10:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: e_acos.S,v 1.5 2000/05/16 19:07:35 is Exp $ */
+/* $NetBSD: e_acos.S,v 1.6 2010/01/06 14:11:53 phx Exp $ */
/*
* FPLSP wrapper for __ieee754_acos
@@ -9,11 +9,11 @@
ENTRY(__ieee754_acos)
#ifdef __SVR4_ABI__
- jbra _C_LABEL(__fplsp060_0008)
+ bral PIC_PLT(_C_LABEL(__fplsp060_0008))
#else
movel %sp@(8),%sp@-
movel %sp@(8),%sp@-
- jbsr _C_LABEL(__fplsp060_0008)
+ bsrl PIC_PLT(_C_LABEL(__fplsp060_0008))
fmoved %fp0,%sp@
movel %sp@+,%d0
movel %sp@+,%d1
diff -r 1552dbff0181 -r 3219401c41ee lib/libm/arch/m68060/e_acosf.S
--- a/lib/libm/arch/m68060/e_acosf.S Wed Jan 06 07:42:58 2010 +0000
+++ b/lib/libm/arch/m68060/e_acosf.S Wed Jan 06 14:10:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: e_acosf.S,v 1.5 2000/05/16 19:07:35 is Exp $ */
+/* $NetBSD: e_acosf.S,v 1.6 2010/01/06 14:11:53 phx Exp $ */
/*
* FPLSP wrapper for __ieee754_acosf
@@ -9,10 +9,10 @@
ENTRY(__ieee754_acosf)
#ifdef __SVR4_ABI__
- jbra _C_LABEL(__fplsp060_0000)
+ bral PIC_PLT(_C_LABEL(__fplsp060_0000))
#else
movel %sp@(4),%sp@-
- jbsr _C_LABEL(__fplsp060_0000)
+ bsrl PIC_PLT(_C_LABEL(__fplsp060_0000))
fmoves %fp0,%sp@
movel %sp@+,%d0
rts
diff -r 1552dbff0181 -r 3219401c41ee lib/libm/arch/m68060/e_asin.S
--- a/lib/libm/arch/m68060/e_asin.S Wed Jan 06 07:42:58 2010 +0000
+++ b/lib/libm/arch/m68060/e_asin.S Wed Jan 06 14:10:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: e_asin.S,v 1.5 2000/05/16 19:07:35 is Exp $ */
+/* $NetBSD: e_asin.S,v 1.6 2010/01/06 14:11:53 phx Exp $ */
/*
* FPLSP wrapper for __ieee754_asin
@@ -9,11 +9,11 @@
ENTRY(__ieee754_asin)
#ifdef __SVR4_ABI__
- jbra _C_LABEL(__fplsp060_0020)
+ bral PIC_PLT(_C_LABEL(__fplsp060_0020))
#else
movel %sp@(8),%sp@-
movel %sp@(8),%sp@-
- jbsr _C_LABEL(__fplsp060_0020)
+ bsrl PIC_PLT(_C_LABEL(__fplsp060_0020))
fmoved %fp0,%sp@
movel %sp@+,%d0
movel %sp@+,%d1
diff -r 1552dbff0181 -r 3219401c41ee lib/libm/arch/m68060/e_asinf.S
--- a/lib/libm/arch/m68060/e_asinf.S Wed Jan 06 07:42:58 2010 +0000
+++ b/lib/libm/arch/m68060/e_asinf.S Wed Jan 06 14:10:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: e_asinf.S,v 1.5 2000/05/16 19:07:35 is Exp $ */
+/* $NetBSD: e_asinf.S,v 1.6 2010/01/06 14:11:53 phx Exp $ */
/*
* FPLSP wrapper for __ieee754_asinf
@@ -9,10 +9,10 @@
ENTRY(__ieee754_asinf)
#ifdef __SVR4_ABI__
- jbra _C_LABEL(__fplsp060_0018)
+ bral PIC_PLT(_C_LABEL(__fplsp060_0018))
#else
movel %sp@(4),%sp@-
- jbsr _C_LABEL(__fplsp060_0018)
+ bsrl PIC_PLT(_C_LABEL(__fplsp060_0018))
fmoves %fp0,%sp@
movel %sp@+,%d0
rts
diff -r 1552dbff0181 -r 3219401c41ee lib/libm/arch/m68060/e_atanh.S
--- a/lib/libm/arch/m68060/e_atanh.S Wed Jan 06 07:42:58 2010 +0000
+++ b/lib/libm/arch/m68060/e_atanh.S Wed Jan 06 14:10:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: e_atanh.S,v 1.5 2000/05/16 19:07:35 is Exp $ */
+/* $NetBSD: e_atanh.S,v 1.6 2010/01/06 14:11:53 phx Exp $ */
/*
* FPLSP wrapper for __ieee754_atanh
@@ -9,11 +9,11 @@
ENTRY(__ieee754_atanh)
#ifdef __SVR4_ABI__
- jbra _C_LABEL(__fplsp060_0050)
+ bral PIC_PLT(_C_LABEL(__fplsp060_0050))
#else
movel %sp@(8),%sp@-
movel %sp@(8),%sp@-
- jbsr _C_LABEL(__fplsp060_0050)
+ bsrl PIC_PLT(_C_LABEL(__fplsp060_0050))
fmoved %fp0,%sp@
movel %sp@+,%d0
movel %sp@+,%d1
diff -r 1552dbff0181 -r 3219401c41ee lib/libm/arch/m68060/e_atanhf.S
--- a/lib/libm/arch/m68060/e_atanhf.S Wed Jan 06 07:42:58 2010 +0000
+++ b/lib/libm/arch/m68060/e_atanhf.S Wed Jan 06 14:10:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: e_atanhf.S,v 1.5 2000/05/16 19:07:35 is Exp $ */
+/* $NetBSD: e_atanhf.S,v 1.6 2010/01/06 14:11:53 phx Exp $ */
/*
* FPLSP wrapper for __ieee754_atanhf
@@ -9,10 +9,10 @@
ENTRY(__ieee754_atanhf)
#ifdef __SVR4_ABI__
- jbra _C_LABEL(__fplsp060_0048)
+ bral PIC_PLT(_C_LABEL(__fplsp060_0048))
#else
movel %sp@(4),%sp@-
- jbsr _C_LABEL(__fplsp060_0048)
+ bsrl PIC_PLT(_C_LABEL(__fplsp060_0048))
fmoves %fp0,%sp@
movel %sp@+,%d0
rts
diff -r 1552dbff0181 -r 3219401c41ee lib/libm/arch/m68060/e_cosh.S
--- a/lib/libm/arch/m68060/e_cosh.S Wed Jan 06 07:42:58 2010 +0000
+++ b/lib/libm/arch/m68060/e_cosh.S Wed Jan 06 14:10:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: e_cosh.S,v 1.5 2000/05/16 19:07:35 is Exp $ */
+/* $NetBSD: e_cosh.S,v 1.6 2010/01/06 14:11:53 phx Exp $ */
/*
* FPLSP wrapper for __ieee754_cosh
@@ -9,11 +9,11 @@
ENTRY(__ieee754_cosh)
#ifdef __SVR4_ABI__
- jbra _C_LABEL(__fplsp060_0080)
+ bral PIC_PLT(_C_LABEL(__fplsp060_0080))
#else
movel %sp@(8),%sp@-
movel %sp@(8),%sp@-
- jbsr _C_LABEL(__fplsp060_0080)
+ bsrl PIC_PLT(_C_LABEL(__fplsp060_0080))
fmoved %fp0,%sp@
movel %sp@+,%d0
movel %sp@+,%d1
diff -r 1552dbff0181 -r 3219401c41ee lib/libm/arch/m68060/e_coshf.S
--- a/lib/libm/arch/m68060/e_coshf.S Wed Jan 06 07:42:58 2010 +0000
+++ b/lib/libm/arch/m68060/e_coshf.S Wed Jan 06 14:10:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: e_coshf.S,v 1.5 2000/05/16 19:07:35 is Exp $ */
+/* $NetBSD: e_coshf.S,v 1.6 2010/01/06 14:11:53 phx Exp $ */
/*
* FPLSP wrapper for __ieee754_coshf
@@ -9,10 +9,10 @@
ENTRY(__ieee754_coshf)
#ifdef __SVR4_ABI__
- jbra _C_LABEL(__fplsp060_0078)
+ bral PIC_PLT(_C_LABEL(__fplsp060_0078))
#else
movel %sp@(4),%sp@-
- jbsr _C_LABEL(__fplsp060_0078)
+ bsrl PIC_PLT(_C_LABEL(__fplsp060_0078))
fmoves %fp0,%sp@
movel %sp@+,%d0
rts
diff -r 1552dbff0181 -r 3219401c41ee lib/libm/arch/m68060/e_exp.S
--- a/lib/libm/arch/m68060/e_exp.S Wed Jan 06 07:42:58 2010 +0000
+++ b/lib/libm/arch/m68060/e_exp.S Wed Jan 06 14:10:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: e_exp.S,v 1.5 2000/05/16 19:07:35 is Exp $ */
+/* $NetBSD: e_exp.S,v 1.6 2010/01/06 14:11:53 phx Exp $ */
/*
* FPLSP wrapper for __ieee754_exp
@@ -9,11 +9,11 @@
ENTRY(__ieee754_exp)
#ifdef __SVR4_ABI__
- jbra _C_LABEL(__fplsp060_0098)
+ bral PIC_PLT(_C_LABEL(__fplsp060_0098))
#else
movel %sp@(8),%sp@-
movel %sp@(8),%sp@-
- jbsr _C_LABEL(__fplsp060_0098)
+ bsrl PIC_PLT(_C_LABEL(__fplsp060_0098))
fmoved %fp0,%sp@
movel %sp@+,%d0
movel %sp@+,%d1
diff -r 1552dbff0181 -r 3219401c41ee lib/libm/arch/m68060/e_expf.S
--- a/lib/libm/arch/m68060/e_expf.S Wed Jan 06 07:42:58 2010 +0000
+++ b/lib/libm/arch/m68060/e_expf.S Wed Jan 06 14:10:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: e_expf.S,v 1.5 2000/05/16 19:07:35 is Exp $ */
+/* $NetBSD: e_expf.S,v 1.6 2010/01/06 14:11:53 phx Exp $ */
/*
* FPLSP wrapper for __ieee754_expf
@@ -9,10 +9,10 @@
ENTRY(__ieee754_expf)
#ifdef __SVR4_ABI__
- jbra _C_LABEL(__fplsp060_0090)
+ bral PIC_PLT(_C_LABEL(__fplsp060_0090))
#else
movel %sp@(4),%sp@-
- jbsr _C_LABEL(__fplsp060_0090)
+ bsrl PIC_PLT(_C_LABEL(__fplsp060_0090))
fmoves %fp0,%sp@
movel %sp@+,%d0
rts
diff -r 1552dbff0181 -r 3219401c41ee lib/libm/arch/m68060/e_log.S
--- a/lib/libm/arch/m68060/e_log.S Wed Jan 06 07:42:58 2010 +0000
+++ b/lib/libm/arch/m68060/e_log.S Wed Jan 06 14:10:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: e_log.S,v 1.5 2000/05/16 19:07:35 is Exp $ */
+/* $NetBSD: e_log.S,v 1.6 2010/01/06 14:11:53 phx Exp $ */
/*
* FPLSP wrapper for __ieee754_log
@@ -9,11 +9,11 @@
ENTRY(__ieee754_log)
#ifdef __SVR4_ABI__
- jbra _C_LABEL(__fplsp060_0128)
+ bral PIC_PLT(_C_LABEL(__fplsp060_0128))
#else
movel %sp@(8),%sp@-
movel %sp@(8),%sp@-
- jbsr _C_LABEL(__fplsp060_0128)
+ bsrl PIC_PLT(_C_LABEL(__fplsp060_0128))
fmoved %fp0,%sp@
movel %sp@+,%d0
movel %sp@+,%d1
diff -r 1552dbff0181 -r 3219401c41ee lib/libm/arch/m68060/e_log10.S
--- a/lib/libm/arch/m68060/e_log10.S Wed Jan 06 07:42:58 2010 +0000
+++ b/lib/libm/arch/m68060/e_log10.S Wed Jan 06 14:10:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: e_log10.S,v 1.5 2000/05/16 19:07:35 is Exp $ */
+/* $NetBSD: e_log10.S,v 1.6 2010/01/06 14:11:53 phx Exp $ */
/*
* FPLSP wrapper for __ieee754_log10
@@ -9,11 +9,11 @@
ENTRY(__ieee754_log10)
#ifdef __SVR4_ABI__
- jbra _C_LABEL(__fplsp060_00f8)
+ bral PIC_PLT(_C_LABEL(__fplsp060_00f8))
#else
movel %sp@(8),%sp@-
movel %sp@(8),%sp@-
- jbsr _C_LABEL(__fplsp060_00f8)
+ bsrl PIC_PLT(_C_LABEL(__fplsp060_00f8))
fmoved %fp0,%sp@
movel %sp@+,%d0
movel %sp@+,%d1
diff -r 1552dbff0181 -r 3219401c41ee lib/libm/arch/m68060/e_log10f.S
--- a/lib/libm/arch/m68060/e_log10f.S Wed Jan 06 07:42:58 2010 +0000
+++ b/lib/libm/arch/m68060/e_log10f.S Wed Jan 06 14:10:57 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: e_log10f.S,v 1.5 2000/05/16 19:07:35 is Exp $ */
+/* $NetBSD: e_log10f.S,v 1.6 2010/01/06 14:11:53 phx Exp $ */
/*
* FPLSP wrapper for __ieee754_log10f
@@ -9,10 +9,10 @@
ENTRY(__ieee754_log10f)
#ifdef __SVR4_ABI__
- jbra _C_LABEL(__fplsp060_00f0)
+ bral PIC_PLT(_C_LABEL(__fplsp060_00f0))
#else
movel %sp@(4),%sp@-
- jbsr _C_LABEL(__fplsp060_00f0)
+ bsrl PIC_PLT(_C_LABEL(__fplsp060_00f0))
fmoves %fp0,%sp@
Home |
Main Index |
Thread Index |
Old Index