aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1998-10-09 21:10:04 +0000
committerJeff Law <law@redhat.com>1998-10-09 21:10:04 +0000
commit734fb33c30c1dd34225308e466d3005da15aa7df (patch)
tree18014aa1ee3db286d529408f6a2bc06dc1be7cb9
parent710c8d2fad10518bee68a086ddfe37fdb5d16391 (diff)
downloadgdb-734fb33c30c1dd34225308e466d3005da15aa7df.zip
gdb-734fb33c30c1dd34225308e466d3005da15aa7df.tar.gz
gdb-734fb33c30c1dd34225308e466d3005da15aa7df.tar.bz2
Merge egcs-19981008.
-rw-r--r--config/.Sanitize1
-rw-r--r--config/mh-aix434
-rw-r--r--config/mt-linux2
-rw-r--r--config/mt-sparcpic2
4 files changed, 7 insertions, 2 deletions
diff --git a/config/.Sanitize b/config/.Sanitize
index ceb33b8..a3b1c58 100644
--- a/config/.Sanitize
+++ b/config/.Sanitize
@@ -44,6 +44,7 @@ Things-to-keep:
ChangeLog
mh-a68bsd
mh-aix386
+mh-aix43
mh-apollo68
mh-cxux
mh-cygwin32
diff --git a/config/mh-aix43 b/config/mh-aix43
new file mode 100644
index 0000000..9eb750c
--- /dev/null
+++ b/config/mh-aix43
@@ -0,0 +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
diff --git a/config/mt-linux b/config/mt-linux
index e3f15ea..a09e6f1 100644
--- a/config/mt-linux
+++ b/config/mt-linux
@@ -1,2 +1,2 @@
# When using glibc 2 on Linux we must always use vtable thunks.
-CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -fvtable-thunks
+CXXFLAGS_FOR_TARGET = $(CXXFLAGS) -fvtable-thunks -D_GNU_SOURCE
diff --git a/config/mt-sparcpic b/config/mt-sparcpic
index 35b8c9e..fd0ec27 100644
--- a/config/mt-sparcpic
+++ b/config/mt-sparcpic
@@ -1 +1 @@
-PICFLAG_FOR_TARGET=-fPIC
+PICFLAG_FOR_TARGET=`case "${LIBCFLAGS} ${LIBCXXFLAGS}" in *-fpic* ) echo -fpic ;; * ) echo -fPIC ;; esac`