summaryrefslogtreecommitdiff
path: root/exec/core.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1999-07-11 01:49:09 +0000
committerRoland McGrath <roland@gnu.org>1999-07-11 01:49:09 +0000
commit19c9a2509802b36e034f7084ce637791eab57683 (patch)
treeac71ec73eec3e904326c1076028588280d0b45d0 /exec/core.c
parentf74ed6f7bb7aa061c75a387763390ab36d83395d (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 'exec/core.c')
0 files changed, 0 insertions, 0 deletions