aboutsummaryrefslogtreecommitdiff
path: root/exec/hostarch.c
Commit message (Collapse)AuthorAgeFilesLines
* Use our own variant of 'assert' and 'assert_perror'.Justus Winter2017-08-051-1/+1
| | | | | Our variants print stack traces on failures. This will make locating errors much easier.
* Fix space styleSamuel Thibault2015-03-051-12/+12
|
* exec: Remove the remaining BFD related bitsJustus Winter2013-11-011-98/+1
| | | | | | * exec/Makefile: Remove commented out lines related to BFD. * exec/hostarch.c: Remove all BFD related code. * exec/main.c: Likewise.
* Fix gcc warningSamuel Thibault2013-09-211-1/+1
| | | | | * exec/hostarch.c (elf_machine_matches_host): Cast `&hostinfo` into host_info_t instead of natural_t *.
* 2002-04-27 Roland McGrath <roland@frob.com>Roland McGrath2002-04-271-2/+2
| | | | | | * 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-09 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-101-3/+2
| | | | | * hostarch.c (elf_machine_matches_host): Don't recognize EM_486, since newer <elf.h>'s don't define it any more.
* 1999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-111-26/+41
| | | | | | | | | | | | | | | | * 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.
* Sat Nov 23 16:26:55 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1996-12-051-1/+1
| | | | | * priv.h (mach_host_elf_machine): New prototype. * hostarch.c: Include "priv.h".
* *** empty log message ***Thomas Bushnell1996-08-291-4/+57
|
* (bfd_mach_host_arch_mach): Remove assignment from inside if test.Michael I. Bushnell1995-07-071-2/+2
|
* Rewritten to unconditionally return both BFD and ELF machine types.Roland McGrath1995-06-081-40/+13
|
* [BFD]: Fix prototype.Roland McGrath1995-01-221-1/+1
|
* Add case for CPU_TYPE_ALPHA.Roland McGrath1995-01-191-0/+13
|
* (bfd_mach_host_arch_mach, aout_mach_host_machine): UseRoland McGrath1995-01-191-2/+3
| | | | | mach_msg_type_number_t instead of unsigned int. Cast &HOSTINFO to (natural_t *).
* [BFD] (bfd_mach_host_arch_mach): MACHINE arg is `long int *' now.Roland McGrath1995-01-151-2/+2
|
* entered into RCSMichael I. Bushnell1993-11-231-1/+1
|
* Formerly hostarch.c.~3~Michael I. Bushnell1993-11-181-2/+2
|
* Formerly hostarch.c.~2~Michael I. Bushnell1993-10-211-3/+4
|
* Initial revisionMichael I. Bushnell1993-09-281-0/+131