Commit Graph

6078 Commits

Author SHA1 Message Date
olle
6ab944bfcf * gen of conditional instr updated according to agppcgas
* gen of PPCAsm command fixed
2004-01-12 00:08:03 +00:00
daniel
4a4b8f2a72 * Experiment: Compress strings to save memory
Did not save a single byte of mem; clearly the core size is boosted by
    temporary memory usage...
2004-01-11 23:56:19 +00:00
florian
fc60443584 * version changed to 1.9.3 2004-01-11 20:59:41 +00:00
daniel
61d29c4e4e * Register allocation bug fixed 2004-01-11 13:21:35 +00:00
Jonas Maebe
4c7c8b9c3a * fixed mtfsb0 instruction for assembler reader/writer
* fixed initialisation of fpscr register to avoid spurious SIGPFE's
    (uses mtfsb0 instruction, so added extra define in options.pas to avoid
    requiring to start with a cross compiler)
2004-01-10 00:16:20 +00:00
daniel
cdbb601a4e * Degree=0 problem fixed
* Degree to high problem fixed
2004-01-09 22:02:29 +00:00
daniel
a4086f7dde * Commented out code removed 2004-01-09 13:37:17 +00:00
daniel
1f52387893 * Export table generation fixed according to instructions from Pierre 2004-01-09 13:36:26 +00:00
Jonas Maebe
e1fc7227d9 * darwin requires the alginment of .lcomm symbols to be specified
together with the symbol itself, instead of in a .align directive
2004-01-07 17:40:06 +00:00
peter
b4159755d2 * fixed too long ie number 2004-01-06 21:37:41 +00:00
Jonas Maebe
c5409f2f8a * fixed alignment constants for Darwin 2004-01-06 21:26:18 +00:00
peter
4b9ba9e064 * fix stabs for locals 2004-01-06 15:46:12 +00:00
florian
5f496817a0 * fixed webbug 2878 2004-01-06 02:17:44 +00:00
marco
55850b063a * regenerating the makefiles with some netbsd fixes + version upgrades 2004-01-05 23:34:21 +00:00
marco
b487ca1339 * fixed a few makefiles version numbers 2004-01-05 23:29:35 +00:00
florian
822ce0df68 * changed sysutils.exec to ExecuteProcess 2004-01-05 22:37:15 +00:00
marco
c6b2be7eef * rrregened 2004-01-05 18:01:40 +00:00
marco
16791157a4 * Regened 2004-01-05 17:24:16 +00:00
Jonas Maebe
6d4561ec58 * fixed compilation problems under x86 2004-01-05 08:13:30 +00:00
Jonas Maebe
e55860fdd8 + Darwin support for routines imported from external libraries (not yet
ideal, we should generate stubs in all files where the routines are
    used -> these are automatically merged by the linker; now we generate
    one global symbol with a jump to a stub in unit where the routine is
    declared)
  + (not yet working) Darwin support for imported variables
  + Darwin support for linking
2004-01-04 21:26:31 +00:00
Jonas Maebe
0f4ea52793 * use "as_darwin" assembler for Darwin
* Cprefix = '_' on Darwin
  * use_function_relative_addresses must be false on Darwin
2004-01-04 21:19:57 +00:00
Jonas Maebe
bee5b615cf + as_darwin assembler type (labels start with L)
* never generate register->number mappings for Darwin
    * always use real register names for Darwin
2004-01-04 21:18:10 +00:00
Jonas Maebe
9e781b8c7b + added log message for last commit 2004-01-04 21:17:51 +00:00
Jonas Maebe
744d6d85b2 *** empty log message *** 2004-01-04 21:12:47 +00:00
Jonas Maebe
3413faf00d * Darwin's assembler assumes that all labels starting with 'L' are local
-> rename symbols starting with 'L'
2004-01-04 21:10:04 +00:00
Jonas Maebe
8f33050b86 * darwin only supports .align, no .balign 2004-01-04 21:08:59 +00:00
Jonas Maebe
7f911c2f4a * Never generate a "main" symbol for PASCALMAIN for Darwin and classic
Mac OS, they use a C-main in their system unit
2004-01-04 21:08:09 +00:00
Jonas Maebe
2d40a5008b + support exported procedures for linuxppc
* refuse to compile systems/t_linux.pas if processor-specific  support
    for exported procedures is absent
  + generate .type and .size info for all currently defined linux-variants
    in aggas.pas
