aboutsummaryrefslogtreecommitdiff
path: root/bfd/mpw-config.in
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1996-07-18 18:42:06 +0000
committerStan Shebs <shebs@codesourcery.com>1996-07-18 18:42:06 +0000
commitb576c7b3d2f68fab9d3c17269b9688f2947752aa (patch)
tree81ce7a6260eb9302a83f16c13b870bb4674093d7 /bfd/mpw-config.in
parent05a8bf3325590a803bc7bc500c229187db5bc74f (diff)
downloadgdb-b576c7b3d2f68fab9d3c17269b9688f2947752aa.zip
gdb-b576c7b3d2f68fab9d3c17269b9688f2947752aa.tar.gz
gdb-b576c7b3d2f68fab9d3c17269b9688f2947752aa.tar.bz2
* mpw-config.in: Add ELF support to mips config, create the
elf32-target.h file in the object dir. * mpw-make.sed: Edit elfXX-target.h refs at beginnings of lines.
Diffstat (limited to 'bfd/mpw-config.in')
-rw-r--r--bfd/mpw-config.in11
1 files changed, 7 insertions, 4 deletions
diff --git a/bfd/mpw-config.in b/bfd/mpw-config.in
index 9195d0e..c053db0 100644
--- a/bfd/mpw-config.in
+++ b/bfd/mpw-config.in
@@ -17,17 +17,17 @@ Else If "{target_canonical}" =~ /powerpc-apple-macos/
Set selvecs '&pmac_xcoff_vec'
Set selarchs "&bfd_powerpc_arch"
-Else If "{target_canonical}" =~ /i386-unknown-go32/
+Else If "{target_canonical}" =~ /i386-\Option-x-go32/
Set BFD_BACKENDS '"{o}"coff-i386.c.o'
Set defvec i386coff_vec
Set selvecs '&i386coff_vec'
Else If "{target_canonical}" =~ /mips-\Option-x-\Option-x/
- Set BFD_BACKENDS '"{o}"coff-mips.c.o "{o}"ecoff.c.o "{o}"ecofflink.c.o'
+ Set BFD_BACKENDS '"{o}"coff-mips.c.o "{o}"ecoff.c.o "{o}"ecofflink.c.o "{o}"elf32.c.o "{o}"elf32-mips.c.o "{o}"elflink.c.o'
Set defvec ecoff_big_vec
- Set selvecs '&ecoff_big_vec,&ecoff_little_vec'
+ Set selvecs '&ecoff_big_vec,&ecoff_little_vec,&bfd_elf32_bigmips_vec'
-Else If "{target_canonical}" =~ /sh-hitachi-hms/
+Else If "{target_canonical}" =~ /sh-\Option-x-hms/
Set BFD_BACKENDS '"{o}"coff-sh.c.o "{o}"cofflink.c.o'
Set defvec shcoff_vec
Set selvecs '&shcoff_vec,&shlcoff_vec'
@@ -60,6 +60,9 @@ sed -e 's/@WORDSIZE@/32/' \Option-d
MoveIfChange "{o}"bfd.h-new "{o}"bfd.h
+sed -e 's/NN/32/g' "{srcdir}"elfxx-target.h >"{o}"elf32-target.h-new
+MoveIfChange "{o}"elf32-target.h-new "{o}"elf32-target.h
+
# Pre-expand some macros in coffswap.h, so MPW C doesn't choke.
sed -e 's/^ PUT_AOUTHDR_TSIZE (/ bfd_h_put_32 (/' \Option-d