mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
sim: ppc: inline common sim-fpu.c logic
We will never bother building w/out a ../common/ sim directory, so drop ancient logic supporting that method.
This commit is contained in:
@ -86,7 +86,7 @@ CONFIG_CFLAGS = \
|
|||||||
$(MODEL_CFLAGS) \
|
$(MODEL_CFLAGS) \
|
||||||
$(TERMIO_CFLAGS) \
|
$(TERMIO_CFLAGS) \
|
||||||
$(DEVZERO_CFLAGS)
|
$(DEVZERO_CFLAGS)
|
||||||
SIM_FPU_CFLAGS = @sim_fpu_cflags@
|
SIM_FPU_CFLAGS = -DHAVE_COMMON_FPU -I../common -I${srcdir}/../common
|
||||||
|
|
||||||
STD_CFLAGS = $(CFLAGS) $(WERROR_CFLAGS) $(INLINE_CFLAGS) $(CONFIG_CFLAGS) $(WARN_CFLAGS) $(INCLUDES) $(INCGNU) $(INTL_CFLAGS) $(SIM_FPU_CFLAGS)
|
STD_CFLAGS = $(CFLAGS) $(WERROR_CFLAGS) $(INLINE_CFLAGS) $(CONFIG_CFLAGS) $(WARN_CFLAGS) $(INCLUDES) $(INCGNU) $(INTL_CFLAGS) $(SIM_FPU_CFLAGS)
|
||||||
NOWARN_CFLAGS = $(CFLAGS) $(INLINE_CFLAGS) $(CONFIG_CFLAGS) $(INCLUDES) $(SIM_FPU_CFLAGS)
|
NOWARN_CFLAGS = $(CFLAGS) $(INLINE_CFLAGS) $(CONFIG_CFLAGS) $(INCLUDES) $(SIM_FPU_CFLAGS)
|
||||||
@ -507,7 +507,7 @@ LIB_OBJ = \
|
|||||||
semantics.o \
|
semantics.o \
|
||||||
idecode.o \
|
idecode.o \
|
||||||
support.o \
|
support.o \
|
||||||
@sim_fpu@ \
|
sim-fpu.o \
|
||||||
psim.o \
|
psim.o \
|
||||||
$(COMMON_OBJS) \
|
$(COMMON_OBJS) \
|
||||||
$(PACKAGE_OBJ) \
|
$(PACKAGE_OBJ) \
|
||||||
|
18
sim/ppc/configure
vendored
18
sim/ppc/configure
vendored
@ -621,8 +621,6 @@ ac_includes_default="\
|
|||||||
|
|
||||||
ac_subst_vars='LTLIBOBJS
|
ac_subst_vars='LTLIBOBJS
|
||||||
LIBOBJS
|
LIBOBJS
|
||||||
sim_fpu
|
|
||||||
sim_fpu_cflags
|
|
||||||
sim_devzero
|
sim_devzero
|
||||||
sim_termio
|
sim_termio
|
||||||
sim_model_issue
|
sim_model_issue
|
||||||
@ -4121,20 +4119,6 @@ else
|
|||||||
sim_devzero=""
|
sim_devzero=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for common simulator directory fpu implementation" >&5
|
|
||||||
$as_echo_n "checking for common simulator directory fpu implementation... " >&6; }
|
|
||||||
if test -f "${srcdir}/../common/sim-fpu.c"; then
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
||||||
$as_echo "yes" >&6; }
|
|
||||||
sim_fpu_cflags="-DHAVE_COMMON_FPU -I../common -I${srcdir}/../common"
|
|
||||||
sim_fpu="sim-fpu.o"
|
|
||||||
else
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
||||||
$as_echo "no" >&6; }
|
|
||||||
sim_fpu_cflags=
|
|
||||||
sim_fpu=
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Since we run commands on the build system, we have to create a
|
# Since we run commands on the build system, we have to create a
|
||||||
# separate config header for the build system if build != host.
|
# separate config header for the build system if build != host.
|
||||||
if test x$host = x$build; then
|
if test x$host = x$build; then
|
||||||
@ -4190,8 +4174,6 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -545,17 +545,6 @@ else
|
|||||||
sim_devzero=""
|
sim_devzero=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_MSG_CHECKING(for common simulator directory fpu implementation)
|
|
||||||
if test -f "${srcdir}/../common/sim-fpu.c"; then
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
sim_fpu_cflags="-DHAVE_COMMON_FPU -I../common -I${srcdir}/../common"
|
|
||||||
sim_fpu="sim-fpu.o"
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
sim_fpu_cflags=
|
|
||||||
sim_fpu=
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Since we run commands on the build system, we have to create a
|
# Since we run commands on the build system, we have to create a
|
||||||
# separate config header for the build system if build != host.
|
# separate config header for the build system if build != host.
|
||||||
if test x$host = x$build; then
|
if test x$host = x$build; then
|
||||||
@ -612,8 +601,6 @@ AC_SUBST(sim_default_model)
|
|||||||
AC_SUBST(sim_model_issue)
|
AC_SUBST(sim_model_issue)
|
||||||
AC_SUBST(sim_termio)
|
AC_SUBST(sim_termio)
|
||||||
AC_SUBST(sim_devzero)
|
AC_SUBST(sim_devzero)
|
||||||
AC_SUBST(sim_fpu_cflags)
|
|
||||||
AC_SUBST(sim_fpu)
|
|
||||||
|
|
||||||
AC_OUTPUT(Makefile,
|
AC_OUTPUT(Makefile,
|
||||||
[case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac])
|
[case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac])
|
||||||
|
Reference in New Issue
Block a user