summaryrefslogtreecommitdiff
path: root/libiberty/config
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/config')
-rwxr-xr-xlibiberty/config/mh-aix9
-rwxr-xr-xlibiberty/config/mh-cxux71
-rwxr-xr-xlibiberty/config/mh-fbsd211
-rwxr-xr-xlibiberty/config/mh-windows1
4 files changed, 12 insertions, 0 deletions
diff --git a/libiberty/config/mh-aix b/libiberty/config/mh-aix
new file mode 100755
index 0000000..6b64505
--- /dev/null
+++ b/libiberty/config/mh-aix
@@ -0,0 +1,9 @@
+# This file is only needed by AIX 3.1.
+HDEFINES = -D__IEEE_BIG_ENDIAN
+
+# Most releases of AIX 3.1 include an incorrect internal version of copysign
+# in libc.a for use by some libc public functions including modf. The public
+# version of copysign in libm.a is usable. For the sake of libg++ (which
+# uses modf), we add copysign here. Supposedly, this problem is fixed in AIX
+# 3.1.8 and above, including all releases of AIX 3.2.
+EXTRA_OFILES = copysign.o
diff --git a/libiberty/config/mh-cxux7 b/libiberty/config/mh-cxux7
new file mode 100755
index 0000000..a924b08
--- /dev/null
+++ b/libiberty/config/mh-cxux7
@@ -0,0 +1 @@
+HDEFINES = -DHARRIS_FLOAT_FORMAT
diff --git a/libiberty/config/mh-fbsd21 b/libiberty/config/mh-fbsd21
new file mode 100755
index 0000000..1375a78
--- /dev/null
+++ b/libiberty/config/mh-fbsd21
@@ -0,0 +1 @@
+EXTRA_OFILES=vasprintf.o
diff --git a/libiberty/config/mh-windows b/libiberty/config/mh-windows
new file mode 100755
index 0000000..3ff5f79
--- /dev/null
+++ b/libiberty/config/mh-windows
@@ -0,0 +1 @@
+EXTRA_OFILES=asprintf.o strcasecmp.o strncasecmp.o vasprintf.o