diff options
author | Alan Modra <amodra@gmail.com> | 2002-09-02 11:47:42 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-09-02 11:47:42 +0000 |
commit | 250d94fd4b15ec8846f60f531fad5d504932d9fa (patch) | |
tree | d743a03ee231266aec3ce81d6d4119b0a59b6dba /bfd/mipsbsd.c | |
parent | bf5be082272973203c27f84790607e947c9a2ce0 (diff) | |
download | gdb-250d94fd4b15ec8846f60f531fad5d504932d9fa.zip gdb-250d94fd4b15ec8846f60f531fad5d504932d9fa.tar.gz gdb-250d94fd4b15ec8846f60f531fad5d504932d9fa.tar.bz2 |
* ecoff.c (_bfd_ecoff_set_arch_mach_hook): Don't use hard-coded
bfd_mach constants.
(ecoff_get_magic): Likewise.
* elf32-v850.c (v850_elf_object_p): Likewise.
(v850_elf_final_write_processing): Likewise.
* mipsbsd.c (MY(set_arch_mach)): Likewise.
(MY(write_object_contents)): Likewise.
* coff64-rs6000.c (xcoff64_write_object_contents): Likewise.
* coffcode.h (coff_write_object_contents): Likewise.
(coff_set_arch_mach_hook): Add comment describing machine == 0.
Remove unnecessary "machine" assignments.
(coff_write_relocs): Test for the absolute section sym by testing
section and flags.
* pdp11.c (NAME(aout,machine_type)): Like aoutx.h.
Diffstat (limited to 'bfd/mipsbsd.c')
-rw-r--r-- | bfd/mipsbsd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bfd/mipsbsd.c b/bfd/mipsbsd.c index 85cf0ef..f2802ab 100644 --- a/bfd/mipsbsd.c +++ b/bfd/mipsbsd.c @@ -1,5 +1,5 @@ /* BFD backend for MIPS BSD (a.out) binaries. - Copyright 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001 + Copyright 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Written by Ralph Campbell. @@ -91,12 +91,12 @@ MY(set_arch_mach) (abfd, machtype) { case M_MIPS1: arch = bfd_arch_mips; - machine = 3000; + machine = bfd_mach_mips3000; break; case M_MIPS2: arch = bfd_arch_mips; - machine = 4000; + machine = bfd_mach_mips4000; break; default: @@ -164,8 +164,8 @@ MY (write_object_contents) (abfd) case bfd_arch_mips: switch (bfd_get_mach (abfd)) { - case 4000: - case 6000: + case bfd_mach_mips4000: + case bfd_mach_mips6000: N_SET_MACHTYPE (*execp, M_MIPS2); break; default: |