Richard Brooksby
6a40900dcd
Updating procedure for testing check macros to fit new variety scheme.
...
Copied from Perforce
Change: 179176
ServerID: perforce.ravenbrook.com
2012-09-02 16:48:23 +01:00
Richard Brooksby
f7ebe1d12a
Deleting unused callback mechanism for installing plinth routines with windows' broken dynamic linker.
...
Copied from Perforce
Change: 179174
ServerID: perforce.ravenbrook.com
2012-09-02 15:49:50 +01:00
Richard Brooksby
adce796a68
Merging the plinth and default pools into the mps library, as on other platforms, and building the tests using the library rather than object files.
...
Copied from Perforce
Change: 179172
ServerID: perforce.ravenbrook.com
2012-09-02 12:27:20 +01:00
Richard Brooksby
28ddb23e41
Fixing flags for hot and cool varieties.
...
Copied from Perforce
Change: 179171
ServerID: perforce.ravenbrook.com
2012-09-02 11:37:27 +01:00
Richard Brooksby
003ea87973
Renaming "he" variety to "hot" and "ci" variety to "cool". like the old days.
...
Copied from Perforce
Change: 179170
ServerID: perforce.ravenbrook.com
2012-09-02 11:04:53 +01:00
Richard Brooksby
0070b005a1
Removing product-specific configuration, including dylan- and scriptworks-specific targets and config_prod configurations. we should support any necessary requirements generically.
...
It's now possible to write "cc -c mps.c" and get a sensible result.
Copied from Perforce
Change: 179169
ServerID: perforce.ravenbrook.com
2012-09-02 10:39:42 +01:00
Richard Brooksby
7637bc783e
Building a fresh copy of version.c in the link/library step to avoid constant rebuilding.
...
Copied from Perforce
Change: 179168
ServerID: perforce.ravenbrook.com
2012-09-02 09:03:55 +01:00
Richard Brooksby
db2f2d6e53
Removing old variety substitutions.
...
Copied from Perforce
Change: 179167
ServerID: perforce.ravenbrook.com
2012-09-02 09:03:32 +01:00
Richard Brooksby
83efeb796f
Trimming varieties to match comm.gmk.
...
Copied from Perforce
Change: 179166
ServerID: perforce.ravenbrook.com
2012-09-02 08:26:56 +01:00
Richard Brooksby
df2e7f0d3b
Building version.c at link time to avoid constant rebuilds of executables and libraries.
...
Copied from Perforce
Change: 179165
ServerID: perforce.ravenbrook.com
2012-09-02 08:25:27 +01:00
Richard Brooksby
0865286498
Adding fixme note about checkleveldeep not working.
...
Copied from Perforce
Change: 179158
ServerID: perforce.ravenbrook.com
2012-09-01 11:45:26 +01:00
Richard Brooksby
01c0cf7acb
Compiling with a static checking level by default, doubling the speed of the cool variety.
...
Copied from Perforce
Change: 179157
ServerID: perforce.ravenbrook.com
2012-09-01 11:40:43 +01:00
Richard Brooksby
bb747e8e33
Renaming some check* macros with more accurate names, making remaining check* macros similar in function.
...
Copied from Perforce
Change: 179155
ServerID: perforce.ravenbrook.com
2012-09-01 10:18:08 +01:00
Richard Brooksby
40d0536a46
Tidying up check.h and adding lots of design documentation.
...
Copied from Perforce
Change: 179154
ServerID: perforce.ravenbrook.com
2012-09-01 10:05:30 +01:00
Richard Brooksby
6bdffe4c12
Abolishing a bunch of varieties and reforming the hot variety to run about as fast as white-hot.
...
See <http://info.ravenbrook.com/mail/2012/08/15/17-43-37/0/ >.
Copied from Perforce
Change: 179153
ServerID: perforce.ravenbrook.com
2012-09-01 00:01:03 +01:00
Richard Brooksby
9e1e89cc6c
Removing no-longer-needed warning suppression.
...
Copied from Perforce
Change: 178941
ServerID: perforce.ravenbrook.com
2012-08-15 17:21:18 +01:00
Richard Brooksby
7050152d64
Removing no-longer-required warning suppression.
...
Copied from Perforce
Change: 178940
ServerID: perforce.ravenbrook.com
2012-08-15 17:04:55 +01:00
Richard Brooksby
198ea502b0
Removing no-longer-required warning supression.
...
Copied from Perforce
Change: 178939
ServerID: perforce.ravenbrook.com
2012-08-15 17:01:48 +01:00
Richard Brooksby
a43379ca54
Removing no-longer-needed warning suppression.
...
Copied from Perforce
Change: 178938
ServerID: perforce.ravenbrook.com
2012-08-15 17:00:58 +01:00
Richard Brooksby
3b469f5b21
Unifying code-identical protection implementations for linux.
...
Copied from Perforce
Change: 178937
ServerID: perforce.ravenbrook.com
2012-08-15 16:47:50 +01:00
Richard Brooksby
28ba81140b
Bringing mps.c definition up-to-date on freebsd i386.
...
Copied from Perforce
Change: 178936
ServerID: perforce.ravenbrook.com
2012-08-15 16:27:48 +01:00
Richard Brooksby
162f92cddd
Correcting misnamed i4 architecture to i3. this distinction was once slightly useful for optimisation, but no longer makes any sense.
...
Copied from Perforce
Change: 178935
ServerID: perforce.ravenbrook.com
2012-08-15 15:37:42 +01:00
Richard Brooksby
07381f2173
Removing obsolete m9 platform.
...
Removing obsolete Visual C setup script.
Copied from Perforce
Change: 178933
ServerID: perforce.ravenbrook.com
2012-08-15 15:10:27 +01:00
Richard Brooksby
f25180bcc9
Adding fri6gc (freebsd on amd64/x86_64) platform.
...
Unifying thfr.c with generalised thix.c for Posix threads.
Copied from Perforce
Change: 178928
ServerID: perforce.ravenbrook.com
2012-08-14 17:30:22 +01:00
Richard Brooksby
4640f3c9e1
Renaming thli.c to thix.c as it is now general to posix threads.
...
Copied from Perforce
Change: 178926
ServerID: perforce.ravenbrook.com
2012-08-14 17:10:48 +01:00
Richard Brooksby
8fae691bac
Moving linux-specific parts out of thli.c in order to unify with freebsd.
...
Copied from Perforce
Change: 178925
ServerID: perforce.ravenbrook.com
2012-08-14 17:05:11 +01:00
Richard Brooksby
7b40db17e9
Merging 64-bit linux port from branch/2012-07-26/linux-catchup
...
Copied from Perforce
Change: 178913
ServerID: perforce.ravenbrook.com
2012-08-13 13:53:20 +01:00
Richard Brooksby
424c9f9239
Removing references to obsolete platforms.
...
Copied from Perforce
Change: 178909
ServerID: perforce.ravenbrook.com
2012-08-12 23:29:49 +01:00
Richard Brooksby
81634e8cbb
Removing obsolete platforms:
...
LII3EG Linux on i386 with EGCS
LIPPGC Linux on POWER with GCC
S7PPMW Mac System 7 on PowerPC with Metrowerks Codewarrior
SOS8CX Solaris on SPARC 8 with cxref
SOS8GC Solaris on SPARC 8 with GCC
SOS8GP Solaris on SPARC 8 with GCC and gprof
SOS9SC Solaris on SPARC 9 with SunPro C
XCPPGC Mac OS X on PowerPC with GCC
Copied from Perforce
Change: 178908
ServerID: perforce.ravenbrook.com
2012-08-12 23:27:35 +01:00
Richard Brooksby
f1ed28cb37
Removing obsolete protso.c for solaris.
...
Copied from Perforce
Change: 178907
ServerID: perforce.ravenbrook.com
2012-08-12 23:03:32 +01:00
Richard Brooksby
1d0b04ae97
Fixing warnings revealed by xcode (clang).
...
Copied from Perforce
Change: 178898
ServerID: perforce.ravenbrook.com
2012-08-11 09:30:24 +01:00
Richard Brooksby
89173908d3
Adding linux and 64-bit windows builds to mps.c.
...
Copied from Perforce
Change: 178897
ServerID: perforce.ravenbrook.com
2012-08-11 09:27:19 +01:00
David Lovemore
d67ef40046
Deleted no longer used thlii4.c -- renamed to thli.c
...
Copied from Perforce
Change: 178877
ServerID: perforce.ravenbrook.com
2012-08-09 16:09:07 +01:00
David Lovemore
43c30eefdb
Made 64 bit linux port lii6gc. i've renamed thlii4.c to thli.c.
...
Copied from Perforce
Change: 178876
ServerID: perforce.ravenbrook.com
2012-08-09 16:05:08 +01:00
Richard Brooksby
0f4b6dc65d
Removed support for old or dead platforms: osf/1, irix, mac system 7, sunos, windows nt on alpha, windows nt on powerpc.
...
See <https://github.com/datafueled/memory-pool-system/pull/3 > for the origin of this change.
Copied from Perforce
Change: 178872
ServerID: perforce.ravenbrook.com
2012-08-08 19:02:57 +01:00
David Lovemore
aa3ba986f5
Correct addresses for registers in context.
...
Copied from Perforce
Change: 178846
ServerID: perforce.ravenbrook.com
2012-08-06 14:44:35 +01:00
Richard Brooksby
a667e4fbcf
Removed unused typedef. added some clarifications.
...
Copied from Perforce
Change: 178815
ServerID: perforce.ravenbrook.com
2012-08-02 13:04:46 +01:00
David Lovemore
025e16f239
Fix for unix stack scanner now that gcc sometimes omits frame pointers.
...
Copied from Perforce
Change: 178810
ServerID: perforce.ravenbrook.com
2012-08-01 20:45:29 +01:00
David Lovemore
edef673fc0
Fixup warnings of unused variables. now compiles.
...
Copied from Perforce
Change: 178793
ServerID: perforce.ravenbrook.com
2012-07-31 15:00:21 +01:00
David Lovemore
07d320c057
Integrated from master to catchup some type fixes.
...
Copied from Perforce
Change: 178792
ServerID: perforce.ravenbrook.com
2012-07-31 14:52:44 +01:00
David Lovemore
7b4a2d88e2
Update the linux threading implementation, this means using the new posix style pthreads, which is much closer to the bsd implementation. prmcfr.h and prmcli.h have now been replaced by prmcix.h. this doesn't quite compile yet.
...
Copied from Perforce
Change: 178790
ServerID: perforce.ravenbrook.com
2012-07-31 14:43:34 +01:00
David Lovemore
20a444caee
Was using a %u for a size_t, naughty. fixed.
...
Copied from Perforce
Change: 178788
ServerID: perforce.ravenbrook.com
2012-07-31 14:21:41 +01:00
David Lovemore
c8875ecb80
Tidy up code from unused variable warnings.
...
Copied from Perforce
Change: 178787
ServerID: perforce.ravenbrook.com
2012-07-31 14:19:26 +01:00
Richard Brooksby
58bd26ec77
Adding w3i3mv to mps.c, allowing simple builds. this now works:
...
cl /Feamcss.exe /DCONFIG_PROD_MPS /DCONFIG_VAR_CI amcss.c fmtdy.c fmtdytst.c fmtno.c mps.c testlib.c
Copied from Perforce
Change: 178777
ServerID: perforce.ravenbrook.com
2012-07-30 16:48:02 +01:00
Richard Brooksby
9656bed733
Adding fri4gc platform to mps.c, allowing simple builds. this now works:
...
gcc -DCONFIG_PROD_MPS -DCONFIG_VAR_CI -o amcss amcss.c testlib.c fmtdy.c fmtdytst.c fmtno.c mps.c -lm -lpthread
Copied from Perforce
Change: 178776
ServerID: perforce.ravenbrook.com
2012-07-30 15:38:23 +01:00
Richard Brooksby
5b8faf430b
Fixing signal handling for freebsd 7. freebsd now signals sigsegv with code segv_accerr for memory protection faults. updated config.h.
...
Copied from Perforce
Change: 178775
ServerID: perforce.ravenbrook.com
2012-07-30 14:39:40 +01:00
Richard Brooksby
59a1b402d4
Minor fixups to printing and scanning formats to build cleanly on freebsd.
...
Copied from Perforce
Change: 178774
ServerID: perforce.ravenbrook.com
2012-07-30 14:25:27 +01:00
Richard Brooksby
2f8db83d05
Merging minor printf format fix from cet-transform branch.
...
Copied from Perforce
Change: 178773
ServerID: perforce.ravenbrook.com
2012-07-30 14:14:45 +01:00
David Lovemore
e3560446db
Update mv2test for 64-bit even though it is failing. varargs and alignment fixes.
...
Copied from Perforce
Change: 178561
ServerID: perforce.ravenbrook.com
2012-07-05 15:26:47 +01:00
Richard Brooksby
9e6f6ee4ac
Merging branch/2012-05-21/build-xci6ll -- build support for 64-bit mac os x.
...
Copied from Perforce
Change: 178560
ServerID: perforce.ravenbrook.com
2012-07-05 14:38:21 +01:00