Commit dc06db20 by J"orn Rennecke Committed by Joern Rennecke

configure.in (inhibit_libc): Don't define when configuring with --with-newlib --with-headers.

	* configure.in (inhibit_libc): Don't define when configuring
	with --with-newlib --with-headers.
	* configure: Regenerate.

	* t-sh: Remove LIB2FUNCS_EXTRA and embed-bb.c rules.

From-SVN: r67396
parent 8d398258
2003-05-23 J"orn Rennecke <joern.rennecke@superh.com>
* configure.in (inhibit_libc): Don't define when configuring
with --with-newlib --with-headers.
* configure: Regenerate.
* t-sh: Remove LIB2FUNCS_EXTRA and embed-bb.c rules.
2003-06-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* configure.in (gcc_cv_as_hidden): Disable .hidden completely on
......
......@@ -3,15 +3,6 @@ LIB1ASMFUNCS = _ashiftrt _ashiftrt_n _ashiftlt _lshiftrt _movstr \
_movstr_i4 _mulsi3 _sdivsi3 _sdivsi3_i4 _udivsi3 _udivsi3_i4 _set_fpscr \
$(LIB1ASMFUNCS_CACHE)
LIB2FUNCS_EXTRA=embed-bb.c
embed-bb.c: $(srcdir)/libgcc2.c
echo '#ifdef inhibit_libc' > $@
echo '#define L_bb' >> $@
echo '#undef inhibit_libc' >> $@
cat $< >> $@
echo '#endif' >> $@
# We want fine grained libraries, so use the new code to build the
# floating point emulation libraries.
FPBIT = fp-bit.c
......
......@@ -1415,12 +1415,14 @@ fi
# have its own set of headers then define
# inhibit_libc
# If this is using newlib, then define inhibit_libc in LIBGCC2_CFLAGS.
# If this is using newlib, without having the headers available now,
# then define inhibit_libc in LIBGCC2_CFLAGS.
# This prevents libgcc2 from containing any code which requires libc
# support.
inhibit_libc=
if { test x$host != x$target && test "x$with_headers" = x &&
test "x$with_sysroot" = x ; } || test x$with_newlib = xyes ; then
if { { test x$host != x$target && test "x$with_sysroot" = x ; } ||
test x$with_newlib = xyes ; } &&
test "x$with_headers" = x ; then
inhibit_libc=-Dinhibit_libc
fi
AC_SUBST(inhibit_libc)
......
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