summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-03-26 11:59:23 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-03-26 15:12:44 +0200
commitf8e4755f871c11405df008e0e4313d6b8ffe3fb0 (patch)
tree9e6f908f5202612b2676f350ac0ddd8648727b09 /c/src/lib/libcpu
parentbsp/tqm8xx: Use shared linker command file (diff)
downloadrtems-f8e4755f871c11405df008e0e4313d6b8ffe3fb0.tar.bz2
bsps/m68k: Use namespace header
This patch is a part of the BSP source reorganization. Update #3285.
Diffstat (limited to 'c/src/lib/libcpu')
-rw-r--r--c/src/lib/libcpu/m68k/Makefile.am17
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/bindec.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/binstr.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/bugfix.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/decbin.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/do_func.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/fpsp-namespace.h168
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/gen_except.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/get_op.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/kernel_ex.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/res_func.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/round.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/rtems_skel.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/sacos.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/sasin.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/satan.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/satanh.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/scale.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/scosh.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/setox.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/sgetem.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/sint.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/slog2.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/slogn.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/smovecr.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/srem_mod.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/ssin.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/ssinh.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/stan.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/stanh.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/sto_res.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/stwotox.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/tbldo.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/util.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/x_bsun.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/x_fline.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/x_operr.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/x_ovfl.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/x_snan.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/x_store.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/x_unfl.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/x_unimp.S1
-rw-r--r--c/src/lib/libcpu/m68k/m68040/fpsp/x_unsupp.S1
43 files changed, 212 insertions, 14 deletions
diff --git a/c/src/lib/libcpu/m68k/Makefile.am b/c/src/lib/libcpu/m68k/Makefile.am
index ed07940257..1ee01f5332 100644
--- a/c/src/lib/libcpu/m68k/Makefile.am
+++ b/c/src/lib/libcpu/m68k/Makefile.am
@@ -25,8 +25,7 @@ endif
if m68040
## m68040/fpsp
noinst_PROGRAMS += m68040/fpsp.rel
-noinst_PROGRAMS += m68040/fpsp_tmp.rel
-m68040_fpsp_tmp_rel_SOURCES = m68040/fpsp/rtems_fpsp.c m68040/fpsp/bindec.S \
+m68040_fpsp_rel_SOURCES = m68040/fpsp/rtems_fpsp.c m68040/fpsp/bindec.S \
m68040/fpsp/binstr.S m68040/fpsp/bugfix.S m68040/fpsp/decbin.S \
m68040/fpsp/do_func.S m68040/fpsp/gen_except.S m68040/fpsp/get_op.S \
m68040/fpsp/kernel_ex.S m68040/fpsp/res_func.S m68040/fpsp/round.S \
@@ -41,18 +40,8 @@ m68040_fpsp_tmp_rel_SOURCES = m68040/fpsp/rtems_fpsp.c m68040/fpsp/bindec.S \
m68040/fpsp/x_operr.S m68040/fpsp/x_ovfl.S m68040/fpsp/x_snan.S \
m68040/fpsp/x_store.S m68040/fpsp/x_unfl.S m68040/fpsp/x_unimp.S \
m68040/fpsp/x_unsupp.S
-m68040_fpsp_tmp_rel_CPPFLAGS = $(AM_CPPFLAGS)
-m68040_fpsp_tmp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
-
-# avoid name clashes and modifying the source by
-# prefixing all (global) symbols in the binary
-m68040/fpsp_tmp1.rel: m68040/fpsp_tmp.rel
- $(OBJCOPY) --prefix-symbols __fpsp_ $^ $@
-
-# Then remove the prefix again on all global
-# symbols we really need:
-m68040/fpsp.rel: m68040/fpsp_tmp1.rel
- $(OBJCOPY) --redefine-sym __fpsp_M68KFPSPInstallExceptionHandlers=M68KFPSPInstallExceptionHandlers --redefine-sym __fpsp_M68040FPSPUserExceptionHandlers=M68040FPSPUserExceptionHandlers --redefine-sym __fpsp__CPU_ISR_install_raw_handler=_CPU_ISR_install_raw_handler --redefine-sym __fpsp__FPSP_install_raw_handler=_FPSP_install_raw_handler $^ $@
+m68040_fpsp_rel_CPPFLAGS = $(AM_CPPFLAGS)
+m68040_fpsp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
noinst_HEADERS = m68040/fpsp/fpsp.defs
endif
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/bindec.S b/c/src/lib/libcpu/m68k/m68040/fpsp/bindec.S
index 081ed58899..4c3407394c 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/bindec.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/bindec.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// bindec.sa 3.4 1/3/91
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/binstr.S b/c/src/lib/libcpu/m68k/m68040/fpsp/binstr.S
index fb726917b3..0515770e73 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/binstr.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/binstr.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// binstr.sa 3.3 12/19/90
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/bugfix.S b/c/src/lib/libcpu/m68k/m68040/fpsp/bugfix.S
index afb8daa07b..9525f89369 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/bugfix.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/bugfix.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// bugfix.sa 3.2 1/31/91
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/decbin.S b/c/src/lib/libcpu/m68k/m68040/fpsp/decbin.S
index 55f43e48a1..afa5cf6903 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/decbin.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/decbin.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// decbin.sa 3.3 12/19/90
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/do_func.S b/c/src/lib/libcpu/m68k/m68040/fpsp/do_func.S
index dcd64ecd0a..afb57766a6 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/do_func.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/do_func.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// do_func.sa 3.4 2/18/91
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/fpsp-namespace.h b/c/src/lib/libcpu/m68k/m68040/fpsp/fpsp-namespace.h
new file mode 100644
index 0000000000..dcb580d054
--- /dev/null
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/fpsp-namespace.h
@@ -0,0 +1,168 @@
+#define ap_st_n __fpsp_ap_st_n
+#define ap_st_z __fpsp_ap_st_z
+#define b1238_fix __fpsp_b1238_fix
+#define BIGRN __fpsp_BIGRN
+#define BIGRP __fpsp_BIGRP
+#define BIGRZRM __fpsp_BIGRZRM
+#define bindec __fpsp_bindec
+#define binstr __fpsp_binstr
+#define calc_e __fpsp_calc_e
+#define calc_m __fpsp_calc_m
+#define decbin __fpsp_decbin
+#define denorm __fpsp_denorm
+#define dest_dbl __fpsp_dest_dbl
+#define dest_ext __fpsp_dest_ext
+#define dest_sgl __fpsp_dest_sgl
+#define dnrm_lp __fpsp_dnrm_lp
+#define do_func __fpsp_do_func
+#define dst_nan __fpsp_dst_nan
+#define fpsp_bsun __fpsp_fpsp_bsun
+#define fpsp_done __fpsp_fpsp_done
+#define fpsp_fline __fpsp_fpsp_fline
+#define fpsp_fmt_error __fpsp_fpsp_fmt_error
+#define fpsp_operr __fpsp_fpsp_operr
+#define fpsp_ovfl __fpsp_fpsp_ovfl
+#define fpsp_snan __fpsp_fpsp_snan
+#define fpsp_unfl __fpsp_fpsp_unfl
+#define fpsp_unimp __fpsp_fpsp_unimp
+#define fpsp_unsupp __fpsp_fpsp_unsupp
+#define g_dfmtou __fpsp_g_dfmtou
+#define gen_except __fpsp_gen_except
+#define get_fline __fpsp_get_fline
+#define get_op __fpsp_get_op
+#define g_opcls __fpsp_g_opcls
+#define g_rndpr __fpsp_g_rndpr
+#define ld_minf __fpsp_ld_minf
+#define ld_mone __fpsp_ld_mone
+#define ld_mpi2 __fpsp_ld_mpi2
+#define ld_mzero __fpsp_ld_mzero
+#define ld_pinf __fpsp_ld_pinf
+#define ld_pone __fpsp_ld_pone
+#define ld_ppi2 __fpsp_ld_ppi2
+#define ld_pzero __fpsp_ld_pzero
+#define mem_read __fpsp_mem_read
+#define mem_write __fpsp_mem_write
+#define norm __fpsp_norm
+#define nrm_set __fpsp_nrm_set
+#define nrm_zero __fpsp_nrm_zero
+#define ovf_res __fpsp_ovf_res
+#define ovf_r_k __fpsp_ovf_r_k
+#define ovf_r_x2 __fpsp_ovf_r_x2
+#define ovf_r_x3 __fpsp_ovf_r_x3
+#define PIRN __fpsp_PIRN
+#define PIRP __fpsp_PIRP
+#define PIRZRM __fpsp_PIRZRM
+#define PITBL __fpsp_PITBL
+#define pmod __fpsp_pmod
+#define p_move __fpsp_p_move
+#define prem __fpsp_prem
+#define pscale __fpsp_pscale
+#define PTENRM __fpsp_PTENRM
+#define PTENRN __fpsp_PTENRN
+#define PTENRP __fpsp_PTENRP
+#define pwrten __fpsp_pwrten
+#define real_bsun __fpsp_real_bsun
+#define real_fline __fpsp_real_fline
+#define real_inex __fpsp_real_inex
+#define real_operr __fpsp_real_operr
+#define real_ovfl __fpsp_real_ovfl
+#define real_snan __fpsp_real_snan
+#define real_trace __fpsp_real_trace
+#define real_unfl __fpsp_real_unfl
+#define real_unsupp __fpsp_real_unsupp
+#define reg_dest __fpsp_reg_dest
+#define res_func __fpsp_res_func
+#define round __fpsp_round
+#define sacos __fpsp_sacos
+#define sacosd __fpsp_sacosd
+#define sasin __fpsp_sasin
+#define sasind __fpsp_sasind
+#define satan __fpsp_satan
+#define satand __fpsp_satand
+#define satanh __fpsp_satanh
+#define satanhd __fpsp_satanhd
+#define sc_mul __fpsp_sc_mul
+#define scos __fpsp_scos
+#define scosd __fpsp_scosd
+#define scosh __fpsp_scosh
+#define scoshd __fpsp_scoshd
+#define serror __fpsp_serror
+#define setox __fpsp_setox
+#define setoxd __fpsp_setoxd
+#define setoxm1 __fpsp_setoxm1
+#define setoxm1d __fpsp_setoxm1d
+#define setoxm1i __fpsp_setoxm1i
+#define sgetexp __fpsp_sgetexp
+#define sgetexpd __fpsp_sgetexpd
+#define sgetman __fpsp_sgetman
+#define sgetmand __fpsp_sgetmand
+#define sinf __fpsp_sinf
+#define sint __fpsp_sint
+#define sintd __fpsp_sintd
+#define sintdo __fpsp_sintdo
+#define sintrz __fpsp_sintrz
+#define slog10 __fpsp_slog10
+#define slog10d __fpsp_slog10d
+#define slog2 __fpsp_slog2
+#define slog2d __fpsp_slog2d
+#define slogn __fpsp_slogn
+#define slognd __fpsp_slognd
+#define slognp1 __fpsp_slognp1
+#define slognp1d __fpsp_slognp1d
+#define SMALRN __fpsp_SMALRN
+#define SMALRP __fpsp_SMALRP
+#define SMALRZRM __fpsp_SMALRZRM
+#define smod __fpsp_smod
+#define smovcr __fpsp_smovcr
+#define snzrinx __fpsp_snzrinx
+#define sone __fpsp_sone
+#define sopr_inf __fpsp_sopr_inf
+#define spi_2 __fpsp_spi_2
+#define src_nan __fpsp_src_nan
+#define srem __fpsp_srem
+#define sscale __fpsp_sscale
+#define ssin __fpsp_ssin
+#define ssincos __fpsp_ssincos
+#define ssincosd __fpsp_ssincosd
+#define ssincosi __fpsp_ssincosi
+#define ssincosnan __fpsp_ssincosnan
+#define ssincosz __fpsp_ssincosz
+#define ssind __fpsp_ssind
+#define ssinh __fpsp_ssinh
+#define ssinhd __fpsp_ssinhd
+#define sslog10 __fpsp_sslog10
+#define sslog10d __fpsp_sslog10d
+#define sslog2 __fpsp_sslog2
+#define sslog2d __fpsp_sslog2d
+#define sslogn __fpsp_sslogn
+#define sslognd __fpsp_sslognd
+#define sslognp1 __fpsp_sslognp1
+#define stan __fpsp_stan
+#define stand __fpsp_stand
+#define stanh __fpsp_stanh
+#define stanhd __fpsp_stanhd
+#define stentox __fpsp_stentox
+#define stentoxd __fpsp_stentoxd
+#define sto_cos __fpsp_sto_cos
+#define store __fpsp_store
+#define sto_res __fpsp_sto_res
+#define stwotox __fpsp_stwotox
+#define stwotoxd __fpsp_stwotoxd
+#define szero __fpsp_szero
+#define szr_inf __fpsp_szr_inf
+#define t_avoid_unsupp __fpsp_t_avoid_unsupp
+#define tblpre __fpsp_tblpre
+#define t_dz __fpsp_t_dz
+#define t_dz2 __fpsp_t_dz2
+#define t_extdnrm __fpsp_t_extdnrm
+#define t_frcinx __fpsp_t_frcinx
+#define t_inx2 __fpsp_t_inx2
+#define t_operr __fpsp_t_operr
+#define t_ovfl __fpsp_t_ovfl
+#define t_ovfl2 __fpsp_t_ovfl2
+#define t_resdnrm __fpsp_t_resdnrm
+#define t_unfl __fpsp_t_unfl
+#define unf_sub __fpsp_unf_sub
+#define uni_2 __fpsp_uni_2
+#define uni_getop __fpsp_uni_getop
+#define uns_getop __fpsp_uns_getop
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/gen_except.S b/c/src/lib/libcpu/m68k/m68040/fpsp/gen_except.S
index 60dcfe9712..5139517703 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/gen_except.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/gen_except.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// gen_except.sa 3.7 1/16/92
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/get_op.S b/c/src/lib/libcpu/m68k/m68040/fpsp/get_op.S
index 6eb4171cfe..a8a114b734 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/get_op.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/get_op.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// get_op.sa 3.6 5/19/92
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/kernel_ex.S b/c/src/lib/libcpu/m68k/m68040/fpsp/kernel_ex.S
index abbc96cf37..3bbe07a418 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/kernel_ex.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/kernel_ex.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// kernel_ex.sa 3.3 12/19/90
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/res_func.S b/c/src/lib/libcpu/m68k/m68040/fpsp/res_func.S
index ba2f011ff3..4afdae8a23 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/res_func.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/res_func.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// res_func.sa 3.9 7/29/91
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/round.S b/c/src/lib/libcpu/m68k/m68040/fpsp/round.S
index e233fee682..b9b5be1cc5 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/round.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/round.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// round.sa 3.4 7/29/91
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/rtems_skel.S b/c/src/lib/libcpu/m68k/m68040/fpsp/rtems_skel.S
index 05712481f7..501387f136 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/rtems_skel.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/rtems_skel.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// skeleton.sa 3.2 4/26/91
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/sacos.S b/c/src/lib/libcpu/m68k/m68040/fpsp/sacos.S
index 3b8eec0b1f..fa9409db52 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/sacos.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/sacos.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// sacos.sa 3.3 12/19/90
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/sasin.S b/c/src/lib/libcpu/m68k/m68040/fpsp/sasin.S
index 0913abd715..529ae83328 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/sasin.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/sasin.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// sasin.sa 3.3 12/19/90
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/satan.S b/c/src/lib/libcpu/m68k/m68040/fpsp/satan.S
index 3bf34c5fb6..21bdeefa31 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/satan.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/satan.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// satan.sa 3.3 12/19/90
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/satanh.S b/c/src/lib/libcpu/m68k/m68040/fpsp/satanh.S
index 50b870df84..5ca76d8868 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/satanh.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/satanh.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// satanh.sa 3.3 12/19/90
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/scale.S b/c/src/lib/libcpu/m68k/m68040/fpsp/scale.S
index c323ce239c..2846c4e157 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/scale.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/scale.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// scale.sa 3.3 7/30/91
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/scosh.S b/c/src/lib/libcpu/m68k/m68040/fpsp/scosh.S
index ab35c60ecd..1153ef0b7b 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/scosh.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/scosh.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// scosh.sa 3.1 12/10/90
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/setox.S b/c/src/lib/libcpu/m68k/m68040/fpsp/setox.S
index ee0745ccbe..e1f161e803 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/setox.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/setox.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// setox.sa 3.1 12/10/90
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/sgetem.S b/c/src/lib/libcpu/m68k/m68040/fpsp/sgetem.S
index d48064c4a7..c661058f3e 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/sgetem.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/sgetem.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// sgetem.sa 3.1 12/10/90
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/sint.S b/c/src/lib/libcpu/m68k/m68040/fpsp/sint.S
index 577622d28a..094eebdeff 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/sint.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/sint.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// sint.sa 3.1 12/10/90
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/slog2.S b/c/src/lib/libcpu/m68k/m68040/fpsp/slog2.S
index af80b580f6..9e4f15c24e 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/slog2.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/slog2.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// slog2.sa 3.1 12/10/90
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/slogn.S b/c/src/lib/libcpu/m68k/m68040/fpsp/slogn.S
index 4e870121f4..e6dc9846d4 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/slogn.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/slogn.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// slogn.sa 3.1 12/10/90
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/smovecr.S b/c/src/lib/libcpu/m68k/m68040/fpsp/smovecr.S
index 77b691b8d3..a618aac311 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/smovecr.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/smovecr.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// smovecr.sa 3.1 12/10/90
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/srem_mod.S b/c/src/lib/libcpu/m68k/m68040/fpsp/srem_mod.S
index d43fe0125d..9453c9b7d0 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/srem_mod.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/srem_mod.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// srem_mod.sa 3.1 12/10/90
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/ssin.S b/c/src/lib/libcpu/m68k/m68040/fpsp/ssin.S
index a37931e2b1..2fa14cfaac 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/ssin.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/ssin.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// ssin.sa 3.3 7/29/91
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/ssinh.S b/c/src/lib/libcpu/m68k/m68040/fpsp/ssinh.S
index d0d42c0519..d25174ed32 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/ssinh.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/ssinh.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// ssinh.sa 3.1 12/10/90
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/stan.S b/c/src/lib/libcpu/m68k/m68040/fpsp/stan.S
index e0bc8dae17..33cad35f48 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/stan.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/stan.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// stan.sa 3.3 7/29/91
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/stanh.S b/c/src/lib/libcpu/m68k/m68040/fpsp/stanh.S
index 12ea768d2a..909e037fc2 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/stanh.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/stanh.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// stanh.sa 3.1 12/10/90
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/sto_res.S b/c/src/lib/libcpu/m68k/m68040/fpsp/sto_res.S
index df71d32228..b47cb77da2 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/sto_res.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/sto_res.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// sto_res.sa 3.1 12/10/90
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/stwotox.S b/c/src/lib/libcpu/m68k/m68040/fpsp/stwotox.S
index 02d8397321..60ccb72e56 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/stwotox.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/stwotox.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// stwotox.sa 3.1 12/10/90
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/tbldo.S b/c/src/lib/libcpu/m68k/m68040/fpsp/tbldo.S
index 7930e82c4b..acec6aed72 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/tbldo.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/tbldo.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// tbldo.sa 3.1 12/10/90
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/util.S b/c/src/lib/libcpu/m68k/m68040/fpsp/util.S
index 83de767567..38e13db8b7 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/util.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/util.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// util.sa 3.7 7/29/91
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/x_bsun.S b/c/src/lib/libcpu/m68k/m68040/fpsp/x_bsun.S
index 069daa1c07..da696c4b6f 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/x_bsun.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/x_bsun.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// x_bsun.sa 3.3 7/1/91
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/x_fline.S b/c/src/lib/libcpu/m68k/m68040/fpsp/x_fline.S
index 1ccc3211bc..b4f747c14c 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/x_fline.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/x_fline.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// x_fline.sa 3.3 1/10/91
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/x_operr.S b/c/src/lib/libcpu/m68k/m68040/fpsp/x_operr.S
index 55913da956..23c38fde7a 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/x_operr.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/x_operr.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// x_operr.sa 3.5 7/1/91
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/x_ovfl.S b/c/src/lib/libcpu/m68k/m68040/fpsp/x_ovfl.S
index 0010b2415b..11ad9bb9f3 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/x_ovfl.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/x_ovfl.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// x_ovfl.sa 3.5 7/1/91
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/x_snan.S b/c/src/lib/libcpu/m68k/m68040/fpsp/x_snan.S
index f4a1739c3e..aa80a84a56 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/x_snan.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/x_snan.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// x_snan.sa 3.3 7/1/91
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/x_store.S b/c/src/lib/libcpu/m68k/m68040/fpsp/x_store.S
index 954853bb42..17b3e38617 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/x_store.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/x_store.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// x_store.sa 3.2 1/24/91
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/x_unfl.S b/c/src/lib/libcpu/m68k/m68040/fpsp/x_unfl.S
index 0b9bc48d6e..e28f925db4 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/x_unfl.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/x_unfl.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// x_unfl.sa 3.4 7/1/91
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/x_unimp.S b/c/src/lib/libcpu/m68k/m68040/fpsp/x_unimp.S
index 046e8d7ff5..d153f62186 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/x_unimp.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/x_unimp.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// x_unimp.sa 3.3 7/1/91
diff --git a/c/src/lib/libcpu/m68k/m68040/fpsp/x_unsupp.S b/c/src/lib/libcpu/m68k/m68040/fpsp/x_unsupp.S
index 7bee482339..8f428e4b4f 100644
--- a/c/src/lib/libcpu/m68k/m68040/fpsp/x_unsupp.S
+++ b/c/src/lib/libcpu/m68k/m68040/fpsp/x_unsupp.S
@@ -1,3 +1,4 @@
+#include "fpsp-namespace.h"
//
//
// x_unsupp.sa 3.3 7/1/91