Commit ca6b370d by Jeff Law

Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)

        * Merge egcs & devo libiberty.

From-SVN: r22941
parent 8398bbfb
Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
* Merge egcs & devo libiberty.
1998-09-08 Martin von Lwis <loewis@informatik.hu-berlin.de>
* cplus-dem.c (demangle_arm_pt): Demangle anonymous namespaces.
......@@ -20,6 +24,12 @@ Sat Sep 5 03:24:49 1998 Jeffrey A Law (law@cygnus.com)
* getopt1.c, obstack.c: Similarly.
* Makefile.in: Build mkstemp.o
Tue Sep 1 23:12:47 1998 Christopher Faylor <cgf@cygnus.com>
* configure.in: Include asprintf in list of functions known not
to be in newlib.
* configure: Rebuild.
Wed Aug 19 14:05:01 1998 Mumit Khan <khan@xraylith.wisc.edu>
* cplus-dem.c (work_stuff): Add dllimported.
......@@ -36,6 +46,35 @@ Mon Aug 17 10:40:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* cplus-dem.c: Include config.h if it exists. Also, only
prototype malloc/realloc if we can't get stdlib.h.
Sat Aug 15 16:15:01 1998 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Switch back to checking --with-target-subdir when
deciding whether to check for newlib, undoing part of July 15
change.
* configure: Rebuild.
Thu Aug 13 16:47:38 1998 Mark Mitchell <mark@markmitchell.com>
* cplus-dem.c (type_kind_t): New type.
(demangle_template_value_parm): Add type_kind_t parameter. Rely
on this paramter, rather than demangling the type again.
(demangle_integral_value): Pass tk_integral.
(demangle_template_: Pass the value returned from do_type.
(do_type): Return a type_kind_t. Pass tk_integral to
demangle_template_value_parm for array bounds.
(demangle_fund_type): Likewise.
Also incorporate from GCC version:
Tue Jul 21 13:28:19 1998 Jason Merrill <jason@yorick.cygnus.com>
* cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
Thu Aug 13 16:47:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* cplus-dem.c (demangle_nested_args): Make function definition
static to match the prototype.
Tue Jul 28 11:33:09 1998 Mark Mitchell <mark@markmitchell.com>
* cplus-dem.c (type_kind_t): New type.
......@@ -53,16 +92,32 @@ Tue Jul 28 11:33:09 1998 Mark Mitchell <mark@markmitchell.com>
* cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
Mon Jul 27 12:16:08 1998 Ian Lance Taylor <ian@cygnus.com>
* Makefile.in (ALLOCA): New variable.
($(TARGETLIB)): Add $(ALLOCA) to library.
(needed-list): Add $(ALLOCA).
($(ALLOCA)): Depend upon stamp-picdir.
Sun Jul 19 08:23:17 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* cplus-dem.c (demangle_nested_args): Make function definition
static to match the prototype.
1998-07-13 Mark Mitchell <mark@markmitchell.com>
Wed Jul 15 00:12:58 1998 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Check --with-cross-host rather than
--with-target-subdir when deciding whether build uses a cross
compiler, and when deciding where to install the library.
* configure: Rebuild.
Sun Jul 12 01:27:05 1998 Jason Merrill <jason@yorick.cygnus.com>
* cplus-dem.c (demangle_nested_args): Return a value.
* cplus-dem.c: Incorporate changes from GCC version not present in
the libiberty version:
(string): Move definition before work_stuff.
Sat Jul 11 16:19:48 1998 Mark Mitchell <mark@markmitchell.com>
* cplus-dem.c (string): Move definition before work_stuff.
(work_stuff): Add volatile_type, forgetting_types,
previous_argument, and nrepeats fields.
(SCOPE_STRING): New macro.
......@@ -91,23 +146,46 @@ Sun Jul 19 08:23:17 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
(do_arg): Improve commment. Handle 'n' repeat code.
(remember_type): Check forgetting_types.
(demangle_args): Deal with 'n' repeat codes. Tidy.
Thu Jul 2 16:26:24 1998 Ian Lance Taylor <ian@cygnus.com>
* config.table: Only use mh-fbsd21 on *-*-freebsd2.2.[012], not on
*-*-freebsd2.2.*. From Dmitrij Tejblum <tejblum@arc.hq.cti.ru>.
Mon Jun 15 16:29:01 1998 Ian Lance Taylor <ian@cygnus.com>
* configure.in (setobjs): Correct quoting error in cygwin32 case.
From Chris Faylor <cgf@cygnus.com>.
Mon Jun 1 13:47:55 1998 Jason Molenda (crash@bugshack.cygnus.com)
* obstack.c: Update to latest FSF version.
Mon Jun 1 14:17:36 1998 Mike Stump <mrs@wrs.com>
* Makefile.in: Add a dependency on stamp-picdir for the
objects, so that we can do a parallel build.
Sat May 30 22:17:13 1998 Mumit Khan <khan@xraylith.wisc.edu>
* configure.in (checkfuncs): Add missing "'".
Fri May 22 11:06:41 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Fri May 29 12:40:41 1998 Jason Molenda (crash@bugshack.cygnus.com)
* Makefile.in (distclean): Don't remove alloca-conf.h
* obstack.c (_obstack_memory_used): Elide this function if we're
on a system with GNU libc.
Fri May 22 01:38:07 1998 Hans-Peter Nilsson <hp@axis.se>
Tue May 26 18:28:43 1998 Ian Lance Taylor <ian@cygnus.com>
* cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
* Makefile.in (distclean): Remove config.log.
Fri May 22 01:19:28 1998 Mike Stump <mrs@wrs.com>
Tue May 26 15:01:52 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makefile.in: Add a dependency on stamp-picdir for the
objects, so that we can do a parallel build.
* Makefile.in (distclean): Don't remove alloca-conf.h.
Fri May 22 01:38:07 1998 Hans-Peter Nilsson <hp@axis.se>
* cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
1998-05-21 Mark Mitchell <mmitchell@usa.net>
......
......@@ -64,6 +64,7 @@ MAKEOVERRIDES =
TARGETLIB = libiberty.a
LIBOBJS = @LIBOBJS@
ALLOCA = @ALLOCA@
# A configuration can specify extra .o files that should be included,
# even if they are in libc. (Perhaps the libc version is buggy.)
......@@ -127,10 +128,10 @@ REQUIRED_OFILES = argv.o choose-temp.o concat.o cplus-dem.o \
floatformat.o mkstemp.o objalloc.o obstack.o pexecute.o spaces.o strerror.o \
strsignal.o xatexit.o xexit.o xmalloc.o xstrdup.o xstrerror.o
$(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
$(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) $(ALLOCA)
rm -f $(TARGETLIB)
$(AR) $(AR_FLAGS) $(TARGETLIB) \
$(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
$(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) $(ALLOCA)
$(RANLIB) $(TARGETLIB)
INSTALL_DEST = @INSTALL_DEST@
......@@ -150,7 +151,7 @@ install_to_tooldir: all
# needed-list is used by libstdc++.
needed-list: Makefile
f="$(LIBOBJS) $(EXTRA_OFILES)"; \
f="$(LIBOBJS) $(ALLOCA) $(EXTRA_OFILES)"; \
case $$f in \
*alloca.o*) f="$$f xmalloc.o xexit.o" ;; \
esac; \
......@@ -196,6 +197,7 @@ clean: mostlyclean
distclean: clean
@$(MULTICLEAN) multi-clean DO=distclean
rm -f *~ Makefile config.status xhost-mkfrag TAGS multilib.out
rm -f config.log
maintainer-clean realclean: distclean
force:
......@@ -210,7 +212,7 @@ stamp-h: config.in config.status
config.status: $(srcdir)/configure $(srcdir)/config.table
$(SHELL) ./config.status --recheck
$(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir
$(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) $(ALLOCA): stamp-picdir
alloca.o: config.h
atexit.o: config.h
......
......@@ -3,7 +3,7 @@ case "${host}" in
frag=mh-aix ;;
*-*-cxux7*) frag=mh-cxux7 ;;
*-*-freebsd2.1.*) frag=mh-fbsd21 ;;
*-*-freebsd2.2.*) frag=mh-fbsd21 ;;
*-*-freebsd2.2.[012]) frag=mh-fbsd21 ;;
i[345]86-*-windows*) frag=mh-windows ;;
esac
......
......@@ -5,7 +5,9 @@ AC_INIT(pexecute.c)
dnl We use these options to decide which functions to include.
AC_ARG_WITH(target-subdir,
[ --with-target-subdir=SUBDIR Configuring with a cross compiler])
[ --with-target-subdir=SUBDIR Configuring in a subdirectory])
AC_ARG_WITH(cross-host,
[ --with-cross-host=HOST Configuring with a cross compiler])
AC_ARG_WITH(newlib,
[ --with-newlib Configuring with newlib])
......@@ -173,20 +175,21 @@ fi
setobjs=
if test -n "${with_target_subdir}"; then
# We are being configured with a cross compiler. AC_REPLACE_FUNCS
# We are being configured as a target library. AC_REPLACE_FUNCS
# may not work correctly, because the compiler may not be able to
# link executables.
# link executables. Note that we may still be being configured
# native.
# If we are being configured for newlib, we know which functions
# newlib provide and which ones we will be expected to provide.
if test "x${with_newlib}" = "xyes"; then
ALLOCA="alloca.o"
LIBOBJS="basename.o insque.o random.o strdup.o vasprintf.o"
LIBOBJS="asprintf.o basename.o insque.o random.o strdup.o vasprintf.o"
for f in $funcs; do
case "$f" in
basename | insque | random | strdup | vasprintf)
asprintf | basename | insque | random | strdup | vasprintf)
;;
*)
n=HAVE_`echo $f | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
......@@ -198,7 +201,7 @@ if test -n "${with_target_subdir}"; then
# newlib doesnt provide any of the variables in $vars, so we
# dont have to check them here.
# Of the functions in $checkfuncs, VxWorks only has strerror.
# Of the functions in $checkfuncs, newlib only has strerror.
AC_DEFINE(HAVE_STRERROR)
setobjs=yes
......@@ -300,7 +303,7 @@ fi
# Install a library built with a cross compiler in $(tooldir) rather
# than $(libdir).
if test -z "${with_target_subdir}"; then
if test -z "${with_cross_host}"; then
INSTALL_DEST=libdir
else
INSTALL_DEST=tooldir
......
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