mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
* Makefile.in: Make SunOS halfdone VPATH work.
* p1.c: Lint picked up by HP native compiler.
This commit is contained in:
parent
1fa643be8e
commit
a082325bd2
@ -75,9 +75,8 @@ p2.c:writecode
|
||||
writecode: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.
|
||||
###
|
||||
|
@ -51,11 +51,11 @@ littleendian;
|
||||
static void
|
||||
meminit ()
|
||||
{
|
||||
if (!saved_state.mem)
|
||||
if (saved_state.mem == 0)
|
||||
{
|
||||
int tmp;
|
||||
|
||||
saved_state.mem = calloc (1024, 64);
|
||||
saved_state.mem = (unsigned short *)calloc (1024, 64);
|
||||
littleendian.i = 1;
|
||||
/* initialze the array of pointers to byte registers */
|
||||
for (tmp = 0; tmp < 8; tmp++)
|
||||
|
Loading…
Reference in New Issue
Block a user