diff options
author | Stan Shebs <shebs@codesourcery.com> | 1996-07-18 18:42:06 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1996-07-18 18:42:06 +0000 |
commit | b576c7b3d2f68fab9d3c17269b9688f2947752aa (patch) | |
tree | 81ce7a6260eb9302a83f16c13b870bb4674093d7 | |
parent | 05a8bf3325590a803bc7bc500c229187db5bc74f (diff) | |
download | gdb-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.
-rw-r--r-- | bfd/ChangeLog | 16 | ||||
-rw-r--r-- | bfd/mpw-config.in | 11 | ||||
-rw-r--r-- | bfd/mpw-make.sed | 2 |
3 files changed, 20 insertions, 9 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 54021b2..f609fbd 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,13 +1,19 @@ +Thu Jul 18 11:36:31 1996 Stan Shebs <shebs@andros.cygnus.com> + + * 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. + Wed Jul 17 18:02:32 1996 Kim Knuttila <krk@cygnus.com> * coff-ppc.c: Redid debug scheme - numerous fprintf's gone. Also removed most abort calls, in favor of using bfd reporting. start-sanitize-d10v - Wed Jul 17 14:51:52 1996 Martin M. Hunt <hunt@pizza.cygnus.com> +Wed Jul 17 14:51:52 1996 Martin M. Hunt <hunt@pizza.cygnus.com> - * Makefile.in (ALL_MACHINES): Add cpu-d10v.o - (BFD32_BACKENDS) Add elf32-d10v.o + * Makefile.in (ALL_MACHINES): Add cpu-d10v.o. + (BFD32_BACKENDS) Add elf32-d10v.o. * archures.c: Add bfd_d10v_arch. * bfd-in2.h: Add bfd_d10v_arch. * config.bfd (d10v-*-*): New target. @@ -17,8 +23,8 @@ start-sanitize-d10v * elf.c (prep_headers): Added case bfd_arch_d10v. * elf32-d10v.c: New file. * libbfd.h: Rebuild. - * reloc.c (BFD_RELOC_D10V_10_PCREL_R, BFD_RELOC_D10V_10_PCREL_L, BFD_RELOC_D10V_18, - BFD_RELOC_D10V_18_PCREL): Define. + * reloc.c (BFD_RELOC_D10V_10_PCREL_R, BFD_RELOC_D10V_10_PCREL_L, + BFD_RELOC_D10V_18, BFD_RELOC_D10V_18_PCREL): Define. * targets.c (bfd_elf32_d10v_vec): New vector. end-sanitize-d10v 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 diff --git a/bfd/mpw-make.sed b/bfd/mpw-make.sed index a989ef0..aaf4aca 100644 --- a/bfd/mpw-make.sed +++ b/bfd/mpw-make.sed @@ -27,7 +27,9 @@ /bfd/s/"{s}"bfd\.h/"{o}"bfd.h/g /config/s/"{s}"config\.h/"{o}"config.h/g /elf32-target/s/"{s}"elf32-target\.h/"{o}"elf32-target.h/g +/elf32-target/s/^elf32-target\.h/"{o}"elf32-target.h/ /elf64-target/s/"{s}"elf64-target\.h/"{o}"elf64-target.h/g +/elf64-target/s/^elf64-target\.h/"{o}"elf64-target.h/ /"{s}"{INCDIR}/s/"{s}"{INCDIR}/"{INCDIR}"/g |