summaryrefslogtreecommitdiff
path: root/exec/hostarch.c
AgeCommit message (Collapse)Author
2002-04-272002-04-27 Roland McGrath <roland@frob.com>Roland McGrath
* priv.h: Include <link.h> to get ElfW macro. * priv.h, exec.c, main.c, hostarch.c: Use `ElfW(TYPE)' in place of `Elf32_TYPE' throughout.
2000-03-102000-03-09 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* hostarch.c (elf_machine_matches_host): Don't recognize EM_486, since newer <elf.h>'s don't define it any more.
1999-07-111999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* hostarch.c (mach_host_elf_machine): Replaced with ... (elf_machine_matches_host): New function. Instead of returning an ELF EM_* code, take one and check if it matches the host; operate only on mach_host_self(), cache results, Grok CPU_TYPE_{I486,PENTIUM,PENTIUMPRO} to accept EM_386 or EM_486. Grok POWERPC, ALPHA, HPPA types. * exec.c (check_elf): Call elf_machine_matches_host instead of comparing against elf_machine. (load_section): #if 0 out no-op code that uses elf_machine. * priv.h (elf_machine_matches_host): Declare it. (elf_machine, mach_host_elf_machine): Remove decls. * main.c (main) [!BFD]: Don't call mach_host_elf_machine. (elf_machine): Variable removed.
1996-12-05Sat Nov 23 16:26:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* priv.h (mach_host_elf_machine): New prototype. * hostarch.c: Include "priv.h".
1996-08-29*** empty log message ***Thomas Bushnell
1995-07-07(bfd_mach_host_arch_mach): Remove assignment from inside if test.Michael I. Bushnell
1995-06-08Rewritten to unconditionally return both BFD and ELF machine types.Roland McGrath
1995-01-22[BFD]: Fix prototype.Roland McGrath
1995-01-19Add case for CPU_TYPE_ALPHA.Roland McGrath
1995-01-19(bfd_mach_host_arch_mach, aout_mach_host_machine): UseRoland McGrath
mach_msg_type_number_t instead of unsigned int. Cast &HOSTINFO to (natural_t *).
1995-01-15[BFD] (bfd_mach_host_arch_mach): MACHINE arg is `long int *' now.Roland McGrath
1993-11-23entered into RCSMichael I. Bushnell
1993-11-18Formerly hostarch.c.~3~Michael I. Bushnell
1993-10-21Formerly hostarch.c.~2~Michael I. Bushnell
1993-09-28Initial revisionMichael I. Bushnell