sync with gcc
authorDJ Delorie <dj@redhat.com>
Fri, 12 Apr 2002 01:23:53 +0000 (01:23 +0000)
committerDJ Delorie <dj@redhat.com>
Fri, 12 Apr 2002 01:23:53 +0000 (01:23 +0000)
2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>

* acinclude.m4: Fix spelling error of "separate" as "seperate".

2001-05-22  Jason Merrill  <jason_merrill@redhat.com>

* mt-linux (CXXFLAGS_FOR_TARGET): Lose -fvtable-thunks.

2001-01-27  Richard Henderson  <rth@redhat.com>

* mt-alphaieee: New file.

2001-01-02  Laurynas Biveinis  <lauras@softhome.net>

* mh-djgpp: do not set CFLAGS.

2000-08-04  Mark Elbrecht  <snowball3@bigfoot.com>

* mh-djgpp: Conditionally set 'target_alias' to djgpp. Conditionally
modify 'gcc_version'.

2000-07-21  Andrew Haley  <aph@cygnus.com>

* mh-ia64pic: New file.
* mt-ia64pic: New file.

config/ChangeLog
config/acinclude.m4
config/mh-djgpp
config/mt-aix43
config/mt-alphaieee [new file with mode: 0644]
config/mt-linux

index 5a398ec..17a98eb 100644 (file)
@@ -1,3 +1,29 @@
+2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * acinclude.m4: Fix spelling error of "separate" as "seperate".
+
+2001-05-22  Jason Merrill  <jason_merrill@redhat.com>
+
+       * mt-linux (CXXFLAGS_FOR_TARGET): Lose -fvtable-thunks.
+
+2001-01-27  Richard Henderson  <rth@redhat.com>
+
+       * mt-alphaieee: New file.
+
+2001-01-02  Laurynas Biveinis  <lauras@softhome.net>
+
+       * mh-djgpp: do not set CFLAGS.
+
+2000-08-04  Mark Elbrecht  <snowball3@bigfoot.com>
+
+       * mh-djgpp: Conditionally set 'target_alias' to djgpp. Conditionally
+       modify 'gcc_version'.
+
+2000-07-21  Andrew Haley  <aph@cygnus.com>
+
+       * mh-ia64pic: New file.
+       * mt-ia64pic: New file. 
+
 2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>
 
        * mh-s390pic: New file.
index 6187b5a..6669ac2 100755 (executable)
@@ -1071,7 +1071,7 @@ AC_DEFUN(CYG_AC_PATH_TKH, [
 # Note the gross little conversion here of srcdir by cd'ing to the found
 # directory. This converts the path from a relative to an absolute, so
 # recursive cache variables for the path will work right. We check all
-# the possible paths in one loop rather than many seperate loops to speed
+# the possible paths in one loop rather than many separate loops to speed
 # things up.
 # the alternative search directory is involked by --with-tkinclude
 #
index f12007b..88d250a 100644 (file)
@@ -1,4 +1,14 @@
-# We don't want to use debugging information on DOS.  Unfortunately,
-# this requires that we set CFLAGS.
-# This used to set -fno-omit-frame-pointer.
-CFLAGS=-O2
+# Shorten the target alias so when it is used to set 'libsubdir'
+# the name will work in both short and long filename environments.
+ifeq ($(findstring -pc-msdosdjgpp,$(target_alias)),-pc-msdosdjgpp)
+target_alias=djgpp
+endif
+
+# The version string must be modified to contain just one dot
+# because DOS filenames can only have one dot when long filenames
+# are not available.
+__version:=$(gcc_version)
+__version:=$(subst ., ,$(__version))
+ifeq ($(words $(__version)),3)
+gcc_version=$(word 1,$(__version)).$(word 2,$(__version))$(word 3,$(__version))
+endif
index 9eb750c..0c6627f 100644 (file)
@@ -1,4 +1,4 @@
 # AIX 4.3 and above requires -X32_64 flag to all ar and nm commands
 # to handle both 32-bit and 64-bit objects.
 AR_FOR_TARGET=ar -X32_64
-NM_FOR_TARGET=nm -X32_64
+NM_FOR_TARGET=nm -B -X32_64
diff --git a/config/mt-alphaieee b/config/mt-alphaieee
new file mode 100644 (file)
index 0000000..9c20531
--- /dev/null
@@ -0,0 +1,2 @@
+CFLAGS_FOR_TARGET += -mieee
+CXXFLAGS_FOR_TARGET += -mieee
index a09e6f1..15bf417 100644 (file)
@@ -1,2 +1 @@
-# When using glibc 2 on Linux we must always use vtable thunks.
-CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -fvtable-thunks -D_GNU_SOURCE
+CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -D_GNU_SOURCE