summaryrefslogtreecommitdiff
path: root/bfd/elf32-pj.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2001-09-13 00:15:54 +0000
committerAlexandre Oliva <aoliva@redhat.com>2001-09-13 00:15:54 +0000
commit9bb1ec96c0f51ea52f06a869498d683c211cbf69 (patch)
tree859139d9efc8504950b81db1383f9d6efd65af44 /bfd/elf32-pj.c
parent8119ea7b6ab9157ee119edc9679e414cb7094836 (diff)
downloadbinutils-redhat-9bb1ec96c0f51ea52f06a869498d683c211cbf69.tar.gz
* elf.c (prep_headers): Get the machine code from the elf
backend data. * elf-m10200.c (ELF_MACHINE_CODE): Redefine to EM_MN10200. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10200. * elf-m10300.c (ELF_MACHINE_CODE): Redefine to EM_MN10300. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10300. * elf-arc.c (arc_elf_final_write_processing): Don't override e_machine, it's now properly set in prep_headers. * elf32-avr.c (elf32_avr_object_p): Accept both EM_AVR and EM_AVR_OLD. (ELF_MACHINE_ALT1): Define to EM_AVR_OLD. * elf-d10v.c (ELF_MACHINE_CODE): Redefine to EM_D10V. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_D10V. * elf-d30v.c (ELF_MACHINE_CODE): Redefine to EM_D30V. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_D30V. * elf-fr30.c (ELF_MACHINE_CODE): Redefine to EM_FR30. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_FR30. * elf-m32r.c (ELF_MACHINE_CODE): Redefine to EM_M32R. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_M32R. * elf32-pj.c (ELF_MACHINE_ALT1): DEfine to EM_PJ_OLD. * elf-v850.c (ELF_MACHINE_CODE): Redefine to EM_V850. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_V850.
Diffstat (limited to 'bfd/elf32-pj.c')
-rw-r--r--bfd/elf32-pj.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf32-pj.c b/bfd/elf32-pj.c
index 4d48c8d465..5502616ee4 100644
--- a/bfd/elf32-pj.c
+++ b/bfd/elf32-pj.c
@@ -341,6 +341,7 @@ pj_elf_final_write_processing (abfd, linker)
#define TARGET_LITTLE_NAME "elf32-pjl"
#define ELF_ARCH bfd_arch_pj
#define ELF_MACHINE_CODE EM_PJ
+#define ELF_MACHINE_ALT1 EM_PJ_OLD
#define ELF_MAXPAGESIZE 0x1000
#define bfd_elf32_bfd_get_relocated_section_contents bfd_generic_get_relocated_section_contents
#define bfd_elf32_bfd_reloc_type_lookup pj_elf_reloc_type_lookup