Merge branch 'master' into double_precision
This commit is contained in:
@@ -520,7 +520,12 @@ void startup ()
|
||||
{
|
||||
register int i;
|
||||
|
||||
mktemp (tfilename);
|
||||
int fd = mkstemp (tfilename);
|
||||
if (fd == -1) {
|
||||
uerror ("cannot create temporary file %2", tfilename);
|
||||
} else {
|
||||
close(fd);
|
||||
}
|
||||
for (i=STEXT; i<SBSS; i++) {
|
||||
sfile [i] = fopen (tfilename, "w+");
|
||||
if (! sfile [i])
|
||||
|
||||
@@ -12,7 +12,7 @@ SECT=`expr $PAGE : '[a-z]*.\([0-9]\)'`
|
||||
MDIR="$DIR/cat$SECT"
|
||||
DEST="$MDIR/`basename $PAGE .$SECT`.0"
|
||||
|
||||
set -x
|
||||
#set -x
|
||||
if [ ! -d $MDIR ]; then
|
||||
rm -f $MDIR
|
||||
mkdir -p $MDIR
|
||||
|
||||
@@ -1287,7 +1287,13 @@ void middle()
|
||||
void setupout ()
|
||||
{
|
||||
tcreat (&outb, 0);
|
||||
mktemp (tfname);
|
||||
int fd = mkstemp (tfname);
|
||||
if (fd == -1) {
|
||||
error(2, "internal error: unable to create temporary file %s", tfname);
|
||||
} else {
|
||||
close(fd);
|
||||
}
|
||||
|
||||
tcreat (&toutb, 1);
|
||||
tcreat (&doutb, 1);
|
||||
|
||||
|
||||
@@ -126,7 +126,7 @@ uucico: cico.o libuucp.a
|
||||
${ELF2AOUT} uucico.elf $@
|
||||
|
||||
libuucp.a: $(LIBOBJ)
|
||||
$(AR) r libuucp.a $(LIBOBJ)
|
||||
$(AR) cru libuucp.a $(LIBOBJ)
|
||||
$(RANLIB) libuucp.a
|
||||
|
||||
|
||||
|
||||
@@ -35,12 +35,12 @@ all: ../libcurses.a
|
||||
|
||||
../libcurses.a: ${OBJS}
|
||||
@echo building normal ../libcurses.a
|
||||
@$(AR) ru ../libcurses.a ${OBJS}
|
||||
@$(AR) cru ../libcurses.a ${OBJS}
|
||||
$(RANLIB) ../libcurses.a
|
||||
|
||||
../libcurses_p.a: ${OBJS}
|
||||
@echo building profiled ../libcurses.a
|
||||
@cd profiled; $(AR) ru ../../libcurses_p.a ${POBJS}
|
||||
@cd profiled; $(AR) cru ../../libcurses_p.a ${POBJS}
|
||||
$(RANLIB) ../libcurses_p.a
|
||||
|
||||
install: all
|
||||
|
||||
@@ -22,12 +22,12 @@ all: ../libvmf.a $(MAN)
|
||||
|
||||
../libvmf.a: ${OBJS}
|
||||
@echo building normal ../libvmf.a
|
||||
@$(AR) ru ../libvmf.a ${OBJS}
|
||||
@$(AR) cru ../libvmf.a ${OBJS}
|
||||
$(RANLIB) ../libvmf.a
|
||||
|
||||
../libvmf_p.a: ${OBJS}
|
||||
@echo building profiled ../libvmf.a
|
||||
@cd profiled; $(AR) ru ../../libvmf_p.a ${POBJS}
|
||||
@cd profiled; $(AR) cru ../../libvmf_p.a ${POBJS}
|
||||
$(RANLIB) ../libvmf_p.a
|
||||
|
||||
$(MAN): $(MANSRC)
|
||||
|
||||
@@ -8,7 +8,7 @@ OBJS = w5100.o socket.o ethernet.o client.o server.o udp.o
|
||||
all: ../libwiznet.a
|
||||
|
||||
../libwiznet.a: ${OBJS}
|
||||
@$(AR) ru $@ ${OBJS}
|
||||
@$(AR) cru $@ ${OBJS}
|
||||
$(RANLIB) $@
|
||||
|
||||
install: all
|
||||
|
||||
@@ -173,7 +173,7 @@ void mips_mts32_show_stats (cpu_mips_t * cpu)
|
||||
#endif
|
||||
|
||||
printf (" Total lookups: %llu, misses: %llu, efficiency: %g%%\n",
|
||||
cpu->mts_lookups, cpu->mts_misses,
|
||||
(unsigned long long)cpu->mts_lookups, (unsigned long long)cpu->mts_misses,
|
||||
100 - ((double) (cpu->mts_misses * 100) / (double) cpu->mts_lookups));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user