diff options
author | Roland McGrath <roland@gnu.org> | 1999-07-11 01:49:09 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1999-07-11 01:49:09 +0000 |
commit | 19c9a2509802b36e034f7084ce637791eab57683 (patch) | |
tree | ac71ec73eec3e904326c1076028588280d0b45d0 /ext2fs/hyper.c | |
parent | f74ed6f7bb7aa061c75a387763390ab36d83395d (diff) |
1999-07-10 Roland McGrath <roland@baalperazim.frob.com>
* 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.
Diffstat (limited to 'ext2fs/hyper.c')
0 files changed, 0 insertions, 0 deletions