Merge pull request #66 from davidgiven/dtrg-warnings
David Given
2017-11-19 11:39:45 +0100
760da1f421Fix build with gcc.
George Koehler
2017-11-17 17:52:37 -0500
11d48be49eFix my typo from commit 5bbbaf4.
George Koehler
2017-11-17 15:46:24 -0500
d99a0682fcSwitch ego to libc <assert.h>
George Koehler
2017-11-15 19:48:53 -0500
9037d137f5Add prototypes, void in util/ego/share
George Koehler
2017-11-15 16:29:27 -0500
caa9df5449LLgen won't update the output file timestamp if the file contents doesn't change, which confuses ninja no end. Fix this.
David Given
2017-11-15 19:41:39 +0100
5bbbaf4919Use size_t and void with memory allocation in ego.
George Koehler
2017-11-14 20:35:18 -0500
87a2315037strcmp, strncmp are in <string.h>
George Koehler
2017-11-14 17:04:01 -0500
229b80a004Free buf in GetFile().
George Koehler
2017-11-13 21:34:31 -0500
fbff3a4790Check each format string in tabgen.c
George Koehler
2017-11-13 20:40:43 -0500
974fa93491Silence warning about pointer cast to int.
George Koehler
2017-11-13 18:21:26 -0500
ddf9de3f49strcpy() is in <string.h>
George Koehler
2017-11-13 17:57:02 -0500
5301cceee3Declare machine-dependent functions in mach/proto/ncg
George Koehler
2017-11-13 14:23:44 -0500
e04166b85dMore prototypes, less register in mach/proto/ncg
George Koehler
2017-11-13 12:44:17 -0500
909b0d5bf3Add prototypes to functions in subr.c
George Koehler
2017-11-12 16:11:05 -0500
ba2a45180cPrototypes for string functions. More static.
George Koehler
2017-11-12 11:25:18 -0500
98b27dd505Remove old "assert.h" in mach/proto/ncg
George Koehler
2017-11-11 19:35:48 -0500
Merge pull request #63 from kernigh/kernigh-rm-fix
David Given
2017-10-31 11:33:52 +0100
9ff79c53ddUpdate comment after commit 9a965ef.
George Koehler
2017-10-30 21:24:18 -0400
84024ce5b6Improve how Makefile handles multiple goals.
George Koehler
2017-10-30 17:09:19 -0400
50a7031007Don't use '-' in option string to getopt().
George Koehler
2017-10-29 22:00:43 -0400
59b3c10563Use (arith) 1 << ... when getting the sign bit.
George Koehler
2017-10-29 17:45:10 -0400
d36807b395Remove UNSIGNED_ARITH from a few more files.
George Koehler
2017-10-29 17:03:51 -0400
1ab1306baaAlways use unsigned long in lang/cem
George Koehler
2017-10-29 17:01:29 -0400
3d6ee435cfFix pattern that was rewriting func(! var, var) as func(1).
George Koehler
2017-10-29 14:53:33 -0400
cb8b28c088For DIAGOPT, change outshort(patno) to outshort(lino - 1).
George Koehler
2017-10-29 14:18:47 -0400
c567532eeemktab depends on some of the *.h files.
George Koehler
2017-10-28 21:41:59 -0400
038fb6fb55Get correct sign of a MOD b when (a > 0) and (b < 0).
George Koehler
2017-10-28 19:55:06 -0400
649410bb27Always use unsigned long.
George Koehler
2017-10-28 17:56:20 -0400
9a965efae8Terminal now writes to fd 1, not fd 0.
George Koehler
2017-10-28 17:20:39 -0400
75ae957c75Don't check ferror(fp) when reading fp.
George Koehler
2017-10-28 16:20:48 -0400
54028e403eDelete unused misc/getpw.c from libc.
George Koehler
2017-10-28 14:25:39 -0400
0a2dfd650dDelete malloc.h and tgmath.h from libc.
George Koehler
2017-10-28 13:57:10 -0400
b00a2c906dBuild fdopen(), hypot(), putenv() in libc.
George Koehler
2017-10-28 13:06:38 -0400
c261e2efafAdd .pas as a Pascal suffix.
George Koehler
2017-10-28 11:59:35 -0400
f0241d6bc7Remove old files: TakeAction config.pm
George Koehler
2017-10-28 10:55:51 -0400
66147529d9Merge pull request #59 from kernigh/kernigh-ppc-regs
David Given
2017-10-26 15:15:55 +0100
0102cc8934lwzu writes to the register in the token.
George Koehler
2017-10-19 12:44:46 -0400
2a92f9bf4dAdd a few more error checks and adjustments to reglap.
George Koehler
2017-10-18 22:00:12 -0400
73ad5a227dRename RELOLIS to RELOPPC_LIS.
George Koehler
2017-10-18 15:39:31 -0400
41f3bf78cdEdit descr for linuxppc. Use powerpc.descr of ego.
George Koehler
2017-10-18 13:23:01 -0400
459a9b5949Use lwzu, stwu to tighten more loops.
George Koehler
2017-10-18 12:12:42 -0400
ac2b0710c8Add more rules for single-precision reg_float.
George Koehler
2017-10-17 17:53:03 -0400
47bd0ef7a7Stop inlining code to convert integers to floats.
George Koehler
2017-10-17 17:00:28 -0400
893e170015Use my new regvar_w() and regvar_d() in PowerPC ncg.
George Koehler
2017-10-17 14:15:33 -0400
307a8b996eAdd regvar_w() and regvar_d() for use with reglap.
George Koehler
2017-10-17 12:05:41 -0400
5432bd03d6Do a move when coercing FREG to FREG or FSREG to FSREG.
George Koehler
2017-10-16 12:07:55 -0400
f0619ea4aePowerPC ncg never uses the rules to stack LOCAL or DLOCAL.
George Koehler
2017-10-15 15:22:52 -0400
aa876ff4c2Fix reglap for procedures that use both sizes of reg_float.
George Koehler
2017-10-15 13:15:03 -0400
b342b83d28Add function prototypes to mach/proto/ncg/regvar.c
George Koehler
2017-10-15 11:01:18 -0400
d6e9eac785Merge branch 'default' into kernigh-linuxppc
George Koehler
2017-10-14 13:50:49 -0400
7e9348169cAdd reglap to ncg. Add 4-byte reg_float to PowerPC ncg.
George Koehler
2017-10-14 12:40:04 -0400
b83173734dMore ansification.
David Given
2017-08-06 15:57:49 +0200
68a72f7672Don't try to run the tests on Travis.
David Given
2017-08-06 14:27:15 +0200
1203e8afd2mkstemp() is a bit more complex than it looks; because ego wants to use the same base name and generate multiple files based on it, we can't really use mkstemp() for every temporary file. Instead, use mkstemp() once on a placeholder, then generate temporary names based on this. (And delete the placeholder once we've finished.)
David Given
2017-08-06 14:25:12 +0200
a96c846a29Don't build mcg as part of linuxppc; it's not used and crashes Travis.
David Given
2017-08-06 13:54:07 +0200
5f6a773649Turn of qemuppc for now; it's crashing on Travis builds.
David Given
2017-08-06 13:48:01 +0200
b55198820aFix Travis syntax error...
David Given
2017-08-06 13:39:21 +0200
64f2fa9d46Stop using mktemp() --- on Haiku, it always generates the same filenames, pretty much guaranteeing temporary file overwrites on parallel builds. Use mkstemp() instead which creates the files atomically.
David Given
2017-08-06 13:22:05 +0200
789f79b369Ansification, warning fixes, C89ification.
David Given
2017-08-06 12:42:17 +0200
b79d9fd7f4Turn off OSX Travis builds --- this is going to be hard to make work.
David Given
2017-08-06 12:38:38 +0200
60e7d06d82Ansification and warning fixes.
David Given
2017-08-06 11:58:36 +0200
a1043bc5feAttempt to correct file system case sensitivity.
David Given
2017-08-06 11:15:53 +0200
6c6222cc66Try using trusty and non-sudo build environments.
David Given
2017-08-06 10:56:40 +0200
e238227ba3Build with linux/clang; try building on osx/clang.
David Given
2017-08-06 10:44:38 +0200
fd10cf7ac2Merge from trunk.
David Given
2017-08-06 10:42:16 +0200
a9f19a2a31Merge.
David Given
2017-08-05 21:47:40 +0200
7ff0b65a0dAdd missing headers.
David Given
2017-08-05 21:46:43 +0200
064fd52d52Update man page not to mention the filename length restriction removed in 893471a42e.
David Given
2017-08-02 00:07:51 +0200
f2e3d7b38cDon't define functions called itoa(), because this causes problems on platforms that define itoa() in their libcs.
David Given
2017-07-23 21:19:07 +0200
2c266c631aReorder registers. Fix problem with ret 8.
George Koehler
2017-02-17 19:32:27 -0500
23c365c939Fix comparison of 4-byte floats.
George Koehler
2017-02-17 19:29:45 -0500
736c45453cRemove .ret from libem and inline the code.
George Koehler
2017-02-16 21:18:39 -0500
e6df553ebfFor PowerPC, never put a reg_float value in a reg_any.
George Koehler
2017-02-16 20:30:17 -0500
aa47f52166Switch error() and fatal() in mach/proto/ncg to stdarg.
George Koehler
2017-02-16 20:26:53 -0500
a20b87ca01In ego, put both words and double-words in reg_float.
George Koehler
2017-02-16 19:55:52 -0500
cbe5d8640bAdd floating-point register variables to PowerPC ncg.
George Koehler
2017-02-15 19:34:07 -0500
8f79699ea8Merge pull request #52 from kernigh/pr-relolis
David Given
2017-02-15 21:04:14 +0000
cf728c2a2aImplement lxl for PowerPC ncg.
George Koehler
2017-02-13 23:22:31 -0500
a8f62f44d8Remove REG_PAIR.
George Koehler
2017-02-13 18:11:27 -0500