mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-29 04:53:56 +08:00
1d77e69d4a
* interp.c (target_byte_order): Delete. (sim_kind, myname, little_endian_p): New static locals. (init_pointers): Use little_endian_p instead of target_byte_order. (sim_resume): Likewise. (sim_open): Set sim_kind, myname. Set little_endian_p from -E arg. (sim_load): Return SIM_RC. New arg abfd. Call sim_load_file to load file into simulator. Set start address from bfd. (sim_create_inferior): Return SIM_RC. Delete arg start_address.
38 lines
1.2 KiB
Makefile
38 lines
1.2 KiB
Makefile
# Makefile template for Configure for the SH sim library.
|
|
# Copyright (C) 1990, 91, 92, 95, 96, 1997 Free Software Foundation, Inc.
|
|
# Written by Cygnus Support.
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
## COMMON_PRE_CONFIG_FRAG
|
|
|
|
SIM_OBJS = interp.o table.o sim-load.o
|
|
SIM_EXTRA_LIBS = -lm
|
|
|
|
## COMMON_POST_CONFIG_FRAG
|
|
|
|
interp.o: interp.c code.c table.c
|
|
|
|
code.c: gencode
|
|
./gencode -x >code.c
|
|
# indent code.c
|
|
|
|
table.c: gencode
|
|
./gencode -s >table.c
|
|
# indent table.c
|
|
|
|
gencode: gencode.c
|
|
$(CC_FOR_BUILD) -o gencode $(srcdir)/gencode.c
|