aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1995-10-25 00:54:55 +0000
committerStan Shebs <shebs@codesourcery.com>1995-10-25 00:54:55 +0000
commitaadf04f73628237bec1b41b1d415ebb8b20aa726 (patch)
treea66506447f06374a26a7525eb4007f590d397afc /bfd/configure
parentfe5cfadd4251690ef0ec0fdeaa90e63e3077007f (diff)
downloadgdb-aadf04f73628237bec1b41b1d415ebb8b20aa726.zip
gdb-aadf04f73628237bec1b41b1d415ebb8b20aa726.tar.gz
gdb-aadf04f73628237bec1b41b1d415ebb8b20aa726.tar.bz2
* configure.in: Add xcofflink.o to pmac_xcoff_vec.
* configure: Rebuild. * mpw-config.in: Add xcofflink.c.o to powerpc-apple-macos. * coff-pmac.c: Include coff-rs6000.c instead of duplicating its contents. (pmac_xcoff_vec): Update to use new xcoff support. * coff-rs6000.c (xcoff_generic_stat_arch_elt): Make static. (xcoff_write_armap): Declare buf as unsigned char. * xcofflink.c (xcoff_link_add_symbols): Declare a local as PTR. * mpw-make.sed: Generalize subdir_do edit.
Diffstat (limited to 'bfd/configure')
-rwxr-xr-xbfd/configure14
1 files changed, 6 insertions, 8 deletions
diff --git a/bfd/configure b/bfd/configure
index e40c296..9ce2cbc 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -837,7 +837,7 @@ else
fi
done
-for ac_func in fcntl
+for ac_func in fcntl getpagesize
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
@@ -1124,11 +1124,9 @@ EOF
;;
rs6000-*-lynx*) COREFILE=lynx-core.o ;;
- rs6000-*-aix4*) COREFILE=rs6000-core.o
- COREFLAG=-DALTERNATE_AIX_CORE_FORMAT ;;
+ rs6000-*-aix4*) COREFILE=rs6000-core.o ;;
rs6000-*-*) COREFILE=rs6000-core.o ;;
- powerpc-*-aix4*) COREFILE=rs6000-core.o
- COREFLAG=-DALTERNATE_AIX_CORE_FORMAT ;;
+ powerpc-*-aix4*) COREFILE=rs6000-core.o ;;
powerpc-*-aix*) COREFILE=rs6000-core.o ;;
tahoe-*-*)
COREFILE=trad-core.o
@@ -1180,7 +1178,7 @@ EOF
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 1184 "configure"
+#line 1182 "configure"
#include "confdefs.h"
#include <sys/procfs.h>
int main() { return 0; }
@@ -1366,8 +1364,8 @@ do
nlm32_powerpc_vec) tb="$tb nlm32-ppc.o nlm32.o nlm.o" ;;
pc532netbsd_vec) tb="$tb ns32knetbsd.o aout-ns32k.o stab-syms.o" ;;
pc532machaout_vec) tb="$tb pc532-mach.o aout-ns32k.o stab-syms.o" ;;
- pmac_xcoff_vec) tb="$tb coff-pmac.o cofflink.o" ;;
- rs6000coff_vec) tb="$tb coff-rs6000.o" ;;
+ pmac_xcoff_vec) tb="$tb coff-pmac.o xcofflink.o" ;;
+ rs6000coff_vec) tb="$tb coff-rs6000.o xcofflink.o" ;;
bfd_powerpc_pe_vec) tb="$tb pe-ppc.o cofflink.o" ;;
bfd_powerpcle_pe_vec) tb="$tb pe-ppc.o cofflink.o" ;;
bfd_powerpc_pei_vec) tb="$tb pei-ppc.o cofflink.o" ;;