diff --git a/contrib/binutils/ChangeLog b/contrib/binutils/ChangeLog index 8229a66a3813..f6aa08d66539 100644 --- a/contrib/binutils/ChangeLog +++ b/contrib/binutils/ChangeLog @@ -1,3 +1,40 @@ +2001-06-19 Alan Modra + + * Makefile.in: Revert 2001-06-17. + (VER): If AM_INIT_AUTOMAKE uses BFD_VERSION, get version from bfd/. + +2001-06-17 H.J. Lu + + * Makefile.in (gas.tar.bz2): Pass TOOL=bfd PACKAGE=gas to make. + (gas+binutils.tar.bz2): Likewise. + (binutils.tar.bz2): Pass TOOL=bfd PACKAGE=binutils to make. + +2001-06-11 Alan Modra + + Merge from mainline. + 2001-03-23 Nick Clifton + * README-maintainer-mode: Add note about inability to use "make + distclean" in maintainer mode. + +2001-03-22 Philip Blundell + + * config.sub, config.guess: Import latest from subversions. + +2001-01-30 Alan Modra + + * config.guess: Handle hppa64-linux systems. + +2001-01-24 Alexandre Oliva + + * ltmain.sh (TAG disable-shared, TAG disable-static): Make sure we + keep at least one of build_libtool_libs or build_old_libs set to + yes. + +2001-01-24 Alexandre Oliva + + * ltcf-gcj.sh (lt_simple_link_test_code): Remove stray `(0)'. + * libtool.m4 (_AC_LIBTOOL_GCJ): Pass $CPPFLAGS on. + 2000-11-07 Philip Blundell * Makefile.in (ETC_SUPPORT): Also add configbuild.* and configdev.*. @@ -7,25 +44,372 @@ * Makefile.in (ETC_SUPPORT): Add configure.texi and associated info files. +2001-01-15 Jeff Johnston + + * COPYING.NEWLIB: Put into source repository. + +2001-01-15 Ben Elliston + + * configure.in (host_tools): Add sid. + Always configure cgen. + * Makefile.in (all-sid): New target. + (check-sid, clean-sid, install-sid): Likewise. + +2001-01-07 Andreas Jaeger + + * config.sub, config.guess: Update from subversions. + +2000-12-12 Alexandre Oliva + + * configure.in: Disable language-specific target libraries for + languages that aren't enabled. + +2000-11-24 Nick Clifton + + * configure.in (xscale-elf): Add target. + (xscale-coff): Add target. + (c4x, c5x, tic54x): Move after ARM targets. + +2000-11-23 Alexandre Oliva + + * ltcf-gcj.sh: Added file, required by 2000-11-18 merge. + +2000-11-20 Ian Lance Taylor + + * ltcf-cxx.sh: Added file, required by 2000-11-18 merge. + +2000-11-18 Alexandre Oliva + + * Makefile.in: Merge with GCC and libgcj. + (ALL_GCC_C, ALL_GCC_CXX): New macros. Use them as dependencies of + configure-target- when their configure scripts need the C + or C++ library to have already been built to work properly. + (do_proto_toplev): Set them to an empty string. + +Sat Nov 18 18:57:50 2000 Alexandre Oliva + + * Makefile.in (HOST_LIB_PATH, TARGET_LIB_PATH): New macros. + (REALLY_SET_LIB_PATH): Use them. + +Mon Nov 6 14:19:35 2000 Christopher Faylor + + * config.sub: Add support for Sun Chorus + +2000-11-02 Per Lundberg + + * config.sub: Add support for the *-storm-chaos OS. + +2000-10-30 Stephane Carrez + + * configure.in (noconfigdirs): Don't compile some + of the libraries for 68HC11 & 68hc12 targets. + +2000-09-30 Alexandre Oliva + + * ltconfig, ltmain.sh, libtool.m4: Updated from libtool + multi-language branch, to work around Solaris' /bin/sh bug. Rebuilt + all affected `configure' scripts. + +2000-09-25 Alexandre Oliva + + * Makefile.in (DEVO_SUPPORT): Added gettext.m4, libtool.m4 and + ltcf-c.sh. + +2000-09-12 Philip Blundell + + * config.sub, config.guess: Update from subversions. + +2000-09-06 Alexandre Oliva + + * Makefile.in (all-zlib): Added dummy target. + + * ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh: Updated from libtool + multi-language branch. + +2000-09-05 Alexandre Oliva + + * Makefile.in (all-bootstrap): Added all-texinfo and all-zlib. + (bootstrap*): Depend on all-bootstrap. + +2000-09-02 Alexandre Oliva , DJ Delorie + + * configure.in (FLAGS_FOR_TARGET): Use -nostdinc even for Canadian + crosses, but add gcc/include to the header search path for them. + +2000-08-31 Alexandre Oliva + + * ltconfig, ltmain.sh: Updated from libtool multi-language branch. + * libtool.m4, ltcf-c.sh: Copied from libtool multi-language branch. + * gettext.m4: New file, extracted from aclocal.m4. + +2000-08-22 Alexandre Oliva + + * config-ml.in (CC, CXX): Avoid trailing whitespace. + (LD_LIBRARY_PATH, SHLIB_PATH): Adjust for multilibs and export to + sub-configures. + +2000-08-20 Doug Evans + + * Makefile.in (ALL_MODULES): Add all-cgen. + (CROSS_CHECK_MODULES,INSTALL_MODULES,CLEAN_MODULES): Similarily. + (all-cgen): New target. + (all-opcodes,all-sim): Depend on all-cgen. + * configure.in (host_tools): Add cgen. + Only configure cgen if --enable-cgen-maint. + +2000-08-17 Alexandre Oliva + + * config-ml.in (CC, CXX): Don't introduce a leading space. + +2000-08-16 Alexandre Oliva + + * configure.in (libstdcxx_flags): Use + libstdc++-v3/src/libstdc++.INC. + +2000-08-15 Alexandre Oliva + + * configure.in (libstdcxx_flags): Use libstdc++-v3/src/INCLUDES. + +2000-08-11 Jason Merrill + + * configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET, + CXX_FOR_TARGET): Add -B$$r/gcc/ here. + (FLAGS_FOR_TARGET): Not here. + (CHILL_FOR_TARGET, CXX_FOR_TARGET): Don't check the list of languages. + +2000-08-07 DJ Delorie + + * configure.in (FLAGS_FOR_TARGET): invert test for xgcc, should mean + "if we're also building gcc, and it's a gcc that will run on the + build machine, we want to use its includes instead of the system's + default includes". + +2000-08-03 Alexandre Oliva + + * configure.in (libstdcxx_flags): Don't use `"'. + + * config-ml.in: Adjust multilib search paths to the + appropriate multilib tree. + +2000-08-02 Alexandre Oliva + + * configure.in (CHILL_FOR_TARGET, CXX_FOR_TARGET): Convert blanks to + commas in $LANGUAGES. + +2000-08-01 Alexandre Oliva + + * configure.in (qCXX_FOR_TARGET): Use echo instead of expr. + +2000-07-31 Alexandre Oliva + + * configure.in (qCXX_FOR_TARGET): Quote `&' characters in + CXX_FOR_TARGET for sed. + +2000-07-30 Alexandre Oliva + + * configure.in (CC_FOR_TARGET, CHILL_FOR_TARGET, CXX_FOR_TARGET): + Do not override if already set in the environment or in configure. + Don't duplicate $(FLAGS_FOR_TARGET) if it already appears in them. + (FLAGS_FOR_TARGET): Don't use host directories on Canadian crosses. + +2000-07-27 Alexandre Oliva + + * Makefile.in (FLAGS_FOR_TARGET): New macro. + (GCC_FOR_TARGET): Use it. + (CC_FOR_TARGET, CXX_FOR_TARGET, CHILL_FOR_TARGET): Now defined... + * configure.in: ... here. + (FLAGS_FOR_TARGET): Define. Add ld build dir to -L path. + (libstdcxx_flags): Define and append to CXX_FOR_TARGET. + +2000-07-24 Alexandre Oliva + + * Makefile.in (configure-target-libf2c): Depend on $(ALL_GCC). + (configure-target-libchill, configure-target-libobjc): Likewise. + + * configure.in: Use the same cache file for all target libs. + * config-ml.in: But different cache files per multilib variant. + +2000-07-23 Michael Sokolov + + * configure (topsrcdir): Don't use dirname. + +2000-07-20 Jason Merrill + + * configure.in: Remove all references to libg++ and librx. + + * configure, configure.in, Makefile.in: Unify gcc and binutils. + +2000-07-20 Hans-Peter Nilsson + + * config.sub: Update to subversions version 2000-07-06. + +2000-07-12 Andrew Haley + + * configure.in (host_makefile_frag): Use mh-ia64pic on IA-64 hosts. + (target_makefile_frag): Use mt-ia64pic on IA-64 targets. + +2000-07-07 Phil Edwards + + * symlink-tree: Check number of arguments. + +Thu Jul 6 15:36:55 2000 Andrew Cagney + + * texinfo/texinfo.tex: Update to version 2000-05-28.15. + +2000-07-05 Jim Wilson + + * Makefile.in (CXX_FOR_TARGET): Add libstdc++ to the library + search path for a g++ extracted from the build tree. This + will allow link tests run by configure scripts in + subdirectories to succeed. + +2000-07-01 Koundinya K + + * ltconfig: Add support for mips-dde-sysv4.2MP + +2000-06-28 Corinna Vinschen + + * ltconfig: Check for host_os beeing one of `cygwin', `mingw' or + `os2'. Force ac_cv_exeext to be ".exe" in that case. + +2000-06-19 Timothy Wall + + * configure.in (noconfigdirs): Set noconfigdirs for tic54x target. + * config.sub: Add tic54x target. + +2000-06-07 Phillip Thomas + + * README-maintainer-mode: New file: Contains notes on using + --enable-maintainer-mode with binutils. + +Mon May 29 13:50:03 2000 Andrew Cagney + + * texinfo/texinfo.tex: Update. Version from makeinfo 4.0. + +Tue May 30 19:01:12 2000 Andrew Cagney + + * config.sub: Import CVS version 1.167 Tue May 30 09:00:07 2000. + * config.guess: Import CVS version 1.148 Tue May 30 09:00:06 2000 + +20000-05-21 H.J. Lu (hjl@gnu.org) + + * Makefile.in (CC_FOR_TARGET): Make sure as/ld in the gcc + directory are used if they exist. Make sure + $(build_tooldir)/include is searched for header files, + $(build_tooldir)/lib/ for library files. + (GCC_FOR_TARGET): Likewise. + (CXX_FOR_TARGET): Likewise. + +Thu May 18 10:58:13 2000 Jeffrey A Law (law@cygnus.com) + + * configure.in (hppa*64*-*-*): Do build ld for this configuration. + +Wed May 17 16:03:48 2000 Alexandre Oliva + + * Makefile.in (configure-target-libiberty): Depend on + configure-target-newlib. + +2000-05-16 Alexandre Oliva + + * configure.in, Makefile.in: Merge all libffi-related + configury stuff from the libgcj tree. + +Tue May 16 10:06:21 2000 Andrew Cagney + + Thu Apr 27 11:01:48 2000 Andrew Cagney : + * Makefile.in (do-tar-bz2, do-md5sum): Skip CVS directories. + +Tue May 16 09:57:35 2000 Andrew Cagney + + Wed Apr 26 17:03:53 2000 Andrew Cagney : + * Makefile.in (do-djunpack): New target. Update djunpack.bat with + current version information. Add to proto-toplev directory. + (gdb-taz): Build do-djunpack. + +2000-05-15 David Edelsohn + + * configure.in: Special case powerpc*-*-aix* target_makefile_frag. + +2000-05-13 Alexandre Oliva + + * ltmain.sh: Preserve in relink_command any environment + variables that may affect the linker behavior. + +Fri May 12 11:23:17 2000 Jeffrey A Law (law@cygnus.com) + + * config.sub (basic_machine): Recognize hppa64 as a valid cpu type. + +Wed May 10 21:26:51 2000 Jim Wilson + + * configure.in (ia64*-*-elf*): Add gdb and friends to noconfigdirs. + +2000-05-08 Eli Zaretskii + + * djunpack.bat: Change the Sed script to replace @V@ in fnchange.lst + with the version name. + +2000-05-01 Benjamin Kosnik + + * config.if: Tweak. + +2000-04-23 Eli Zaretskii + + * djunpack.bat: New file. + +Wed Apr 19 12:46:26 2000 Andrew Cagney + + * Makefile.in (taz, gdb-taz, gas.tar.bz2, binutils.tar.bz2, + gas+binutils.tar.bz2, libg++.tar.bz2, gnats.tar.bz2, gdb.tar.bz2, + dejagnu.tar.bz2, gdb+dejagnu.tar.bz2, insight.tar.bz2, + insight+dejagnu.tar.bz2, newlib.tar.bz2): Pass MD5PROG to sub-make. + +2000-04-16 Dave Pitts + + * config.sub (case $basic_machine): Change default for "ibm-*" + to "openedition". + +Wed Apr 12 16:42:48 2000 Andrew Cagney + + * Makefile.in (gdb-taz): New target. GDB specific archive. + (do-md5sum): New target. + (MD5PROG): Define. + (PACKAGE): Default to TOOL. + (VER): Default to a shell script. + (taz): Rewrite target. Move real work to do-proto-toplev. Include + md5 checksum generation. + (do-proto-toplev): New target. Create $(PACKAGE)-$(VER) link. + (do-tar-bz2): Delete creation of $(PACKAGE)-$(VER) link. + (gdb.tar.bz2, dejagnu.tar.bz2, gdb+dejagnu.tar.bz2, + insight.tar.bz2): Use gdb-taz to create archive. + +Fri Apr 7 18:10:29 2000 Andrew Cagney + + * configure (warn_cflags): Delete. + +2000-04-05 Benjamin Kosnik + Martin v. Loewis + + * configure.in (enable_libstdcxx_v3): Add. + (target_libs): Add bits here to switch between libstdc++-v2 and + libstdc++-v3. + * config.if: And this file too. + * Makefile.in: Add libstdc++-v3 targets. + +2000-04-05 Michael Meissner + + * config.sub (d30v): Add d30v as a basic machine type. + 2000-03-29 Jason Merrill * configure.in: -linux-gnu*, not -linux-gnu. -2000-03-10 H.J. Lu - - * Makefile.in (all-gcc): Backed out the last change. - -2000-03-10 H.J. Lu - - * Makefile.in (all-gcc): Run ld/ld-new if necessary. - Fri Mar 3 18:44:08 2000 Andrew Cagney * Makefile.in (taz): Set PACKAGE to TOOL when not defined. (do-tar-bz2): Replace TOOL with PACKAGE. (gdb.tar.bz2): Remove GDBTK from GDB package. (gdb+dejagnu.tar.bz2, insight.tar.bz2, insight+dejagnu.tar.bz2, - dejagnu.tar.bz2): New packages. + dejagnu.tar.bz2): New packages. 2000-02-27 Andreas Jaeger @@ -43,7 +427,7 @@ Fri Mar 3 18:44:08 2000 Andrew Cagney Thu Feb 24 16:15:56 2000 Andrew Cagney * config.guess, config.sub: Updated to match config's 2000-02-15 - version. + version. 2000-02-23 Linas Vepstas @@ -63,11 +447,68 @@ Thu Feb 24 16:15:56 2000 Andrew Cagney * configure (gcc_version): When setting, narrow search to lines containing `version_string'. +2000-02-15 Denis Chertykov + + * config.sub: Add support for avr target. + +Tue Feb 1 00:07:46 2000 Hans-Peter Nilsson + + * config.sub: Add mmix-knuth-mmixware. + +2000-01-27 Christopher Faylor + + * Makefile.in (CC_FOR_TARGET): Add new winsup directory + structure stuff to -L library search. + (CXX_FOR_TARGET): Ditto. + (CROSS_CHECK_MODULES): Fix spelling mistake. + +2000-01-24 Mark Mitchell + + * Makefile.in (CXX_FOR_TARGET): Use g++, not xgcc, to invoke + the C++ compiler. + +2000-01-12 Richard Henderson + + * configure.in: Don't build some bits for beos. + +2000-01-12 Joel Sherrill (joel@OARcorp.com) + + * Makefile.in (CC_FOR_TARGET): Use newlib libraries as well + as include files. + 2000-01-06 Geoff Keating * configure.in: Use mt-aix43 to handle *_TARGET defs, not mh-aix43. +1999-12-14 Richard Henderson + + * config.guess (alpha-osf, alpha-linux): Detect ev67. + * config.sub: Accept alphaev[78], alphaev8. + +1999-12-03 Alexandre Oliva + + * config.guess, config.sub: Update from autoconf. + +Tue Nov 23 00:57:41 1999 Rainer Orth + + * config-ml.in (sparc*-*-*): Disable sparcv9 support if the + necessary libraries are missing. + +1999-10-25 Andreas Schwab + + * configure: Fix quoting inside arguments of eval. + +1999-10-21 Nick Clifton + + * config-ml.in: Allow suppression of some ARM multilibs. + +Tue Sep 7 23:33:57 1999 Linas Vepstas + + * config.guess: Add OS/390 match pattern. + * config.sub: Add mvs, openedition targets. + * configure.in (i370-ibm-opened*): New. + 1999-09-04 Steve Chamberlain * config.sub: Add support for configuring for pj. @@ -76,11 +517,16 @@ Thu Feb 24 16:15:56 2000 Andrew Cagney * config.sub (maybe_os): Add support for configuring for fr30. -1999-08-27 Nick Clifton +1999-08-25 Nick Clifton * configure.in: Do not configure or build ld for AIX platforms. ld is known to be broken on these platforms. +Wed Aug 25 01:12:25 1999 Rainer Orth + + * config-ml.in: Pass compiler flag corresponding to multidirs to + subdir configures. + 1999-08-09 Ian Lance Taylor * Makefile.in (LDFLAGS): Define. @@ -101,11 +547,52 @@ Thu Feb 24 16:15:56 2000 Andrew Cagney * configure (tmpfile): Change cONf$$ to cNf$$ to avoid an overly long file name when using DJGPP on MS-DOS. +Wed Aug 4 02:07:14 1999 Jeffrey A Law (law@cygnus.com) + + * config.sub (vxworks case): Use os=-vxworks, not os=vxworks. + 1999-07-30 Alan Modra * Makefile.in (check-target-libio): Remove all-target-libstdc++ dependency as this causes "make check" to globally "make all" +Tue Jun 22 23:45:18 1999 Tom Tromey + + * configure.in (target_libs): Added target-zlib. + * Makefile.in (ALL_TARGET_MODULES): Added zlib. + (CONFIGURE_TARGET_MODULES): Likewise. + (CHECK_TARGET_MODULES): Likewise. + (INSTALL_TARGET_MODULES): Likewise. + (CLEAN_TARGET_MODULES): Likewise. + (configure-target-zlib): New target. + (all-target-zlib): Likewise. + (all-target-libjava): Depend on all-target-zlib. + (configure-target-libjava): Depend on configure-target-zlib. + + * Makefile.in (configure-target-libjava): Depend on + configure-target-newlib. + (configure-target-boehm-gc): New target. + (configure-target-qthreads): New target. + + * configure.in (target_libs): Added target-qthreads. + * Makefile.in (ALL_TARGET_MODULES): Added qthreads. + (CONFIGURE_TARGET_MODULES): Likewise. + (CHECK_TARGET_MODULES): Likewise. + (INSTALL_TARGET_MODULES): Likewise. + (CLEAN_TARGET_MODULES): Likewise. + (all-target-qthreads): New target. + (configure-target-libjava): Depend on configure-target-qthreads. + (all-target-libjava): Depend on all-target-qthreads. + + * Makefile.in (ALL_TARGET_MODULES): Added libjava, boehm-gc. + (CONFIGURE_TARGET_MODULES): Likewise. + (CHECK_TARGET_MODULES): Likewise. + (INSTALL_TARGET_MODULES): Likewise. + (CLEAN_TARGET_MODULES): Likewise. + (all-target-libjava): New target. + (all-target-boehm-gc): Likewise. + * configure.in (target_libs): Added libjava, boehm-gc. + 1999-07-22 Ian Lance Taylor * Makefile.in (binutils.tar.bz2): Don't pass makeall.bat and @@ -147,9 +634,26 @@ Sun May 30 16:03:16 1999 Cort Dougan * config.guess (ppc-*-linux-gnu): Also use ld emul elf32ppclinux. +Tue May 25 11:20:46 1999 H.J. Lu (hjl@gnu.org) + + * config.guess (dummy): Changed to $dummy. + 1999-05-24 Nick Clifton - * config.sub: Updated to match latest EGCS version. + * config.sub: Tidied up case statements. + +1999-05-22 Ben Elliston + + * config.guess: Handle NEC UX/4800. Contributed by Jiro Takabatake + . + + * config.guess: Merge with FSF version. Future changes will be + more accurately recorded in this ChangeLog. + * config.sub: Likewise. + +Thu May 20 10:00:42 1999 Stephen L Moshier + + * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include. 1999-04-30 Tom Tromey @@ -165,11 +669,26 @@ Sun May 30 16:03:16 1999 Cort Dougan (noconfigdirs): Don't build any bsp stuff for for arm-oabi targets. Bad merge removed these two changes. +Tue Apr 13 22:50:54 1999 Donn Terry (donn@interix.com) + Martin Heller (Ing.-Buero_Heller@t-online.de) + + * config.guess (interix Alpha): Add. + 1999-04-11 Richard Henderson * configure.in (i?86-*-beos*): Do config gperf; don't config gdb, newlib, or libgloss. +Sun Apr 11 23:55:34 1999 Alexandre Oliva + + * config-ml.in: On mips*-*-*, if multidirs contains mabi=64, try to + link a trivial program with -mabi=64. If it fails, remove mabi=64 + from multidirs. + +Sat Apr 10 21:50:01 1999 Philipp Thomas (kthomas@gwdg.de) + + * config.sub: Set basic_machine to i586 when target_alias = k6-*. + 1999-04-08 Nick Clifton * config.sub: Add support for mcore targets. @@ -240,7 +759,7 @@ Wed Mar 10 18:35:07 1999 Jeff Johnston Wed Mar 10 17:39:09 1999 Drew Moseley * configure.in: Added bsp support to arm-*-coff and arm-*-elf - targets. + targets. 1999-03-02 Nick Clifton @@ -283,7 +802,7 @@ Wed Feb 17 01:38:59 1999 H.J. Lu (hjl@gnu.org) 1999-02-17 Nick Clifton Patch from: Scott Bambrough - + * config.guess: Modified to recognize uname's armv* syntax. * config.sub: Modified to recognize uname's armv* syntax. @@ -302,7 +821,7 @@ Mon Feb 8 14:17:24 1999 Richard Henderson * config.sub: Add support for strongarm target. Sun Feb 7 18:01:54 1999 Mumit Khan - + * configure.in (*-*-cygwin32*): Use config/mh-cygwin instead of the old name config/mh-cygwin32. Enable texinfo. @@ -317,7 +836,7 @@ Tue Feb 2 19:46:40 1999 Jim Wilson $AR_FOR_TARGET. Likewise for RANLIB. Tue Feb 2 20:05:05 1999 Catherine Moore - + * config.sub (oabi): Recognize. * configure.in (arm-*-oabi): Handle. @@ -353,17 +872,6 @@ Wed Dec 30 01:13:03 1998 Christopher Faylor * Makefile.in: Add libtermcap target. * config/mt-cygwin: New file. libtermcap target info. -Tue Dec 15 17:02:58 1998 Bob Manson - - * configure.in: Add cygmon for x86-coff and x86-elf. Configure - cygmon for all sparclite targets, regardless of object format. - -1998-12-15 Mark Salter - - * configure.in: Added target-bsp for several target architectures. - - * Makefile.in: Added rules for bsp. - Wed Dec 23 00:20:50 1998 Jeffrey A Law (law@cygnus.com) * config.sub: Clean up handling of hppa2.0. @@ -376,6 +884,17 @@ Thu Dec 17 01:22:30 1998 Jeffrey A Law (law@cygnus.com) * config.sub: Handle hppa2.0. +Tue Dec 15 17:02:58 1998 Bob Manson + + * configure.in: Add cygmon for x86-coff and x86-elf. Configure + cygmon for all sparclite targets, regardless of object format. + +1998-12-15 Mark Salter + + * configure.in: Added target-bsp for several target architectures. + + * Makefile.in: Added rules for bsp. + Fri Dec 4 01:34:02 1998 Jeffrey A Law (law@cygnus.com) * config.guess: Improve detection of hppa2.0 processors. @@ -391,7 +910,6 @@ Fri Dec 4 01:33:05 1998 Niall Smart directory is "unwanted". * Makefile.in ($(CONFIGURE_TARGET_MODULES)): Likewise. - Wed Nov 18 18:28:45 1998 Geoffrey Noer * ltconfig: import from libtool, after changing libtool to @@ -439,6 +957,10 @@ Mon Nov 2 15:19:33 1998 Geoffrey Noer cygwin* instead of cygwin32*. * config.sub: Check cygwin* instead of cygwin32*. +Thu Oct 22 10:55:25 1998 Robert Lipe + + * config.guess: Match any version of Unixware7. + 1998-10-20 Syd Polk * Makefile.in configure.in: Add the ability to use tcl8.1 and tk8.1 @@ -453,10 +975,30 @@ Wed Oct 14 10:29:06 1998 Jeffrey A Law (law@cygnus.com) * Makefile.in (DEVO_SUPPORT): Add config.if. +Tue Oct 13 15:45:36 1998 Manfred Hollstein + + * configure: Add pattern to replace "build_tooldir"'s + definition in the generated Makefile with "tooldir"'s + actual value. + Tue Oct 13 09:17:06 1998 Jeffrey A Law (law@cygnus.com) * config.sub: Bring back lost sparcv9. + * Makefile.in (all-snvavigator): Remove all-flexlm dependency. + +Mon Oct 12 12:09:44 1998 Jeffrey A Law (law@cygnus.com) + + * Makefile.in (CHILL_FOR_TARGET): Mirror recent changes to + CC_FOR_TARGET and friends. + +Mon Oct 12 12:09:30 1998 Alexandre Oliva + + * Makefile.in (build_tooldir): New variable, same as tooldir. + (CC_FOR_TARGET, GCC_FOR_TARGET, CXX_FOR_TARGET): Add + -B$(build_tooldir)/bin/. + (BASE_FLAGS_TO_PASS): Pass build_tooldir down. + Wed Sep 30 22:20:50 1998 Robert Lipe * config.sub: Add support for i[34567]86-pc-udk. @@ -468,9 +1010,18 @@ Wed Sep 30 19:23:48 1998 Geoffrey Noer tools module * configure.in: ditto +Wed Sep 30 03:00:05 1998 Jeffrey A Law (law@cygnus.com) + + * Makefile.in (TARGET_CONFIGDIRS): Add libobjc. + (ALL_TARGET_MODULES): Add all-target-libobjc. + (CONFIGURE_TARGET_MODULES, CHECK_TARGET_MODULES): Similarly. + (INSTALL_TARGET_MODULES, CLEAN_TARGET_MODULES): Similarly. + (all-target-libchill): Add dependencies. + * configure.in (target_libs): Add libchill. + 1998-09-30 Manfred Hollstein - * configure.in (target_subdir): Remove duplicate line. + * configure.in (target_subdir): Remove duplicate line. Tue Sep 29 22:45:41 1998 Felix Lee @@ -491,7 +1042,6 @@ Mon Sep 28 04:04:27 1998 Jeffrey A Law (law@cygnus.com) * Makefile.in (bootstrap): Pass TARGET_FLAGS_TO_PASS to `make all'. - Sun Sep 20 00:13:02 1998 Richard Henderson * config.sub: Fix typo in last change. @@ -560,12 +1110,12 @@ Fri Aug 28 12:28:26 1998 Per Bothner Thu Aug 13 12:49:29 1998 H.J. Lu - * Makefile.in (taz): Try "chmod -R og=u ." before + * Makefile.in (taz): Try "chmod -R og=u ." before "chmod og=u `find . -print`". Fri Jul 31 09:38:33 1998 Catherine Moore - * configure.in: Add arm-elf and thumb-elf support. + * configure.in: Add arm-elf and thumb-elf support. Mon Jul 27 16:23:58 1998 Doug Evans @@ -715,7 +1265,7 @@ Sat Jun 27 22:46:32 1998 Jeffrey A Law (law@cygnus.com) Wed Jun 24 16:01:59 1998 John Metzler * configure.in (noconfigdirs): Add configure pattern for mips tx39 - cygmon + cygmon Tue Jun 23 22:42:32 1998 Mark Alexander @@ -732,11 +1282,11 @@ Tue Jun 23 22:42:32 1998 Mark Alexander Fri Jun 19 02:36:59 1998 Alexandre Oliva - * Makefile.in (local-clean): remove *.log - (warning.log): built with warn_summary from build.log - (mail-report.log): run test_summary - (mail-report-with-warnings.log): run test_summary including - warning.log in the report + * Makefile.in (local-clean): Remove *.log. + (warning.log): Built with warn_summary from build.log. + (mail-report.log): Run test_summary. + (mail-report-with-warnings.log): Run test_summary including + warning.log in the report. Thu Jun 18 11:26:03 1998 Robert Lipe @@ -778,7 +1328,11 @@ Thu May 28 19:31:13 1998 Ian Lance Taylor Sat May 23 23:44:13 1998 Alexandre Oliva * Makefile.in (boostrap2-lean, bootstrap3-lean, - bootstrap4-lean): new targets + bootstrap4-lean): New targets. + +Mon May 11 23:55:56 1998 Jeffrey A Law (law@cygnus.com) + + * mpw-* Delete. Not used. Mon May 11 23:11:34 1998 Jeffrey A Law (law@cygnus.com) @@ -803,8 +1357,8 @@ Tue May 5 18:02:24 1998 Ian Lance Taylor 1998-04-30 Paul Eggert - * Makefile.in (EXTRA_GCC_FLAGS): Remove backslash at end; - Solaris `make' causes it to continue to next definition. + * Makefile.in (EXTRA_GCC_FLAGS): Remove backslash at end; + Solaris `make' causes it to continue to next definition. Tue Apr 28 16:24:24 1998 Jason Molenda (crash@bugshack.cygnus.com) @@ -820,7 +1374,7 @@ Tue Apr 28 07:42:00 1998 Mark Alexander * config.sub: Recognize sparc86x. Tue Apr 28 07:35:02 1998 Michael Meissner - + * configure.in (--enable-target-optspace): Remove debug echo. Thu Apr 23 21:31:16 1998 Jim Wilson @@ -851,7 +1405,6 @@ Tue Apr 21 23:06:54 1998 Tom Tromey (all-gprof): Likewise. (all-ld): Likewise. - 1998-04-19 Brendan Kehoe * configure.in (host_tools): Fix typo, lbtool -> libtool. @@ -888,7 +1441,11 @@ Mon Apr 13 15:37:24 1998 Ian Lance Taylor * ltconfig: Add cygwin32 support. * Makefile.in, configure.in: Add libtool as a native only directory - to configure and build. + to configure and build. + +Sun Apr 12 20:58:46 1998 Jeffrey A Law (law@cygnus.com) + + * Makefile.in (INSTALL_MODULES): Remove texinfo. Wed Apr 8 13:18:56 1998 Philippe De Muyter @@ -916,6 +1473,11 @@ Thu Mar 26 15:00:11 1998 Keith Seitz * configure: Do not disable building gdbtk for cygwin32 hosts. +Wed Mar 25 10:04:18 1998 Nick Clifton + + * configure.in: Add thumb-coff target. + * config.sub: Add thumb-coff target. + Wed Mar 25 11:49:12 1998 Jason Molenda (crash@bugshack.cygnus.com) * Makefile.in: Revert yesterday's change. @@ -923,9 +1485,9 @@ Wed Mar 25 11:49:12 1998 Jason Molenda (crash@bugshack.cygnus.com) Tue Mar 24 16:58:29 1998 Jason Molenda (crash@bugshack.cygnus.com) - * Makefile.in (TARGET_CONFIGDIRS, ALL_TARGET_MODULES, - CONFIGURE_TARGET_MODULES, CHECK_TARGET_MODULES, - INSTALL_TARGET_MODULES, CLEAN_TARGET_MODULES, all-target-winsup): + * Makefile.in (TARGET_CONFIGDIRS, ALL_TARGET_MODULES, + CONFIGURE_TARGET_MODULES, CHECK_TARGET_MODULES, + INSTALL_TARGET_MODULES, CLEAN_TARGET_MODULES, all-target-winsup): Remove references to librx and libg++. Tue Mar 24 18:28:12 1998 Eric Mumpower @@ -963,6 +1525,7 @@ Wed Mar 18 09:24:59 1998 Nick Clifton * configure.in: Add Thumb-pe target. Tue Mar 17 16:59:00 1998 Syd Polk + * Makefile.in - changed sn targets to snavigator * configure.in - changed sn targets to snavigator @@ -985,7 +1548,6 @@ Fri Mar 6 00:14:55 1998 Franz Sirl * configure.in: Revert 3 Jan change for powerpc-linux-gnulibc1. - Mon Feb 23 15:09:18 1998 Bruno Haible * configure.in: Remove libgloss from noconfigdirs for MN10300. -Fri Feb 20 16:47:24 1998 Tom Tromey - - * configure: Don't let builds be done in source tree. - Thu Feb 19 13:40:41 1998 Ian Lance Taylor * configure.in: Don't build libgui for a cygwin32 target when not on @@ -1065,11 +1623,20 @@ Mon Feb 2 19:38:19 1998 Ian Lance Taylor * config.sub: Add tic30 cases, and map c30 to tic30. +Sun Feb 1 02:40:41 1998 Richard Henderson + + * Makefile.in (TARGET_CONFIGDIRS): Add libf2c. + (ALL_TARGET_MODULES, CONFIGURE_TARGET_MODULES): Similarly + (CHECK_TARGET_MODULES, INSTALL_TARGET_MODULES): Similarly + (CLEAN_TARGET_MODULES): Similarly + (all-target-libf2c): Add dependences. + * configure.in (target_libs): Add libf2c. + Fri Jan 30 17:18:32 1998 Geoffrey Noer - * configure.in: Remove expect from noconfigdirs when target - is cygwin32. OK to build expect and dejagnu with Canadian - Cross. + * configure.in: Remove expect from noconfigdirs when target + is cygwin32. OK to build expect and dejagnu with Canadian + Cross. Wed Jan 28 12:58:49 1998 Ian Lance Taylor @@ -1102,7 +1669,7 @@ Sat Jan 24 01:59:45 1998 Manfred Hollstein ${package_makefile_frag} to where it should be according to the comment. -Fri Jan 23 00:30:21 1998 Philip Blundell +Fri Jan 23 00:29:28 1998 Philip Blundell * config.guess: Add support for Linux/ARM. @@ -1127,13 +1694,13 @@ Sat Jan 17 21:04:59 1998 H.J. Lu (hjl@gnu.org) Fri Jan 16 00:41:37 1998 Alexandre Oliva - * configure.in: check whether host and target makefile - fragments exist before adding them to *_makefile_frag + * configure.in: Check whether host and target makefile + fragments exist before adding them to *_makefile_frag. Wed Jan 14 23:39:10 1998 Bob Manson * configure.in (target_configdirs): Add cygmon for sparc64-elf. - + Wed Jan 14 12:48:07 1998 Keith Seitz * configure.in: Make sure we only replace RPATH_ENVVAR on @@ -1156,7 +1723,7 @@ Sun Jan 4 01:06:55 1998 Mumit Khan * config.sub: Add mingw32 support. * configure.in: Likewise. - * mh-mingw32: New file. + * config/mh-mingw32: New file. Sat Jan 3 12:11:05 1998 Franz Sirl @@ -1173,17 +1740,20 @@ Wed Dec 24 22:46:55 1997 Jeffrey A Law (law@cygnus.com) * config.guess: Sync with egcs. Picks up new alpha support, BeOS & some additional linux support. -Tue Dec 23 12:45:50 1997 Jeffrey A Law (law@cygnus.com) +Tue Dec 23 12:44:24 1997 Jeffrey A Law (law@cygnus.com) * config.guess: HP 9000/803 is a PA1.1 machine. +Mon Dec 22 02:39:24 1997 Richard Henderson + + * configure.in: It's alpha*-... Sun Dec 21 16:53:12 1997 H.J. Lu (hjl@gnu.ai.mit.edu) - * configure.in (host_makefile_frag, target_makefile_frag): - Handle multiple config files. - (alpha-*-linux*): Treat alpha-*-linux* as alpha-*-linux* and - alpha-*-*. + * configure.in (host_makefile_frag, target_makefile_frag): + Handle multiple config files. + (alpha-*-linux*): Treat alpha-*-linux* as alpha-*-linux* and + alpha-*-*. Thu Dec 18 13:13:03 1997 Doug Evans @@ -1255,7 +1825,7 @@ Thu Nov 27 01:31:30 1997 Jeffrey A Law (law@cygnus.com) Wed Nov 26 11:53:33 1997 Keith Seitz * Makefile.in, configure, configure.in, ChangeLog: merge with foundry's - 11/18/97 build + 11/18/97 build Wed Nov 26 16:08:50 1997 Jeffrey A Law (law@cygnus.com) @@ -1347,7 +1917,7 @@ Mon Sep 29 00:38:08 1997 Aaron Jackson Wed Sep 24 18:06:27 1997 Stu Grossman * configure.in (d30v): Remove tcl, tk, expect, gdb, itcl, tix, db, - sn, and gnuserv from noconfigdirs. + sn, and gnuserv from noconfigdirs. Wed Sep 24 15:18:32 1997 Ian Lance Taylor @@ -1355,10 +1925,10 @@ Wed Sep 24 15:18:32 1997 Ian Lance Taylor Thu Sep 18 23:58:27 1997 Jeffrey A Law (law@cygnus.com) -* Makefile.in (cross): New target. + * Makefile.in (cross): New target. Thu Sep 18 21:43:23 1997 Alexandre Oliva - Jeff Law + Jeff Law * Makefile.in (bootstrap2, bootstrap3): New targets. (all-bootstrap): Remove outdated and confusing target. @@ -1367,8 +1937,7 @@ Thu Sep 18 21:43:23 1997 Alexandre Oliva Thu Sep 18 15:37:42 1997 Andrew Cagney * configure (tooldir): enable_gdbtk=YES for cygwin32, NO for - windows. Consistent with gdb/configure. - + windows. Consistent with gdb/configure. 1997-09-15 02:37 Ulrich Drepper @@ -1388,7 +1957,7 @@ Sun Sep 14 20:53:42 1997 Geoffrey Noer * config/mh-cygwin32: ok to build split texinfo files Fri Sep 12 16:19:20 1997 Geoffrey Noer - + * configure.in: remove bison from noconfigdirs for Cygwin32 host Thu Sep 11 16:40:46 1997 H.J. Lu (hjl@gnu.ai.mit.edu) @@ -1410,6 +1979,10 @@ Mon Sep 8 20:46:20 1997 Ian Lance Taylor * config.guess: Merge with FSF. +Sun Sep 7 23:18:32 1997 Fred Fish + + * config.sub: Change 'amigados' to 'amigaos' to match current usage. + Sun Sep 7 15:55:28 1997 Gavin Koch * config.sub: Add "marketing-names" patch. @@ -1422,6 +1995,10 @@ Fri Sep 5 12:27:17 1997 Jeffrey A Law (law@cygnus.com) * config.sub: Handle v850-elf. +Wed Sep 3 22:01:58 1997 Fred Fish + + * .cvsignore (*-install): Remove. + Wed Sep 3 12:15:24 1997 Chris Provenzano * ltconfig: Set CONFIG_SHELL in libtool. @@ -1451,14 +2028,14 @@ Tue Aug 19 01:41:32 1997 Jason Merrill Mon Aug 18 11:30:50 1997 Nick Clifton - * configure.in (noconfigdirs): Add support for v850e target. - + * configure.in (noconfigdirs): Add support for v850e target. + * config.sub (maybe_os): Add support for v850e target. Mon Aug 18 11:30:50 1997 Nick Clifton - * configure.in (noconfigdirs): Add support for v850ea target. - + * configure.in (noconfigdirs): Add support for v850ea target. + * config.sub (maybe_os): Add support for v850ea target. Mon Aug 18 09:24:06 1997 Gavin Koch @@ -1541,13 +2118,13 @@ Tue Aug 5 12:12:44 1997 Andrew Cagney Mon Aug 4 22:59:02 1997 Andrew Cagney * Makefile.in (CC_FOR_TARGET): When winsup/Makefile present, - correctly specify the target build directory $(TARGET_SUBDIR)/winsup - for libraries. + correctly specify the target build directory $(TARGET_SUBDIR)/winsup + for libraries. Mon Aug 4 12:40:24 1997 Jason Merrill * Makefile.in (EXTRA_GCC_FLAGS): Fix handling of macros with values - separated by spaces. + separated by spaces. Thu Jul 31 19:49:49 1997 Ian Lance Taylor @@ -1592,7 +2169,7 @@ Tue Jul 15 14:33:03 1997 Brendan Kehoe Mon Jul 14 11:01:15 1997 Martin M. Hunt - * configure (GDB_TK): Needs itcl and tix. + * configure (GDB_TK): Needs itcl and tix. Mon Jul 14 00:32:10 1997 Jason Merrill @@ -1648,7 +2225,7 @@ Wed Jun 25 12:18:54 1997 Brendan Kehoe (CLEAN_TARGET_MODULES): Add clean-target-gperf. Mon Jun 23 10:51:53 1997 Jeffrey A Law (law@cygnus.com) - + * config.sub (mn10200): Recognize new basic machine. Thu Jun 19 14:16:42 1997 Brendan Kehoe @@ -1678,7 +2255,7 @@ Mon Jun 16 11:11:10 1997 Ian Lance Taylor $(DEFAULT_YACC). * configure.in: Build itl, db, sn, etc., when building for native - cygwin32. + cygwin32. * Makefile.in (LD): New variable. (EXTRA_HOST_FLAGS): Pass down LD. @@ -1691,7 +2268,7 @@ Mon Jun 16 11:10:35 1997 Philip Blundell Fri Jun 13 10:22:56 1997 Bob Manson * configure.in (targargs): Strip out any supplied --build argument - before adding our own. Always add --build. + before adding our own. Always add --build. Thu Jun 12 21:12:28 1997 Bob Manson @@ -1700,7 +2277,7 @@ Thu Jun 12 21:12:28 1997 Bob Manson Fri Jun 6 21:38:40 1997 Rob Savoye - * configure: Use '|' instead of ":" as the seperator in + * configure: Use '|' instead of ":" as the separator in sed. Otherwise sed chokes on NT path names with drive designators. Also look for "?:*" as the leading characters in an absolute pathname. @@ -1886,7 +2463,7 @@ Tue Feb 25 18:46:14 1997 Stan Shebs Tue Feb 25 13:19:14 1997 Andrew Cagney * configure.in (noconfigdirs): Disable target-newlib, - target-examples and target-libiberty for d30v. + target-examples and target-libiberty for d30v. Fri Feb 21 17:56:25 1997 Martin M. Hunt @@ -1899,12 +2476,12 @@ Fri Feb 21 20:58:51 1997 Michael Meissner Sun Feb 16 15:41:09 1997 Andrew Cagney * configure.in (d30v-*): Remove sim directory from list of - unsupported d30v directories + unsupported d30v directories Tue Feb 18 17:32:42 1997 Martin M. Hunt - * config.sub, configure.in: Add d30v target cpu. - + * config.sub, configure.in: Add d30v target cpu. + Thu Feb 13 22:04:44 1997 Klaus Kaempf * makefile.vms: New file. @@ -2082,7 +2659,7 @@ Fri Nov 8 11:34:58 1996 David J. MacKenzie LynxOs is not a hardware supplier. * config.guess: Contributions from bug-gnu-utils to add support for: - OpenBSD like NetBSD. + OpenBSD like NetBSD. Stratus systems. More Pyramid systems. i[n>4]86 Intel chips. @@ -2200,7 +2777,7 @@ Mon Oct 7 10:59:35 1996 Ian Lance Taylor Fri Oct 4 12:22:58 1996 Angela Marie Thomas (angela@cygnus.com) - * configure.in: Use config/mh-dgux386 for i[345]86-dg-dgux + * configure.in: Use config/mh-dgux386 for i[345]86-dg-dgux host configuration file. Thu Oct 3 09:28:25 1996 Jeffrey A Law (law@cygnus.com) @@ -2223,7 +2800,7 @@ Wed Oct 2 15:52:36 1996 Klaus Kaempf Tue Oct 1 01:28:41 1996 James G. Smith * configure.in (noconfigdirs): Don't build libgloss for arm-coff - targets. + targets. Mon Sep 30 14:24:01 1996 Stan Shebs @@ -2252,10 +2829,26 @@ Mon Sep 16 17:00:52 1996 Ian Lance Taylor * configure.in: Use a single line for host_tools and native_only. +Tue Sep 16 09:55:07 1997 Andrew Cagney + + * Makefile.in (install-itcl): Install tcl first. + +Sun Sep 14 20:53:42 1997 Geoffrey Noer + + * config/mh-cygwin32: ok to build split texinfo files + +Fri Sep 12 16:19:20 1997 Geoffrey Noer + + * configure.in: remove bison from noconfigdirs for Cygwin32 host + Mon Sep 9 12:21:30 1996 Doug Evans * config.sub, configure.in: Add entries for m32r. +Mon Sep 8 20:46:20 1997 Ian Lance Taylor + + * config.guess: Merge with FSF. + Thu Sep 5 13:52:47 1996 Tom Tromey * Makefile.in (inet-install): Don't run install-gzip. @@ -2334,7 +2927,7 @@ Sat Jul 27 15:10:43 1996 Stan Shebs Tue Jul 23 10:47:04 1996 Martin M. Hunt - * configure.in (d10v-*-*): Remove ld from $noconfigdirs. + * configure.in (d10v-*-*): Remove ld from $noconfigdirs. Mon Jul 22 13:28:51 1996 Brendan Kehoe @@ -2434,7 +3027,7 @@ Sun Jun 23 22:41:54 1996 Geoffrey Noer Sat Jun 22 11:39:01 1996 Jason Merrill * Makefile.in (TARGET_SUBDIR): Move comment to previous line so we - don't get ". ". + don't get ". ". Fri Jun 21 17:24:48 1996 Jim Wilson @@ -2881,7 +3474,7 @@ Fri Dec 29 07:56:11 1995 Michael Meissner * Makefile.in (EXTRA_GCC_FLAGS): If any of the make variables LANGUAGES, BOOT_CFLAGS, STMP_FIXPROTO, LIMITS_H_TEST, LIBGCC1_TEST, LIBGCC2_CFLAGS, LIBGCC2_INCLUDES, and ENQUIRE are - non-empty, pass them on to the GCC make. + non-empty, pass them on to the GCC make. (all-bootstrap): New rule that is like all-gcc, except it executes the GCC bootstrap rule instead of the GCC all rule. @@ -2961,7 +3554,7 @@ Mon Dec 4 12:38:15 1995 Ian Lance Taylor Thu Nov 30 14:45:25 1995 J.T. Conklin * config/mt-v810 (CC_FOR_TARGET): Add -ansi flag. NEC compiler - defaults to K&R mode, but doesn't have varargs.h, so we have to + defaults to K&R mode, but doesn't have varargs.h, so we have to compile in ANSI mode. Thu Nov 30 16:57:33 1995 Per Bothner @@ -3073,15 +3666,15 @@ Mon Nov 13 12:34:20 1995 Stan Shebs * mpw-config.in: Configure grez if targeting Mac. * config.sub: Accept pmac and pmac-mpw as names for PowerMacs, - accept mpw and mac-mpw as names for m68k Macs, change macos7 to - just macos. + accept mpw and mac-mpw as names for m68k Macs, change macos7 to + just macos. * configure.in: Configure grez resource compiler if targeting Mac. * Makefile.in (all-grez, install-grez): New targets. Wed Nov 8 17:33:51 1995 Jason Merrill * configure: CXX defaults to gcc, not g++. If we find - gcc in the path, set CC to gcc -O2. + gcc in the path, set CC to gcc -O2. Tue Nov 7 15:45:17 1995 Ian Lance Taylor @@ -3131,8 +3724,8 @@ Wed Nov 1 12:23:20 1995 Ian Lance Taylor Tue Oct 31 17:52:39 1995 J.T. Conklin * configure.in (host_makefile_frag): Use m68k-sun-sunos* instead - of m68k-sun-* when selecting mh-sun3 to avoid matching NetBSD/sun3 - systems. + of m68k-sun-* when selecting mh-sun3 to avoid matching NetBSD/sun3 + systems. Tue Oct 31 16:57:32 1995 Jim Wilson @@ -3244,7 +3837,7 @@ Wed Oct 18 15:53:56 1995 steve chamberlain * Makefile.in: Build winsup. * configure.in: Winsup is configured when target is win32. Can only build win32 target GDB when native. - + Mon Oct 16 09:42:31 1995 Jeffrey A Law (law@cygnus.com) * config.guess: Recognize HP model 819 machines as having @@ -3294,7 +3887,7 @@ Wed Oct 4 22:05:36 1995 Jason Molenda (crash@phydeaux.cygnus.com) Wed Oct 4 21:55:00 1995 Jason Molenda (crash@phydeaux.cygnus.com) - * configure.in (CC): Try to get CC from + * configure.in (CC): Try to get CC from ${srcdir}/${host_makefile_frag}, not ${host_makefile_frag}. Wed Oct 4 21:44:12 1995 Jason Molenda (crash@phydeaux.cygnus.com) @@ -3344,7 +3937,7 @@ Thu Sep 28 21:18:49 1995 Stan Shebs Thu Sep 28 17:39:56 1995 steve chamberlain - * configure.in (host i[345]86-*-win32): Reduce the + * configure.in (host i[345]86-*-win32): Reduce the noconfigdirs again. Wed Sep 27 12:24:00 1995 Ian Lance Taylor @@ -3385,7 +3978,7 @@ Mon Sep 18 23:08:26 1995 J.T. Conklin gdb, ld and opcodes on v810-*-*. Sat Sep 16 18:31:08 PDT 1995 Angela Marie Thomas - + * config/mh-ncrsvr43: Removed AR_FLAGS Tue Sep 12 18:03:31 1995 Ian Lance Taylor @@ -3410,7 +4003,7 @@ Thu Sep 7 20:03:41 1995 Ken Raeburn Fri Sep 1 08:06:58 1995 James G. Smith * config.sub: recognise mips64vr4300 and mips64vr4300el as valid - targets. + targets. Wed Aug 30 21:06:50 1995 Jason Molenda (crash@phydeaux.cygnus.com) @@ -4259,7 +4852,7 @@ Thu Jun 2 10:57:06 1994 Karen Christiansen (karen@cirdan.cygnus.com) * brought build-all.mk update-to-date with progressive build-all.mk, added new targets and hppa info. - + Thu Jun 2 00:12:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * configure: If config.guess result is a prefix of the user @@ -4404,8 +4997,8 @@ Tue Apr 26 18:11:33 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) Mon Apr 25 15:06:34 1994 Stan Shebs (shebs@andros.cygnus.com) - * configure.in (*-*-lynxos*): Don't configure newlib for either - native or cross Lynx. + * configure.in (*-*-lynxos*): Don't configure newlib for either + native or cross Lynx. Sat Apr 16 11:58:16 1994 Doug Evans (dje@canuck.cygnus.com) @@ -4434,7 +5027,7 @@ Sat Apr 9 15:10:45 1994 David J. Mackenzie (djm@rtl.cygnus.com) Fri Apr 8 12:01:41 1994 David J. Mackenzie (djm@cygnus.com) * configure: Ignore --x-includes and --x-libraries, for Autoconf - compatibility. + compatibility. Thu Apr 7 17:31:43 1994 Doug Evans (dje@canuck.cygnus.com) @@ -4747,7 +5340,7 @@ Wed Nov 3 22:09:46 1993 Ken Raeburn (raeburn@rtl.cygnus.com) * Makefile.in (DISTDOCDIRS): New variable. (taz): Edit local Makefile.in sooner, instead of proto-toplev - Makefile.in later. Build "info" and "dvi" in DISTDOCDIRS. + Makefile.in later. Build "info" and "dvi" in DISTDOCDIRS. Wed Nov 3 21:31:52 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) @@ -4838,6 +5431,10 @@ Fri Oct 8 14:15:39 1993 Ken Raeburn (raeburn@cygnus.com) * config.sub: Accept linux*coff and linux*elf as operating systems. +Tue Oct 7 14:24:41 1997 Ian Lance Taylor + + * ltmain.sh: Handle symlinks in generated script. + Thu Oct 7 12:57:19 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * config.sub: Recognize mips64, and mips3 as an alias for it. @@ -4859,14 +5456,30 @@ Mon Oct 4 16:15:09 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) * configure.in: default to '--with-gnu-as' and '--with-gnu-ld' if gas and ld are in the source tree and are in ${configdirs}. If ${use_gnu_as} or ${use_gnu_ld} are 'no', then don't set the - the --with options (but still pass them down on the command line, + --with options (but still pass them down on the command line, if they were explicitly specified). +Wed Oct 1 13:11:27 1997 Ian Lance Taylor + + * configure: Handle autoconf style directory options: --bindir, + --datadir, --includedir, --infodir, --libdir, --libexecdir, + --mandir, --oldincludedir, --sbindir, --sharedstatedir, + --sysconfdir. + * Makefile.in (sbindir, libexecdir, sysconfdir): New variables. + (sharedstatedir, localstatedir, oldincludedir): New variables. + (BASE_FLAGS_TO_PASS): Pass down bindir, datadir, includedir, + infodir, libdir, libexecdir, localstatedir, mandir, oldincludedir, + sbindir, sharedstatedir, and sysconfdir. + Fri Sep 24 19:11:13 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) * configure: substitute SHELL value in Makefile.in with ${CONFIG_SHELL} +Wed Sep 24 15:18:32 1997 Ian Lance Taylor + + * ltmain.sh: Tweak shell pattern to avoid bug in NetBSD /bin/sh. + Thu Sep 23 18:05:13 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * configure.in: Build gas, ld, and binutils for *-*-sysv4* and @@ -6130,7 +6743,7 @@ Thu Aug 27 13:04:42 1992 Brendan Kehoe (brendan@rtl.cygnus.com) Mon Aug 24 14:05:14 1992 Ian Lance Taylor (ian@cygnus.com) - * config.sub, configure.in: accept OSE68000 and OSE68k. + * config.sub, configure.in: accept OSE68000 and OSE68k. * Makefile.in: don't create all directories for ``make install''; let the subdirectories create the ones they need. diff --git a/contrib/binutils/MAINTAINERS b/contrib/binutils/MAINTAINERS new file mode 100644 index 000000000000..16dab802e242 --- /dev/null +++ b/contrib/binutils/MAINTAINERS @@ -0,0 +1,103 @@ +Please feel free to add, edit, delete this file. +Please do not make ChangeLog entries. + +COPYING, COPYING.LIB, README + http://gnu.org. + +Makefile.in; configure; configure.in + Please notify the following of any committed patches. + binutils@sources.redhat.com + gdb-patches@sources.redhat.com + +bfd/; binutils/; gas/; gprof/; ld/; opcodes/; BFD's part of include/ + binutils: http://sources.redhat.com/binutils/ + Patches to binutils@sources.redhat.com. + Please notify the following of any interface changes: + gdb-patches@sources.redhat.com + +cgen/; cgen parts of opcodes/, sim/ & include/ + cgen: http://sources.redhat.com/cgen/ + Patches to cgen@sources.redhat.com + May need separate opcodes/ or sim/ approval for + commits of regenerated files there. + +config.guess; config.sub + config: http://gnu.org + Patches to config-patches@gnu.org. + Changes need to be done in tandem with the official CONFIG + sources or submitted to the master file maintainer and brought + in via a merge. + +dejagnu/ + Notify http://dejagnu.sourceforge.net/ of generic changes. + Generic patches to gdb-patches@sources.redhat.com & + sid@sources.redhat.com. + See also SID & GDB. + +gdb/; mmalloc/; readline/; sim/; GDB's part of include/ & dejagnu/ + gdb: http://sources.redhat.com/gdb/ + Patches to gdb-patches@sources.redhat.com. + See also gdb/MAINTAINERS, sim/MAINTAINERS, mmalloc/MAINTAINERS. + +include/ + See binutils/, gdb/, sid/, gcc/, libiberty/ etc. + +libiberty/; libiberty's part of include/ + gcc: http://gcc.gnu.org + Changes need to be done in tandem with the official GCC + sources or submitted to the master file maintainer and brought + in via a merge. + +ltconfig; ltmain.sh + libtool: http://gnu.org + Changes need to be done in tandem with the official LIBTOOL + sources or submitted to the master file maintainer and brought + in via a merge. + +mkinstalldirs; move-if-change; symlink-tree + autoconf: http://gnu.org + Patches to autoconf-patches@gnu.org. + Changes need to be done in tandem with the official AUTOCONF + sources or submitted to the master file maintainer and brought + in via a merge. + +newlib/; libgloss/ + http://sources.redhat.com/newlib/ + Patches to newlib@sources.redhat.com. + +sid/; SID's part of cgen/ & dejagnu/ + sid: http://sources.redhat.com/sid/ + Patches to sid@sources.redhat.com + +texinfo/texinfo.tex + texinfo: http://ftp.gnu.org. + Latest version can be found on ftp://ftp.gnu.org and can be + imported at any (reasonable) time. + Please not use GCC's texinfo. Please do not import texinfo. + +tcl/; tix/; itcl/; tk/; libgui/ + insight: http://sources.redhat.com/insight/ + Contact insight@sources.redhat.com. + +winsup/ + cygwin: http://sources.redhat.com/cygwin + Patches to cygwin-patches@sources.redhat.com. + General discussion cygwin@sources.redhat.com. + See also winsup/MAINTAINERS. + +expect/; config-ml.in; mpw-README; mpw-build.in; mpw-config.in; +mpw-configure; mpw-install; setup.com; missing; makefile.vms; utils/; +config/; config.if; makefile.vms; missing; ylwrap; mkdep; etc/; +install-sh; intl/ + Ask. + +modules file + Obviously changes to this file should not go through + overseers@sources.redhat.com. If you understand the file + format (or can cut-and-paste existing entries), modify it. If + it scares you, get someone who does understand it to help you. + Be prepared to fix it if you do break it. + +/* Local variables: */ +/* change-log-default-name: "/dev/null" */ +/* End: */ diff --git a/contrib/binutils/README-maintainer-mode b/contrib/binutils/README-maintainer-mode new file mode 100644 index 000000000000..fbe508f0c6e8 --- /dev/null +++ b/contrib/binutils/README-maintainer-mode @@ -0,0 +1,14 @@ + + Notes on enabling maintainer mode + +Note that if you configure with --enable-maintainer-mode, you will need +special versions of automake, autoconf, libtool and gettext. You will +find the sources for these in ftp://sourceware.cygnus.com/pub/binutils. + +Note - "make distclean" does not work with maintainer mode enabled. +The Makefiles in the some of the po/ subdirectories depend upon the +Makefiles in their parent directories, and distclean will delete the +Makefiles in the parent directories before running the Makefiles in +the child directories. There is no easy way around this (short of +changing the automake macros) as these dependencies need to exist in +order to correctly build the NLS files. diff --git a/contrib/binutils/bfd/ChangeLog b/contrib/binutils/bfd/ChangeLog index 622743889811..e8bc010d3f8a 100644 --- a/contrib/binutils/bfd/ChangeLog +++ b/contrib/binutils/bfd/ChangeLog @@ -1,3 +1,31 @@ +2001-07-06 Philip Blundell + + * elf32-arm.h (elf32_arm_merge_private_bfd_data): Correct sense of + `interworking' warning message. + +2001-07-05 Nick Clifton + + * peicode.h (coff_swap_scnhdr_in): For sections containing + uninitialised data, only set their size to s_paddr if this does + not reset their size to zero. MS's latest compilers will set + s_paddr to zero. + +2001-06-20 Bo Thorsen + + * elf64-x86-64.c (elf64_x86_64_relocate_section): Fix linking of + shared libraries. + +2001-06-21 Alan Modra + + * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Always + allocate local .got space. Use shortcuts from hash table for .got + and .plt rather than comparing section names. + (elf32_hppa_check_relocs): Use local_plt_refcounts var rather than + adjusting index into local_got_refcounts to document what we are + really doing. + (elf32_hppa_relocate_section): Similarly for local_plt_offsets. + Tidy .got and .plt error checking. + 2001-06-19 Philip Blundell * configure.in: Set version to 2.11.2. diff --git a/contrib/binutils/bfd/elf32-arm.h b/contrib/binutils/bfd/elf32-arm.h index 66edd6d8e40e..b05a5cc31ec9 100644 --- a/contrib/binutils/bfd/elf32-arm.h +++ b/contrib/binutils/bfd/elf32-arm.h @@ -2188,7 +2188,7 @@ Warning: %s %s interworking, whereas %s %s"), bfd_get_filename (ibfd), in_flags & EF_INTERWORK ? _("supports") : _("does not support"), bfd_get_filename (obfd), - out_flags & EF_INTERWORK ? _("does not") : _("does")); + out_flags & EF_INTERWORK ? _("does") : _("does not")); } return flags_compatible; diff --git a/contrib/binutils/bfd/po/BLD-POTFILES.in b/contrib/binutils/bfd/po/BLD-POTFILES.in new file mode 100644 index 000000000000..28f599de3d61 --- /dev/null +++ b/contrib/binutils/bfd/po/BLD-POTFILES.in @@ -0,0 +1,7 @@ +elf32-ia64.c +elf32-target.h +elf64-ia64.c +elf64-target.h +peigen.c +pepigen.c +targmatch.h diff --git a/contrib/binutils/bfd/po/SRC-POTFILES.in b/contrib/binutils/bfd/po/SRC-POTFILES.in new file mode 100644 index 000000000000..ab40ed13f430 --- /dev/null +++ b/contrib/binutils/bfd/po/SRC-POTFILES.in @@ -0,0 +1,254 @@ +aix386-core.c +aout-adobe.c +aout-arm.c +aout-cris.c +aout-ns32k.c +aout-sparcle.c +aout-target.h +aout-tic30.c +aout0.c +aout32.c +aout64.c +aoutf1.h +aoutx.h +archive.c +archures.c +armnetbsd.c +bfd.c +binary.c +bout.c +cache.c +cf-i386lynx.c +cf-m68klynx.c +cf-sparclynx.c +cisco-core.c +coff-a29k.c +coff-alpha.c +coff-apollo.c +coff-arm.c +coff-aux.c +coff-go32.c +coff-h8300.c +coff-h8500.c +coff-i386.c +coff-i860.c +coff-i960.c +coff-m68k.c +coff-m88k.c +coff-mips.c +coff-pmac.c +coff-rs6000.c +coff-sh.c +coff-sparc.c +coff-stgo32.c +coff-svm68k.c +coff-tic30.c +coff-tic54x.c +coff-tic80.c +coff-u68k.c +coff-w65.c +coff-we32k.c +coff-z8k.c +coff64-rs6000.c +coffcode.h +coffgen.c +cofflink.c +coffswap.h +corefile.c +cpu-a29k.c +cpu-alpha.c +cpu-arc.c +cpu-arm.c +cpu-avr.c +cpu-cris.c +cpu-d10v.c +cpu-d30v.c +cpu-fr30.c +cpu-h8300.c +cpu-h8500.c +cpu-hppa.c +cpu-i370.c +cpu-i386.c +cpu-i860.c +cpu-i960.c +cpu-ia64.c +cpu-m10200.c +cpu-m10300.c +cpu-m32r.c +cpu-m68hc11.c +cpu-m68hc12.c +cpu-m68k.c +cpu-m88k.c +cpu-mcore.c +cpu-mips.c +cpu-ns32k.c +cpu-pj.c +cpu-powerpc.c +cpu-rs6000.c +cpu-sh.c +cpu-sparc.c +cpu-tic30.c +cpu-tic54x.c +cpu-tic80.c +cpu-v850.c +cpu-vax.c +cpu-w65.c +cpu-we32k.c +cpu-z8k.c +demo64.c +dwarf1.c +dwarf2.c +ecoff.c +ecofflink.c +ecoffswap.h +efi-app-ia32.c +efi-app-ia64.c +elf-bfd.h +elf-hppa.h +elf-m10200.c +elf-m10300.c +elf.c +elf32-arc.c +elf32-arm.h +elf32-avr.c +elf32-cris.c +elf32-d10v.c +elf32-d30v.c +elf32-fr30.c +elf32-gen.c +elf32-hppa.c +elf32-hppa.h +elf32-i370.c +elf32-i386.c +elf32-i860.c +elf32-i960.c +elf32-m32r.c +elf32-m68hc11.c +elf32-m68hc12.c +elf32-m68k.c +elf32-m88k.c +elf32-mcore.c +elf32-mips.c +elf32-pj.c +elf32-ppc.c +elf32-sh-lin.c +elf32-sh.c +elf32-sparc.c +elf32-v850.c +elf32.c +elf64-alpha.c +elf64-gen.c +elf64-hppa.c +elf64-hppa.h +elf64-mips.c +elf64-sparc.c +elf64-x86-64.c +elf64.c +elfarm-nabi.c +elfarm-oabi.c +elfcode.h +elfcore.h +elflink.c +elflink.h +epoc-pe-arm.c +epoc-pei-arm.c +format.c +freebsd.h +genlink.h +go32stub.h +hash.c +hp300bsd.c +hp300hpux.c +hpux-core.c +i386aout.c +i386bsd.c +i386dynix.c +i386freebsd.c +i386linux.c +i386lynx.c +i386mach3.c +i386msdos.c +i386netbsd.c +i386os9k.c +ieee.c +ihex.c +init.c +irix-core.c +libaout.h +libbfd.c +libbfd.h +libcoff.h +libecoff.h +libhppa.h +libieee.h +libnlm.h +liboasys.h +libpei.h +linker.c +lynx-core.c +m68k4knetbsd.c +m68klinux.c +m68klynx.c +m68knetbsd.c +m88kmach3.c +mipsbsd.c +netbsd.h +newsos3.c +nlm-target.h +nlm.c +nlm32-alpha.c +nlm32-i386.c +nlm32-ppc.c +nlm32-sparc.c +nlm32.c +nlm64.c +nlmcode.h +nlmswap.h +ns32k.h +ns32knetbsd.c +oasys.c +opncls.c +osf-core.c +pc532-mach.c +pe-arm.c +pe-i386.c +pe-mcore.c +pe-mips.c +pe-ppc.c +pe-sh.c +pei-arm.c +pei-i386.c +pei-mcore.c +pei-mips.c +pei-ppc.c +pei-sh.c +peicode.h +ppcboot.c +reloc.c +reloc16.c +riscix.c +sco5-core.c +section.c +som.c +som.h +sparclinux.c +sparclynx.c +sparcnetbsd.c +srec.c +stab-syms.c +stabs.c +sunos.c +syms.c +targets.c +tekhex.c +trad-core.c +vaxnetbsd.c +versados.c +vms-gsd.c +vms-hdr.c +vms-misc.c +vms-tir.c +vms.c +vms.h +xcoff-target.h +xcofflink.c diff --git a/contrib/binutils/binutils/ChangeLog b/contrib/binutils/binutils/ChangeLog index aefa36e62512..ecbc29310764 100644 --- a/contrib/binutils/binutils/ChangeLog +++ b/contrib/binutils/binutils/ChangeLog @@ -1,3 +1,11 @@ +2001-06-29 James Cownie + + * readelf.c: Support DWARF 2.1 attributes. + +2001-06-27 Nick Clifton + + * objcopy.c (strip_main): Accept -o command line switch. + 2001-06-11 Alan Modra Merge from mainline. diff --git a/contrib/binutils/binutils/objcopy.c b/contrib/binutils/binutils/objcopy.c index cd3e9aff1736..e6e2e98d0e9f 100644 --- a/contrib/binutils/binutils/objcopy.c +++ b/contrib/binutils/binutils/objcopy.c @@ -240,6 +240,7 @@ static struct option strip_options[] = {"keep-symbol", required_argument, 0, 'K'}, {"output-format", required_argument, 0, 'O'}, /* Obsolete */ {"output-target", required_argument, 0, 'O'}, + {"output-file", required_argument, 0, 'o'}, {"preserve-dates", no_argument, 0, 'p'}, {"remove-section", required_argument, 0, 'R'}, {"strip-all", no_argument, 0, 's'}, @@ -772,7 +773,7 @@ filter_symbols (abfd, obfd, osyms, isyms, symcount) even if relocatable is false. External users of the library containing the $idata section may reference these symbols. */ - keep = 1; + keep = 1; else if ((flags & BSF_GLOBAL) != 0 /* Global symbol. */ || (flags & BSF_WEAK) != 0 || bfd_is_und_section (bfd_get_section (sym)) @@ -782,6 +783,10 @@ filter_symbols (abfd, obfd, osyms, isyms, symcount) keep = (strip_symbols != STRIP_DEBUG && strip_symbols != STRIP_UNNEEDED && ! convert_debugging); + else if (bfd_get_section (sym)->comdat) + /* COMDAT sections store special information in local + symbols, so we cannot risk stripping any of them. */ + keep = 1; else /* Local symbol. */ keep = (strip_symbols != STRIP_UNNEEDED && (discard_locals != LOCALS_ALL @@ -1835,7 +1840,7 @@ strip_main (argc, argv) struct section_list *p; char *output_file = NULL; - while ((c = getopt_long (argc, argv, "b:i:I:j:K:N:s:O:d:F:L:G:R:SpgxXVvW:", + while ((c = getopt_long (argc, argv, "I:O:F:K:N:R:o:sSpdgxXVv", strip_options, (int *) 0)) != EOF) { switch (c) @@ -1967,7 +1972,7 @@ copy_main (argc, argv) struct section_list *p; struct stat statbuf; - while ((c = getopt_long (argc, argv, "b:i:I:j:K:N:s:O:d:F:L:R:SpgxXVvW:", + while ((c = getopt_long (argc, argv, "b:i:I:j:K:N:s:O:d:F:L:G:R:SpgxXVvW:", copy_options, (int *) 0)) != EOF) { switch (c) @@ -2360,10 +2365,8 @@ copy_main (argc, argv) output_target = input_target; if (preserve_dates) - { - if (stat (input_filename, &statbuf) < 0) - fatal (_("Cannot stat: %s: %s"), input_filename, strerror (errno)); - } + if (stat (input_filename, & statbuf) < 0) + fatal (_("Cannot stat: %s: %s"), input_filename, strerror (errno)); /* If there is no destination file then create a temp and rename the result into the input. */ diff --git a/contrib/binutils/binutils/readelf.c b/contrib/binutils/binutils/readelf.c index bd6cfd26989e..1ce0eb76ef61 100644 --- a/contrib/binutils/binutils/readelf.c +++ b/contrib/binutils/binutils/readelf.c @@ -2,7 +2,7 @@ Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc. Originally developed by Eric Youngdale - Modifications by Nick Clifton + Modifications by Nick Clifton This file is part of GNU Binutils. @@ -5896,6 +5896,20 @@ get_AT_name (attribute) case DW_AT_variable_parameter: return "DW_AT_variable_parameter"; case DW_AT_virtuality: return "DW_AT_virtuality"; case DW_AT_vtable_elem_location: return "DW_AT_vtable_elem_location"; + /* DWARF 2.1 values. */ + case DW_AT_allocated: return "DW_AT_allocated"; + case DW_AT_associated: return "DW_AT_associated"; + case DW_AT_data_location: return "DW_AT_data_location"; + case DW_AT_stride: return "DW_AT_stride"; + case DW_AT_entry_pc: return "DW_AT_entry_pc"; + case DW_AT_use_UTF8: return "DW_AT_use_UTF8"; + case DW_AT_extension: return "DW_AT_extension"; + case DW_AT_ranges: return "DW_AT_ranges"; + case DW_AT_trampoline: return "DW_AT_trampoline"; + case DW_AT_call_column: return "DW_AT_call_column"; + case DW_AT_call_file: return "DW_AT_call_file"; + case DW_AT_call_line: return "DW_AT_call_line"; + /* SGI/MIPS extensions. */ case DW_AT_MIPS_fde: return "DW_AT_MIPS_fde"; case DW_AT_MIPS_loop_begin: return "DW_AT_MIPS_loop_begin"; case DW_AT_MIPS_tail_loop_begin: return "DW_AT_MIPS_tail_loop_begin"; @@ -5907,6 +5921,7 @@ get_AT_name (attribute) case DW_AT_MIPS_abstract_name: return "DW_AT_MIPS_abstract_name"; case DW_AT_MIPS_clone_origin: return "DW_AT_MIPS_clone_origin"; case DW_AT_MIPS_has_inlines: return "DW_AT_MIPS_has_inlines"; + /* GNU extensions. */ case DW_AT_sf_names: return "DW_AT_sf_names"; case DW_AT_src_info: return "DW_AT_src_info"; case DW_AT_mac_info: return "DW_AT_mac_info"; @@ -6472,6 +6487,22 @@ decode_location_expression (data, pointer_size, length) printf ("DW_OP_nop"); break; + /* DWARF 2.1 extensions. */ + case DW_OP_push_object_address: + printf ("DW_OP_push_object_address"); + break; + case DW_OP_call2: + printf ("DW_OP_call2: <%lx>", (long) byte_get (data, 2)); + data += 2; + break; + case DW_OP_call4: + printf ("DW_OP_call4: <%lx>", (long) byte_get (data, 4)); + data += 4; + break; + case DW_OP_calli: + printf ("DW_OP_calli"); + break; + default: if (op >= DW_OP_lo_user && op <= DW_OP_hi_user) @@ -6725,10 +6756,25 @@ read_and_display_attr (attribute, form, data, cu_offset, pointer_size) } break; + case DW_AT_ordering: + switch (uvalue) + { + case -1: printf ("(undefined)"); break; + case 0: printf ("(row major)"); break; + case 1: printf ("(column major)"); break; + } + break; + case DW_AT_frame_base: case DW_AT_location: case DW_AT_data_member_location: case DW_AT_vtable_elem_location: + case DW_AT_allocated: + case DW_AT_associated: + case DW_AT_data_location: + case DW_AT_stride: + case DW_AT_upper_bound: + case DW_AT_lower_bound: if (block_start) { printf ("("); diff --git a/contrib/binutils/configure b/contrib/binutils/configure index 57e22d8c11d3..af895c1b8a09 100755 --- a/contrib/binutils/configure +++ b/contrib/binutils/configure @@ -3,7 +3,7 @@ ### WARNING: this file contains embedded tabs. Do not run untabify on this file. # Configuration script -# Copyright (C) 1988, 90, 91, 92, 93, 94, 95, 96, 97, 98, 1999 +# Copyright (C) 1988, 90, 91, 92, 93, 94, 95, 96, 97, 98, 1999, 2000, 2001 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -804,46 +804,57 @@ fi # If CC and CXX are not set in the environment, and the Makefile # exists, try to extract them from it. This is to handle running -# ./config.status by hand. -if [ -z "${CC}" ] && [ -r Makefile ]; then - sed -n -e ':loop -/\\$/ N -s/\\\n//g -t loop -/^CC[ ]*=/ s/CC[ ]*=[ ]*\(.*\)/\1/p' < Makefile > Makefile.cc - CC=`tail -1 Makefile.cc` - rm -f Makefile.cc -fi +# ./config.status by hand. Do the same for various Makefile fragments +# so that they can specify these vars. +for file in Mafefile ${package_makefile_rules_frag} \ + ${site:+config/ms-${site}} ${host_makefile_frag} \ + ${target_makefile_frag} ${package_makefile_frag} +do + if ! test -r $file; then + file=${srcdir}/${file} + if ! test -r $file; then continue; fi + fi -if [ -z "${CFLAGS}" ] && [ -r Makefile ]; then - sed -n -e ':loop + if [ -z "${CC}" ]; then + sed -n -e ':loop /\\$/ N s/\\\n//g t loop -/^CFLAGS[ ]*=/ s/CFLAGS[ ]*=[ ]*\(.*\)/\1/p' < Makefile > Makefile.cc - CFLAGS=`tail -1 Makefile.cc` - rm -f Makefile.cc -fi +/^CC[ ]*=/ s/CC[ ]*=[ ]*\(.*\)/\1/p' < $file > Makefile.cc + CC=`tail -1 Makefile.cc` + rm -f Makefile.cc + fi -if [ -z "${CXX}" ] && [ -r Makefile ]; then - sed -n -e ':loop + if [ -z "${CFLAGS}" ]; then + sed -n -e ':loop /\\$/ N s/\\\n//g t loop -/^CXX[ ]*=/ s/CXX[ ]*=[ ]*\(.*\)/\1/p' < Makefile > Makefile.cc - CXX=`tail -1 Makefile.cc` - rm -f Makefile.cc -fi +/^CFLAGS[ ]*=/ s/CFLAGS[ ]*=[ ]*\(.*\)/\1/p' < $file > Makefile.cc + CFLAGS=`tail -1 Makefile.cc` + rm -f Makefile.cc + fi -if [ -z "${CXXFLAGS}" ] && [ -r Makefile ]; then - sed -n -e ':loop + if [ -z "${CXX}" ]; then + sed -n -e ':loop /\\$/ N s/\\\n//g t loop -/^CXXFLAGS[ ]*=/ s/CXXFLAGS[ ]*=[ ]*\(.*\)/\1/p' < Makefile > Makefile.cc - CXXFLAGS=`tail -1 Makefile.cc` - rm -f Makefile.cc -fi +/^CXX[ ]*=/ s/CXX[ ]*=[ ]*\(.*\)/\1/p' < $file > Makefile.cc + CXX=`tail -1 Makefile.cc` + rm -f Makefile.cc + fi + + if [ -z "${CXXFLAGS}" ]; then + sed -n -e ':loop +/\\$/ N +s/\\\n//g +t loop +/^CXXFLAGS[ ]*=/ s/CXXFLAGS[ ]*=[ ]*\(.*\)/\1/p' < $file > Makefile.cc + CXXFLAGS=`tail -1 Makefile.cc` + rm -f Makefile.cc + fi +done # Generate a default definition for YACC. This is used if the makefile can't # locate bison or byacc in objdir. diff --git a/contrib/binutils/configure.in b/contrib/binutils/configure.in index 221ff45fea39..ee62e228d20c 100644 --- a/contrib/binutils/configure.in +++ b/contrib/binutils/configure.in @@ -60,7 +60,7 @@ fi # these tools are built for the host environment # Note, the powerpc-eabi build depends on sim occurring before gdb in order to # know that we are building the simulator. -host_tools="byacc flex bison binutils ld gas gcc cgen sid sim gdb make patch prms send-pr gprof gdbtest tgas etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool ispell grep diff rcs cvssrc fileutils shellutils time textutils wdiff find emacs emacs19 uudecode hello tar gzip indent recode release sed utils guile perl apache inet gawk findutils snavigator libtool gettext zip" +host_tools="texinfo byacc flex bison binutils ld gas gcc cgen sid sim gdb make patch prms send-pr gprof gdbtest tgas etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool ispell grep diff rcs cvssrc fileutils shellutils time textutils wdiff find emacs emacs19 uudecode hello tar gzip indent recode release sed utils guile perl apache inet gawk findutils snavigator libtool gettext zip" # these libraries are built for the target environment, and are built after # the host libraries and the host tools (which may be a cross compiler) @@ -127,6 +127,9 @@ appdirs="" # Work in distributions that contain no compiler tools, like Autoconf. if [ -d ${srcdir}/config ]; then case "${host}" in + alpha*-*-freebsd*) + host_makefile_frag="${host_makefile_frag} config/mh-fbsdaxp" + ;; m68k-hp-hpux*) host_makefile_frag="${host_makefile_frag} config/mh-hp300" ;; diff --git a/contrib/binutils/gas/ChangeLog b/contrib/binutils/gas/ChangeLog index 6d9ad9836276..e33b133a8681 100644 --- a/contrib/binutils/gas/ChangeLog +++ b/contrib/binutils/gas/ChangeLog @@ -1,3 +1,22 @@ +2001-07-14 matthew green + + * configure.in (i386-*-netbsdelf*): New target. + * configure: Regenerate. + +2001-07-07 Nick Clifton + + * ecoff.c (add_file): Only set debug_type to DEBUG_NONE if it is + DEBUG_UNSPECIFIED. + +2001-06-27 Nick Clifton + + * config/tc-arm.c (do_ldst): Use MVN to build simple inverted + constants. + +2000-06-20 Tom Rix + + * config/tc-ppc.c (ppc_comm): Change default alignment to 4 bytes. + 2001-06-18 Philip Blundell * config/tc-arm.c (do_msr): Remove restriction on usage of diff --git a/contrib/binutils/gas/config/tc-arm.c b/contrib/binutils/gas/config/tc-arm.c index 99aff8ef3130..a6e13a9a87b2 100644 --- a/contrib/binutils/gas/config/tc-arm.c +++ b/contrib/binutils/gas/config/tc-arm.c @@ -4431,38 +4431,52 @@ do_ldst (str, flags) return; } - if (inst.reloc.exp.X_op == O_constant - && (value = validate_immediate (inst.reloc.exp.X_add_number)) != FAIL) + if (inst.reloc.exp.X_op == O_constant) { - /* This can be done with a mov instruction. */ - inst.instruction &= LITERAL_MASK; - inst.instruction |= INST_IMMEDIATE | (OPCODE_MOV << DATA_OP_SHIFT); - inst.instruction |= (flags & COND_MASK) | (value & 0xfff); - end_of_line (str); - return; - } - else - { - /* Insert into literal pool. */ - if (add_to_lit_pool () == FAIL) + value = validate_immediate (inst.reloc.exp.X_add_number); + + if (value != FAIL) { - if (!inst.error) - inst.error = _("literal pool insertion failed"); + /* This can be done with a mov instruction. */ + inst.instruction &= LITERAL_MASK; + inst.instruction |= INST_IMMEDIATE | (OPCODE_MOV << DATA_OP_SHIFT); + inst.instruction |= (flags & COND_MASK) | (value & 0xfff); + end_of_line (str); return; } + + value = validate_immediate (~ inst.reloc.exp.X_add_number); - /* Change the instruction exp to point to the pool. */ - if (halfword) + if (value != FAIL) { - inst.instruction |= HWOFFSET_IMM; - inst.reloc.type = BFD_RELOC_ARM_HWLITERAL; + /* This can be done with a mvn instruction. */ + inst.instruction &= LITERAL_MASK; + inst.instruction |= INST_IMMEDIATE | (OPCODE_MVN << DATA_OP_SHIFT); + inst.instruction |= (flags & COND_MASK) | (value & 0xfff); + end_of_line (str); + return; } - else - inst.reloc.type = BFD_RELOC_ARM_LITERAL; - inst.reloc.pc_rel = 1; - inst.instruction |= (REG_PC << 16); - pre_inc = 1; } + + /* Insert into literal pool. */ + if (add_to_lit_pool () == FAIL) + { + if (!inst.error) + inst.error = _("literal pool insertion failed"); + return; + } + + /* Change the instruction exp to point to the pool. */ + if (halfword) + { + inst.instruction |= HWOFFSET_IMM; + inst.reloc.type = BFD_RELOC_ARM_HWLITERAL; + } + else + inst.reloc.type = BFD_RELOC_ARM_LITERAL; + inst.reloc.pc_rel = 1; + inst.instruction |= (REG_PC << 16); + pre_inc = 1; } else { diff --git a/contrib/binutils/gas/config/tc-ppc.c b/contrib/binutils/gas/config/tc-ppc.c index a893209cd51b..ef708714a16b 100644 --- a/contrib/binutils/gas/config/tc-ppc.c +++ b/contrib/binutils/gas/config/tc-ppc.c @@ -2340,7 +2340,8 @@ static boolean ppc_stab_symbol; /* The .comm and .lcomm pseudo-ops for XCOFF. XCOFF puts common symbols in the .bss segment as though they were local common - symbols, and uses a different smclas. */ + symbols, and uses a different smclas. The native Aix 4.3.3 assember + aligns .comm and .lcomm to 4 bytes. */ static void ppc_comm (lcomm) @@ -2382,7 +2383,7 @@ ppc_comm (lcomm) { /* The third argument to .comm is the alignment. */ if (*input_line_pointer != ',') - align = 3; + align = 2; else { ++input_line_pointer; @@ -2390,7 +2391,7 @@ ppc_comm (lcomm) if (align <= 0) { as_warn (_("ignoring bad alignment")); - align = 3; + align = 2; } } } @@ -2399,11 +2400,7 @@ ppc_comm (lcomm) char *lcomm_name; char lcomm_endc; - if (size <= 1) - align = 0; - else if (size <= 2) - align = 1; - else if (size <= 4) + if (size <= 4) align = 2; else align = 3; diff --git a/contrib/binutils/gas/configure b/contrib/binutils/gas/configure index b2904b0f4931..e8cb78b6c1e4 100755 --- a/contrib/binutils/gas/configure +++ b/contrib/binutils/gas/configure @@ -2356,6 +2356,7 @@ for this_target in $target $canon_targets ; do i386-*-beoself* | i386-*-beos*) fmt=elf bfd_gas=yes ;; i386-*-bsd*) fmt=aout em=386bsd ;; i386-*-netbsd0.8) fmt=aout em=386bsd ;; + i386-*-netbsdelf*) fmt=elf em=nbsd bfd_gas=yes;; i386-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes;; i386-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes;; i386-*-linux*aout* | i386-*-linux*oldld) fmt=aout em=linux ;; diff --git a/contrib/binutils/gas/configure.in b/contrib/binutils/gas/configure.in index 99a0edf46cdc..f0d09142eb24 100644 --- a/contrib/binutils/gas/configure.in +++ b/contrib/binutils/gas/configure.in @@ -240,6 +240,7 @@ changequote([,])dnl i386-*-beoself* | i386-*-beos*) fmt=elf bfd_gas=yes ;; i386-*-bsd*) fmt=aout em=386bsd ;; i386-*-netbsd0.8) fmt=aout em=386bsd ;; + i386-*-netbsdelf*) fmt=elf em=nbsd bfd_gas=yes;; i386-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes;; i386-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes;; i386-*-linux*aout* | i386-*-linux*oldld) fmt=aout em=linux ;; diff --git a/contrib/binutils/gas/ecoff.c b/contrib/binutils/gas/ecoff.c index 57ddddc93bfe..cc94bf69ac30 100644 --- a/contrib/binutils/gas/ecoff.c +++ b/contrib/binutils/gas/ecoff.c @@ -2220,7 +2220,7 @@ add_file (file_name, indx, fake) if (! symbol_table_frozen && debug_type == DEBUG_UNSPECIFIED) debug_type = DEBUG_ECOFF; } - else + else if (debug_type == DEBUG_UNSPECIFIED) debug_type = DEBUG_NONE; #ifndef NO_LISTING diff --git a/contrib/binutils/include/ChangeLog b/contrib/binutils/include/ChangeLog index 10bb1b2a86b6..ad96520e28f6 100644 --- a/contrib/binutils/include/ChangeLog +++ b/contrib/binutils/include/ChangeLog @@ -1,3 +1,7 @@ +2001-07-19 David O'Brien + + * libiberty.h: Add lbasename. + 2001-06-07 Alan Modra * Many files: Update copyright notices. diff --git a/contrib/binutils/include/elf/ChangeLog b/contrib/binutils/include/elf/ChangeLog index bc82c7378531..d346b9d5b5b1 100644 --- a/contrib/binutils/include/elf/ChangeLog +++ b/contrib/binutils/include/elf/ChangeLog @@ -1,3 +1,7 @@ +2001-06-29 James Cownie + + * dwarf2.h: Add DWARF 2.1 attribues. + 2001-06-11 Alan Modra Merge from mainline. diff --git a/contrib/binutils/include/elf/dwarf2.h b/contrib/binutils/include/elf/dwarf2.h index 82586bb23216..edaa664a1c98 100644 --- a/contrib/binutils/include/elf/dwarf2.h +++ b/contrib/binutils/include/elf/dwarf2.h @@ -1,6 +1,7 @@ -/* Declarations and definitions of codes relating to the DWARF symbolic +/* Declarations and definitions of codes relating to the DWARF2 symbolic debugging information format. - Copyright 1992, 1993, 1995, 1996, 1999 Free Software Foundation, Inc. + Copyright 1992, 1993, 1995, 1996, 1999, 2000, 2001 + Free Software Foundation, Inc. Written by Gary Funck (gary@intrepid.com) The Ada Joint Program Office (AJPO), Florida State Unviversity and Silicon Graphics Inc. @@ -29,7 +30,13 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * Revision 2.0.0 (July 27, 1993) developed by the UNIX International Programming Languages Special Interest Group (UI/PLSIG) and distributed by UNIX International. Copies of this specification are available from - UNIX International, 20 Waterview Boulevard, Parsippany, NJ, 07054. */ + UNIX International, 20 Waterview Boulevard, Parsippany, NJ, 07054. + + + This file also now contains definitions from the DWARF 2.1 specification. */ + +/* This file is shared between GCC and GDB, and should not contain + prototypes. */ #ifndef _ELF_DWARF2_H #define _ELF_DWARF2_H @@ -121,7 +128,6 @@ DWARF2_Internal_ARange; /* Tag names and codes. */ - enum dwarf_tag { DW_TAG_padding = 0x00, @@ -172,18 +178,20 @@ enum dwarf_tag DW_TAG_variant_part = 0x33, DW_TAG_variable = 0x34, DW_TAG_volatile_type = 0x35, - /* SGI/MIPS Extensions */ + /* SGI/MIPS Extensions. */ DW_TAG_MIPS_loop = 0x4081, - /* GNU extensions */ - DW_TAG_format_label = 0x4101, /* for FORTRAN 77 and Fortran 90 */ + /* GNU extensions. */ + DW_TAG_format_label = 0x4101, /* For FORTRAN 77 and Fortran 90. */ DW_TAG_function_template = 0x4102, /* for C++ */ - DW_TAG_class_template = 0x4103 /* for C++ */ + DW_TAG_class_template = 0x4103, /* for C++ */ + DW_TAG_GNU_BINCL = 0x4104, + DW_TAG_GNU_EINCL = 0x4105 }; #define DW_TAG_lo_user 0x4080 #define DW_TAG_hi_user 0xffff -/* flag that tells whether entry has a child or not */ +/* Flag that tells whether entry has a child or not. */ #define DW_children_no 0 #define DW_children_yes 1 @@ -279,7 +287,20 @@ enum dwarf_attribute DW_AT_variable_parameter = 0x4b, DW_AT_virtuality = 0x4c, DW_AT_vtable_elem_location = 0x4d, - /* SGI/MIPS Extensions */ + /* DWARF 2.1 values. */ + DW_AT_allocated = 0x4e, + DW_AT_associated = 0x4f, + DW_AT_data_location = 0x50, + DW_AT_stride = 0x51, + DW_AT_entry_pc = 0x52, + DW_AT_use_UTF8 = 0x53, + DW_AT_extension = 0x54, + DW_AT_ranges = 0x55, + DW_AT_trampoline = 0x56, + DW_AT_call_column = 0x57, + DW_AT_call_file = 0x58, + DW_AT_call_line = 0x59, + /* SGI/MIPS Extensions. */ DW_AT_MIPS_fde = 0x2001, DW_AT_MIPS_loop_begin = 0x2002, DW_AT_MIPS_tail_loop_begin = 0x2003, @@ -292,19 +313,18 @@ enum dwarf_attribute DW_AT_MIPS_clone_origin = 0x200a, DW_AT_MIPS_has_inlines = 0x200b, /* GNU extensions. */ - DW_AT_sf_names = 0x2101, - DW_AT_src_info = 0x2102, - DW_AT_mac_info = 0x2103, + DW_AT_sf_names = 0x2101, + DW_AT_src_info = 0x2102, + DW_AT_mac_info = 0x2103, DW_AT_src_coords = 0x2104, DW_AT_body_begin = 0x2105, - DW_AT_body_end = 0x2106 + DW_AT_body_end = 0x2106 }; -#define DW_AT_lo_user 0x2000 /* implementation-defined range start */ -#define DW_AT_hi_user 0x3ff0 /* implementation-defined range end */ +#define DW_AT_lo_user 0x2000 /* Implementation-defined range start. */ +#define DW_AT_hi_user 0x3ff0 /* Implementation-defined range end. */ /* Location atom names and codes. */ - enum dwarf_location_atom { DW_OP_addr = 0x03, @@ -451,14 +471,18 @@ enum dwarf_location_atom DW_OP_piece = 0x93, DW_OP_deref_size = 0x94, DW_OP_xderef_size = 0x95, - DW_OP_nop = 0x96 + DW_OP_nop = 0x96, + /* DWARF 2.1 extensions. */ + DW_OP_push_object_address = 0x97, + DW_OP_call2 = 0x98, /* 1 2-byte offset of DIE. */ + DW_OP_call4 = 0x99, /* 1 4-byte offset of DIE. */ + DW_OP_calli = 0x9a }; -#define DW_OP_lo_user 0x80 /* implementation-defined range start */ -#define DW_OP_hi_user 0xff /* implementation-defined range end */ +#define DW_OP_lo_user 0x80 /* Implementation-defined range start. */ +#define DW_OP_hi_user 0xff /* Implementation-defined range end. */ /* Type encodings. */ - enum dwarf_type { DW_ATE_void = 0x0, @@ -482,7 +506,7 @@ enum dwarf_array_dim_ordering DW_ORD_col_major = 1 }; -/* access attribute */ +/* Access attribute. */ enum dwarf_access_attribute { DW_ACCESS_public = 1, @@ -490,7 +514,7 @@ enum dwarf_access_attribute DW_ACCESS_private = 3 }; -/* visibility */ +/* Visibility. */ enum dwarf_visibility_attribute { DW_VIS_local = 1, @@ -498,7 +522,7 @@ enum dwarf_visibility_attribute DW_VIS_qualified = 3 }; -/* virtuality */ +/* Virtuality. */ enum dwarf_virtuality_attribute { DW_VIRTUALITY_none = 0, @@ -506,7 +530,7 @@ enum dwarf_virtuality_attribute DW_VIRTUALITY_pure_virtual = 2 }; -/* case sensitivity */ +/* Case sensitivity. */ enum dwarf_id_case { DW_ID_case_sensitive = 0, @@ -515,7 +539,7 @@ enum dwarf_id_case DW_ID_case_insensitive = 3 }; -/* calling convention */ +/* Calling convention. */ enum dwarf_calling_convention { DW_CC_normal = 0x1, @@ -526,7 +550,7 @@ enum dwarf_calling_convention #define DW_CC_lo_user 0x40 #define DW_CC_hi_user 0xff -/* inline attribute */ +/* Inline attribute. */ enum dwarf_inline_attribute { DW_INL_not_inlined = 0, @@ -535,14 +559,14 @@ enum dwarf_inline_attribute DW_INL_declared_inlined = 3 }; -/* descriminant lists */ +/* Descriminant lists. */ enum dwarf_descrim_list { DW_DSC_label = 0, DW_DSC_range = 1 }; -/* line number opcodes */ +/* Line number opcodes. */ enum dwarf_line_number_ops { DW_LNS_extended_op = 0, @@ -557,7 +581,7 @@ enum dwarf_line_number_ops DW_LNS_fixed_advance_pc = 9 }; -/* line number extended opcodes */ +/* Line number extended opcodes. */ enum dwarf_line_number_x_ops { DW_LNE_end_sequence = 1, @@ -565,7 +589,7 @@ enum dwarf_line_number_x_ops DW_LNE_define_file = 3 }; -/* call frame information */ +/* Call frame information. */ enum dwarf_call_frame_info { DW_CFA_advance_loc = 0x40, @@ -586,8 +610,20 @@ enum dwarf_call_frame_info DW_CFA_def_cfa = 0x0c, DW_CFA_def_cfa_register = 0x0d, DW_CFA_def_cfa_offset = 0x0e, - /* SGI/MIPS specific */ - DW_CFA_MIPS_advance_loc8 = 0x1d + DW_CFA_def_cfa_expression = 0x0f, + DW_CFA_expression = 0x10, + /* Dwarf 2.1. */ + DW_CFA_offset_extended_sf = 0x11, + DW_CFA_def_cfa_sf = 0x12, + DW_CFA_def_cfa_offset_sf = 0x13, + + /* SGI/MIPS specific. */ + DW_CFA_MIPS_advance_loc8 = 0x1d, + + /* GNU extensions. */ + DW_CFA_GNU_window_save = 0x2d, + DW_CFA_GNU_args_size = 0x2e, + DW_CFA_GNU_negative_offset_extended = 0x2f }; #define DW_CIE_ID 0xffffffff @@ -603,7 +639,6 @@ enum dwarf_call_frame_info #define DW_ADDR_none 0 /* Source language names and codes. */ - enum dwarf_source_language { DW_LANG_C89 = 0x0001, @@ -621,11 +656,10 @@ enum dwarf_source_language }; -#define DW_LANG_lo_user 0x8000 /* implementation-defined range start */ -#define DW_LANG_hi_user 0xffff /* implementation-defined range start */ +#define DW_LANG_lo_user 0x8000 /* Implementation-defined range start. */ +#define DW_LANG_hi_user 0xffff /* Implementation-defined range start. */ /* Names and codes for macro information. */ - enum dwarf_macinfo_record_type { DW_MACINFO_define = 1, @@ -634,5 +668,4 @@ enum dwarf_macinfo_record_type DW_MACINFO_end_file = 4, DW_MACINFO_vendor_ext = 255 }; - #endif /* _ELF_DWARF2_H */ diff --git a/contrib/binutils/include/libiberty.h b/contrib/binutils/include/libiberty.h index 1bc2b7d403b9..d31ac777dd48 100644 --- a/contrib/binutils/include/libiberty.h +++ b/contrib/binutils/include/libiberty.h @@ -81,6 +81,10 @@ extern char *basename (); # endif #endif +/* A well-defined basename () that is always compiled in. */ + +extern char *lbasename PARAMS ((const char *)); + /* Concatenate an arbitrary number of strings, up to (char *) NULL. Allocates memory using xmalloc. */ diff --git a/contrib/binutils/ld/ChangeLog b/contrib/binutils/ld/ChangeLog index 9f69d0e8f7dc..df9f3c5f54b5 100644 --- a/contrib/binutils/ld/ChangeLog +++ b/contrib/binutils/ld/ChangeLog @@ -1,3 +1,29 @@ +2001-07-19 David O'Brien + + * emultempl/elf32.em: Do not assuming that contents of the buffer + returned from basename function will remain unchanged accross other + function calls. + +2001-07-19 Nick Clifton + + * ldlang.c (lang_leave_overlay): If a region is specified assign + it to all sections inside the overlay unless they have been + assigned to the own, non-default, memory region. + +2001-07-14 matthew green + + * configure.tgt (i386-*-netbsdelf*): New target. + (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386' + +2001-06-27 Alan Modra + + * emulparams/hppa64linux.sh: New file. + * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh + * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o + (ehppa64linux.c): Add rule to make it. + Run "make dep-am". + * Makefile.in: Regenerate. + 2001-06-07 Andreas Jaeger * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase. diff --git a/contrib/binutils/ld/Makefile.am b/contrib/binutils/ld/Makefile.am index d6a2d63f3fcc..916a8832b998 100644 --- a/contrib/binutils/ld/Makefile.am +++ b/contrib/binutils/ld/Makefile.am @@ -248,7 +248,8 @@ ALL_64_EMULATIONS = \ eelf64bmip.o \ eelf64btsmip.o \ eelf64ltsmip.o \ - eelf64hppa.o + eelf64hppa.o \ + ehppa64linux.o ALL_EMUL_EXTRA_OFILES = \ deffilep.o \ @@ -560,6 +561,9 @@ ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \ $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} hppalinux "$(tdir_hppalinux)" +ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)" ei386aout.c: $(srcdir)/emulparams/i386aout.sh \ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} ${GENSCRIPTS} i386aout "$(tdir_i386aout)" diff --git a/contrib/binutils/ld/Makefile.in b/contrib/binutils/ld/Makefile.in index f79e360feb50..b4db3e85f698 100644 --- a/contrib/binutils/ld/Makefile.in +++ b/contrib/binutils/ld/Makefile.in @@ -357,7 +357,8 @@ ALL_64_EMULATIONS = \ eelf64bmip.o \ eelf64btsmip.o \ eelf64ltsmip.o \ - eelf64hppa.o + eelf64hppa.o \ + ehppa64linux.o ALL_EMUL_EXTRA_OFILES = \ @@ -1274,6 +1275,9 @@ ehppalinux.c: $(srcdir)/emulparams/hppalinux.sh \ $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/hppaelf.em \ $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} hppalinux "$(tdir_hppalinux)" +ehppa64linux.c: $(srcdir)/emulparams/hppa64linux.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} hppa64linux "$(tdir_hppa64linux)" ei386aout.c: $(srcdir)/emulparams/i386aout.sh \ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} ${GENSCRIPTS} i386aout "$(tdir_i386aout)" diff --git a/contrib/binutils/ld/configure.tgt b/contrib/binutils/ld/configure.tgt index fbab221e2f9e..bb690121a0ad 100644 --- a/contrib/binutils/ld/configure.tgt +++ b/contrib/binutils/ld/configure.tgt @@ -144,7 +144,12 @@ i[3456]86-*-sysv[45]*) targ_emul=elf_i386 ;; i[3456]86-*-solaris2*) targ_emul=elf_i386 ;; i[3456]86-*-unixware) targ_emul=elf_i386 ;; i[3456]86-*-solaris*) targ_emul=elf_i386 ;; -i[3456]86-*-netbsd*) targ_emul=i386nbsd ;; +i[3456]86-*-netbsdelf*) targ_emul=elf_i386 + targ_extra_emuls=i386nbsd + ;; +i[3456]86-*-netbsd*) targ_emul=i386nbsd + targ_extra_emuls=elf_i386 + ;; i[3456]86-*-netware) targ_emul=i386nw ;; i[3456]86-*-elf*) targ_emul=elf_i386 ;; i[3456]86-*-freebsdaout* | i[3456]86-*-freebsd[12].* | i[3456]86-*-freebsd[12]) @@ -242,6 +247,7 @@ m68*-hp*-netbsd*) targ_emul=m68k4knbsd ;; m68*-*-netbsd*) targ_emul=m68knbsd ;; m68*-*-psos*) targ_emul=m68kpsos ;; m68*-*-rtems*) targ_emul=m68kcoff ;; +hppa*64*-*-linux-gnu*) targ_emul=hppa64linux ;; hppa*64*-*) targ_emul=elf64hppa ;; hppa*-*-linux-gnu*) targ_emul=hppalinux ;; hppa*-*-*elf*) targ_emul=hppaelf ;; diff --git a/contrib/binutils/ld/emultempl/elf32.em b/contrib/binutils/ld/emultempl/elf32.em index c0d52b102055..76aaa8a66cc4 100644 --- a/contrib/binutils/ld/emultempl/elf32.em +++ b/contrib/binutils/ld/emultempl/elf32.em @@ -142,7 +142,7 @@ gld${EMULATION_NAME}_vercheck (s) soname = bfd_elf_get_dt_soname (s->the_bfd); if (soname == NULL) - soname = basename (bfd_get_filename (s->the_bfd)); + soname = lbasename (bfd_get_filename (s->the_bfd)); for (l = global_vercheck_needed; l != NULL; l = l->next) { @@ -224,7 +224,7 @@ gld${EMULATION_NAME}_stat_needed (s) soname = bfd_elf_get_dt_soname (s->the_bfd); if (soname == NULL) - soname = basename (s->filename); + soname = lbasename (s->filename); if (strncmp (soname, global_needed->name, suffix - global_needed->name) == 0) @@ -329,7 +329,7 @@ cat >>e${EMULATION_NAME}.c <filename); + soname = lbasename (abfd->filename); if (trace_file_tries) info_msg (_("found %s at %s\n"), soname, name); diff --git a/contrib/binutils/ld/ldlang.c b/contrib/binutils/ld/ldlang.c index f683abb14052..924e3ec32c5e 100644 --- a/contrib/binutils/ld/ldlang.c +++ b/contrib/binutils/ld/ldlang.c @@ -4766,10 +4766,13 @@ lang_leave_overlay (fill, memspec, phdrs, lma_memspec) const char *lma_memspec; { lang_memory_region_type *region; + lang_memory_region_type * default_region; lang_memory_region_type *lma_region; struct overlay_list *l; struct lang_nocrossref *nocrossref; + default_region = lang_memory_region_lookup ("*default*"); + if (memspec == NULL) region = NULL; else @@ -4789,8 +4792,15 @@ lang_leave_overlay (fill, memspec, phdrs, lma_memspec) if (fill != 0 && l->os->fill == 0) l->os->fill = fill; - if (region != NULL && l->os->region == NULL) + + /* Assign a region to the sections, if one has been specified. + Override the assignment of the default section, but not + other sections. */ + if (region != NULL && + (l->os->region == NULL || + l->os->region == default_region)) l->os->region = region; + /* We only set lma_region for the first overlay section, as subsequent overlay sections will have load_base set relative to the first section. Also, don't set lma_region if @@ -4800,6 +4810,7 @@ lang_leave_overlay (fill, memspec, phdrs, lma_memspec) if (lma_region != NULL && l->os->lma_region == NULL && l->next == NULL && l->os->load_base == NULL) l->os->lma_region = lma_region; + if (phdrs != NULL && l->os->phdrs == NULL) l->os->phdrs = phdrs; diff --git a/contrib/binutils/libiberty/ChangeLog b/contrib/binutils/libiberty/ChangeLog index dc1ef0983049..4b599768bbac 100644 --- a/contrib/binutils/libiberty/ChangeLog +++ b/contrib/binutils/libiberty/ChangeLog @@ -1,3 +1,7 @@ +2001-07-19 David O'Brien + + * lbasename.c: New file. + 2000-12-29 DJ Delorie * fnmatch.c: Make the note about the origins of this file more diff --git a/contrib/binutils/libiberty/Makefile.in b/contrib/binutils/libiberty/Makefile.in index 0eab5a6c1412..16a040c7f89f 100644 --- a/contrib/binutils/libiberty/Makefile.in +++ b/contrib/binutils/libiberty/Makefile.in @@ -128,7 +128,8 @@ CFILES = asprintf.c alloca.c argv.c atexit.c basename.c bcmp.c bcopy.c \ bzero.c calloc.c choose-temp.c clock.c concat.c cplus-dem.c \ cp-demangle.c dyn-string.c fdmatch.c fnmatch.c getcwd.c \ getpwd.c getopt.c getopt1.c getpagesize.c getruntime.c \ - floatformat.c hashtab.c hex.c index.c insque.c md5.c memchr.c \ + floatformat.c hashtab.c hex.c index.c insque.c lbasename.c \ + md5.c memchr.c \ memcmp.c memcpy.c memmove.c memset.c mkstemps.c objalloc.c obstack.c \ partition.c pexecute.c putenv.c random.c rename.c rindex.c setenv.c \ sigsetmask.c safe-ctype.c sort.c spaces.c splay-tree.c strcasecmp.c \ @@ -140,7 +141,8 @@ CFILES = asprintf.c alloca.c argv.c atexit.c basename.c bcmp.c bcopy.c \ # These are always included in the library. REQUIRED_OFILES = argv.o choose-temp.o concat.o cplus-dem.o cp-demangle.o \ dyn-string.o fdmatch.o fnmatch.o getopt.o getopt1.o getpwd.o \ - getruntime.o hashtab.o hex.o floatformat.o md5.o objalloc.o obstack.o \ + getruntime.o hashtab.o hex.o floatformat.o lbasename.o md5.o \ + objalloc.o obstack.o \ partition.o pexecute.o safe-ctype.o sort.o spaces.o splay-tree.o \ strerror.o strsignal.o xatexit.o xexit.o xmalloc.o xmemdup.o \ xstrdup.o xstrerror.o @@ -276,6 +278,7 @@ getpwd.o: config.h $(INCDIR)/libiberty.h getruntime.o: config.h $(INCDIR)/libiberty.h hex.o: $(INCDIR)/libiberty.h floatformat.o: $(INCDIR)/floatformat.h +lbasename.o: $(INCDIR)/libiberty.h mkstemps.o: config.h md5.o: config.h objalloc.o: config.h $(INCDIR)/objalloc.h diff --git a/contrib/binutils/libiberty/lbasename.c b/contrib/binutils/libiberty/lbasename.c new file mode 100644 index 000000000000..7f870497c4fb --- /dev/null +++ b/contrib/binutils/libiberty/lbasename.c @@ -0,0 +1,89 @@ +/* Libiberty basename. Like basename, but is not overridden by the + system C library. + Copyright (C) 2001 Free Software Foundation, Inc. + +This file is part of the libiberty library. +Libiberty is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +Libiberty is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with libiberty; see the file COPYING.LIB. If +not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ + +/* +NAME + lbasename -- return pointer to last component of a pathname + +SYNOPSIS + char *lbasename (const char *name) + +DESCRIPTION + Given a pointer to a string containing a typical pathname + (/usr/src/cmd/ls/ls.c for example), returns a pointer to the + last component of the pathname ("ls.c" in this case). The + returned pointer is guaranteed to lie within the original + string. This latter fact is not true of many vendor C + libraries, which return special strings or modify the passed + strings for particular input. + + In particular, the empty string returns the same empty string, + and a path ending in '/' returns the empty string after it. +*/ + +#include "ansidecl.h" +#include "libiberty.h" +#include "safe-ctype.h" + +#ifndef DIR_SEPARATOR +# define DIR_SEPARATOR '/' +#endif + +#if defined (_WIN32) || defined (__MSDOS__) \ + || defined (__DJGPP__) || defined (__OS2__) +# define HAVE_DOS_BASED_FILE_SYSTEM +# ifndef DIR_SEPARATOR_2 +# define DIR_SEPARATOR_2 '\\' +# endif +#endif + +/* Define IS_DIR_SEPARATOR. VMS uses '::', ':', '[...]' and '<...>' to + separate the different components of a file specification. It's a + bit of a stretch to call ':', ']' and '>' directory separators, so + just define the test to find the file name component. */ +#ifdef VMS +# define IS_DIR_SEPARATOR(ch) ((ch) == ':' || (ch) == ']' || (ch) == '>') +#else +# ifndef DIR_SEPARATOR_2 +# define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) +# else +# define IS_DIR_SEPARATOR(ch) \ + (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) +# endif +#endif + +char * +lbasename (name) + const char *name; +{ + const char *base; + +#if defined (HAVE_DOS_BASED_FILE_SYSTEM) + /* Skip over a possible disk name. */ + if (ISALPHA (name[0]) && name[1] == ':') + name += 2; +#endif + + for (base = name; *name; name++) + if (IS_DIR_SEPARATOR (*name)) + base = name + 1; + + return (char *) base; +} diff --git a/contrib/binutils/opcodes/ChangeLog b/contrib/binutils/opcodes/ChangeLog index 593bec9de1a9..a3bacf99688d 100644 --- a/contrib/binutils/opcodes/ChangeLog +++ b/contrib/binutils/opcodes/ChangeLog @@ -1,3 +1,11 @@ +2001-07-16 Philip Blundell + + * arm-dis.c (print_insn_arm): Use decimal for offsets in LDR/STR. + +2001-07-03 Zoltan Hidvegi + + * ppc-opc.c: Fix encoding of 'clf' instruction. + 2001-06-11 Alan Modra Merge from mainline. diff --git a/contrib/binutils/opcodes/arm-dis.c b/contrib/binutils/opcodes/arm-dis.c index b90f820602f9..eaebe34304e1 100644 --- a/contrib/binutils/opcodes/arm-dis.c +++ b/contrib/binutils/opcodes/arm-dis.c @@ -201,7 +201,7 @@ print_insn_arm (pc, info, given) offset = - offset; /* pre-indexed */ - func (stream, ", #%x]", offset); + func (stream, ", #%d]", offset); offset += pc + 8; @@ -215,7 +215,7 @@ print_insn_arm (pc, info, given) else { /* Post indexed. */ - func (stream, "], #%x", offset); + func (stream, "], #%d", offset); offset = pc + 8; /* ie ignore the offset. */ } @@ -280,7 +280,7 @@ print_insn_arm (pc, info, given) if ((given & 0x00800000) == 0) offset = -offset; - func (stream, "[pc, #%x]\t; ", offset); + func (stream, "[pc, #%d]\t; ", offset); (*info->print_address_func) (offset + pc + 8, info); diff --git a/contrib/binutils/opcodes/ppc-opc.c b/contrib/binutils/opcodes/ppc-opc.c index aa9616f24994..311a5ba9f0fe 100644 --- a/contrib/binutils/opcodes/ppc-opc.c +++ b/contrib/binutils/opcodes/ppc-opc.c @@ -2480,7 +2480,7 @@ const struct powerpc_opcode powerpc_opcodes[] = { { "mtsrdin", X(31,114), XRA_MASK, PPC64, { RS, RB } }, -{ "clf", X(31,118), XRB_MASK, POWER, { RT, RA } }, +{ "clf", X(31,118), XTO_MASK, POWER, { RA, RB } }, { "lbzux", X(31,119), X_MASK, COM, { RT, RAL, RB } },