diff options
author | Jim Wilson <wilson@tuliptree.org> | 2000-04-18 04:03:16 +0000 |
---|---|---|
committer | Jim Wilson <wilson@tuliptree.org> | 2000-04-18 04:03:16 +0000 |
commit | fac417805a7d6be67dae8e8146edd818a308f8a3 (patch) | |
tree | dc9fc1e22e1c48383e8126a222b05cd8be9c0f1a /bfd/coffcode.h | |
parent | b9af77f58f609c230732b9acdbf1a6f747766733 (diff) | |
download | gdb-fac417805a7d6be67dae8e8146edd818a308f8a3.zip gdb-fac417805a7d6be67dae8e8146edd818a308f8a3.tar.gz gdb-fac417805a7d6be67dae8e8146edd818a308f8a3.tar.bz2 |
Bfd support for generating IA-64 EFI binaries.
* Makefile.am (BFD64_BACKENDS): Mention coff-ia64.lo.
(BFD64_BACKENDS_CFILES): Mention coff-ia64.c
(coff-ia64.lo): Add dependency.
* Makefile.in: Regenerate.
* coff-ia64.c: New file.
* efi-app-ia32.c: Ditto.
* efi-app-ia64.c: Ditto.
...
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r-- | bfd/coffcode.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h index a6e8b08..9474e93 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -1787,6 +1787,12 @@ coff_set_arch_mach_hook (abfd, filehdr) machine = 0; break; #endif +#ifdef IA64MAGIC + case IA64MAGIC: + arch = bfd_arch_ia64; + machine = 0; + break; +#endif #ifdef A29K_MAGIC_BIG case A29K_MAGIC_BIG: case A29K_MAGIC_LITTLE: @@ -2557,6 +2563,12 @@ coff_set_flags (abfd, magicp, flagsp) return true; break; #endif +#ifdef IA64MAGIC + case bfd_arch_ia64: + *magicp = IA64MAGIC; + return true; + break; +#endif #ifdef MC68MAGIC case bfd_arch_m68k: #ifdef APOLLOM68KMAGIC @@ -3635,6 +3647,11 @@ coff_write_object_contents (abfd) #endif /* LYNXOS */ #endif /* I386 */ +#if defined(IA64) +#define __A_MAGIC_SET__ + internal_a.magic = ZMAGIC; +#endif /* IA64 */ + #if defined(SPARC) #define __A_MAGIC_SET__ #if defined(LYNXOS) |