OSDN Git Service

* ecoff.c (_bfd_ecoff_set_arch_mach_hook): Don't use hard-coded
authoramodra <amodra>
Mon, 2 Sep 2002 11:47:41 +0000 (11:47 +0000)
committeramodra <amodra>
Mon, 2 Sep 2002 11:47:41 +0000 (11:47 +0000)
commite7c5ff712b5d2ca0106687fa8222fde40dfd6b21
treef201caf086922fa3ebdff9c59adbc7edbb6853cc
parent6fd9589b1c4adda479eed3f4c211208714cca97c
* 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.
bfd/ChangeLog
bfd/coff64-rs6000.c
bfd/coffcode.h
bfd/ecoff.c
bfd/elf32-v850.c
bfd/mipsbsd.c
bfd/pdp11.c