mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-15 11:56:11 +08:00
* Makefile.in: Make SunOS halfdone VPATH work.
* p1.c: Lint picked up by HP native compiler.
This commit is contained in:
@ -75,9 +75,8 @@ p2.c:writecode
|
|||||||
writecode:writecode.c
|
writecode:writecode.c
|
||||||
$(CC) -o writecode -g $(CSEARCH) $(srcdir)/writecode.c
|
$(CC) -o writecode -g $(CSEARCH) $(srcdir)/writecode.c
|
||||||
|
|
||||||
|
run.o: run.c
|
||||||
|
perifs.o: perifs.c
|
||||||
|
|
||||||
|
|
||||||
#### host and target dependent Makefile fragments come in here.
|
#### host and target dependent Makefile fragments come in here.
|
||||||
###
|
###
|
||||||
|
@ -51,11 +51,11 @@ littleendian;
|
|||||||
static void
|
static void
|
||||||
meminit ()
|
meminit ()
|
||||||
{
|
{
|
||||||
if (!saved_state.mem)
|
if (saved_state.mem == 0)
|
||||||
{
|
{
|
||||||
int tmp;
|
int tmp;
|
||||||
|
|
||||||
saved_state.mem = calloc (1024, 64);
|
saved_state.mem = (unsigned short *)calloc (1024, 64);
|
||||||
littleendian.i = 1;
|
littleendian.i = 1;
|
||||||
/* initialze the array of pointers to byte registers */
|
/* initialze the array of pointers to byte registers */
|
||||||
for (tmp = 0; tmp < 8; tmp++)
|
for (tmp = 0; tmp < 8; tmp++)
|
||||||
|
Reference in New Issue
Block a user