2004-01-03 13:51:05 +00:00
michael
d2594024c0 + Changed version to 1.9.2 2004-01-03 12:31:44 +00:00
marco
c032cd36e8 * errorhandling fixed 2004-01-03 09:20:45 +00:00
marco
64e776098a * unix does ansistring exec 2004-01-03 09:12:23 +00:00
Jonas Maebe
2af569745c * if currency = int64, FPC_CURRENCY_IS_INT64 is defined
+ round and trunc for currency and comp if FPC_CURRENCY_IS_INT64 is
    defined
  * if currency = orddef, prefer currency -> int64/qword conversion over
    currency -> float conversions
  * optimized currency/currency if currency = orddef
  * TODO: write FPC_DIV_CURRENCY and FPC_MUL_CURRENCY routines to prevent
      precision loss if currency=int64 and bestreal = double
2004-01-02 17:19:04 +00:00
Jonas Maebe
c094978054 + SetFPUExceptionMask implementation for PPC 2004-01-02 16:50:24 +00:00
Jonas Maebe
c2efd86268 + integer division-by-zero detection support for ppc
+ compilerproc FPC_DIVBYZERO
2004-01-01 17:58:16 +00:00
florian
03efd6e74b * fixed wrong temp. usage in generic exception handling 2004-01-01 17:23:16 +00:00
Jonas Maebe
e90bd0332a * default linker name for non-i386 and non-m68k 2004-01-01 15:34:50 +00:00
Jonas Maebe
be0397b1d1 * fixed currency bugs. Int64 currency handling still needs to be
rewritten so that it doesn't include conversions to real anymore
    though
2003-12-31 22:30:39 +00:00
Jonas Maebe
a75ef67bfd * properly fixed assigned() mess (by handling it separately in ncginl)
-> all assigned()-related tests in the test suite work again
2003-12-31 20:47:02 +00:00
Jonas Maebe
8be1033511 * (64 bit int) shl/shr (value > 63) := 0 2003-12-31 18:12:23 +00:00
Jonas Maebe
4aba5c80f1 * fixed C record max alignment 2003-12-31 17:28:19 +00:00
Jonas Maebe
3ff00d31b3 * fixed previous commit for tp and delphi modes 2003-12-30 16:30:50 +00:00
Jonas Maebe
f587f35457 * fixed methodpointer comparing in a generic way (typecast both left and
right explicitly to voidpointer), instead of relying on strange
    behvaiour or n386addnode.pass_2 (if size of def = 8, only use the first
    4 bytes instead of internalerror-ing or so)
2003-12-29 22:33:08 +00:00
florian
a3cd612259 * fixed error message, if a resource file can't be written 2003-12-29 19:31:20 +00:00
Jonas Maebe
b46b7ff792 * integrated hack from 1.0.x so we can parse low(int64) as int64 instead
of as double (in 1.0.x, it was necessary for low(longint))
2003-12-29 17:19:35 +00:00
Jonas Maebe
92f038ebec * fixed saving/restoring of volatile fpu registers under sysv
+ better provisions for abi differences regarding fpu registers that have
    to be saved
2003-12-29 14:17:50 +00:00
Jonas Maebe
980efd582d + support for currency typed constants if currency=int64. Warning: does
not work properly for extreme values if bestreal <= double
2003-12-29 12:48:39 +00:00
Jonas Maebe
7de6463c43 * hopefully fixed bug tb0454 (merged from nppcadd) 2003-12-29 11:37:52 +00:00
Jonas Maebe
da6a3d28c8 * hopefully fixed tb0454 2003-12-29 11:35:19 +00:00
Jonas Maebe
83323b4955 * fixed tb0350 (support loading address of reference containing the
address 0)
2003-12-29 11:13:53 +00:00
Jonas Maebe
8953ed5494 * fixed tnotnode for < 32 bit quantities 2003-12-28 23:49:30 +00:00