Commit Graph

9276 Commits

Author SHA1 Message Date
tom_at_work
949aa60805 * DWARF debug lineinfo reader
git-svn-id: trunk@5632 -
2006-12-17 23:11:25 +00:00
florian
fd2032dab2 + start of embedded rtl
+ feature support in the compiler

git-svn-id: trunk@5628 -
2006-12-17 18:40:36 +00:00
Jonas Maebe
991c7da136 * support inc(pointer) in TP mode with range/overflow checking on as well
git-svn-id: trunk@5605 -
2006-12-15 13:02:00 +00:00
Jonas Maebe
87e7e435bf * store parameters at the callee side with the required alignment
git-svn-id: trunk@5604 -
2006-12-15 10:37:26 +00:00
Jonas Maebe
26f81bfe08 * fixed arithmetic overflow when loading the recorddef of large
(> high(aint)/8 bytes) records from ppu files

git-svn-id: trunk@5595 -
2006-12-14 20:24:20 +00:00
Jonas Maebe
22a372f10b * fixed bug where derefs with an index 65535 were not read correctly
from ppu files

git-svn-id: trunk@5594 -
2006-12-14 20:21:05 +00:00
Legolas
96e1c482bc * compiler part of first Nintendo DS port
git-svn-id: trunk@5592 -
2006-12-14 17:32:16 +00:00
Jonas Maebe
89349c2f1a * fixed web bug #7963 (crash when trying to print the name of a procvar
with too few parameters specified)

git-svn-id: trunk@5591 -
2006-12-14 15:57:17 +00:00
Károly Balogh
f4b44b8a97 + unbroke m68k-amiga syscalls
git-svn-id: trunk@5586 -
2006-12-13 20:19:43 +00:00
Jonas Maebe
2f8c34a537 * findclose must always be called (also when findfirst didn't find
anything)

git-svn-id: trunk@5570 -
2006-12-11 15:55:21 +00:00
Jonas Maebe
32e06e7a7a * fixed memory leaks in ppc peephole optimizer
git-svn-id: trunk@5569 -
2006-12-11 15:53:30 +00:00
Jonas Maebe
1f3dffbd1c * added missing findclose in TCachedDirectory.Reload
git-svn-id: trunk@5568 -
2006-12-11 15:42:51 +00:00
Jonas Maebe
d4258ae636 * fixed memory leak in creation of darwin call stubs
git-svn-id: trunk@5567 -
2006-12-11 15:39:27 +00:00
florian
abcccc2f03 * memory leaking fixed
git-svn-id: trunk@5566 -
2006-12-11 12:23:52 +00:00
florian
6d2e5027b3 * preserve opsize
git-svn-id: trunk@5555 -
2006-12-07 20:42:59 +00:00
florian
84726ed76c * copy unique return value to address register on m68k
git-svn-id: trunk@5554 -
2006-12-07 20:10:00 +00:00
Jonas Maebe
72c7d5b6c0 * support ranges in case-options of variant records
git-svn-id: trunk@5553 -
2006-12-07 15:19:30 +00:00
pierre
9a90410081 * ttypeconvnode.simplify, avoid a memory leak
git-svn-id: trunk@5551 -
2006-12-07 13:06:31 +00:00
pierre
b486f926ce * taddnode.first_addstring, avoid memory leak if
left or right is an empty string.

git-svn-id: trunk@5550 -
2006-12-07 13:03:51 +00:00
pierre
f7da7486a3 * Avoid memory leak in TExportLibWin.preparelib
git-svn-id: trunk@5546 -
2006-12-05 22:51:04 +00:00
Károly Balogh
8c4f672954 + avoidin .sections in the generated asm file for m68k-amiga,
and m68k-linux, to fix old GNU AS. hope this change doesn't
    break the new one... (did i mention that GNU binutils suck?)

git-svn-id: trunk@5545 -
2006-12-05 19:20:43 +00:00
Károly Balogh
d6844efccc + fixed dbra errors
git-svn-id: trunk@5544 -
2006-12-05 19:03:20 +00:00
Legolas
086b4cf7ee * libc and libgcc linking enabled
git-svn-id: trunk@5542 -
2006-12-05 18:24:56 +00:00
Jonas Maebe
b957d59391 * don't override varregable for tabstractvarsyms loaded from a ppu when
setting their vardef (since the varregable was stored/loaded in the ppu
    and should be kept the same -- fixes webtbs/tw7817a.pp and tw7817b.pp
    when both compiled separately and with regvars)

git-svn-id: trunk@5540 -
2006-12-04 14:16:43 +00:00
Jonas Maebe
d7633e9dd0 * removed wrong comment from r5389 (no longer applicable since r5390)
git-svn-id: trunk@5539 -
2006-12-04 14:13:45 +00:00
Jonas Maebe
7c387c9f82 - removed double initialisation of local typed constants/initialised
variables (initialization code of inlined routines is stored/loaded
    from ppu as wel)

git-svn-id: trunk@5538 -
2006-12-04 14:10:10 +00:00
yury
c427fcf902 * fixed register to register conversion for ARM.
git-svn-id: trunk@5537 -
2006-12-03 22:01:33 +00:00
florian
4c2b412613 * x86_64-win64 returns structured types up to 8 bytes in rax
git-svn-id: trunk@5528 -
2006-12-02 15:36:32 +00:00
micha
d9c91a9663 fix TFPList.QuickSort duplicate in compiler cclasses (rtl is also broken)
git-svn-id: trunk@5525 -
2006-12-02 08:03:21 +00:00
Jonas Maebe
7588b4378c * fixed warnings about "uninitialized" initialized local variables
based on test for web bug #7285 (which was already fixed)

git-svn-id: trunk@5523 -
2006-12-01 20:47:28 +00:00
Jonas Maebe
9e60d6791d * show name of procedure/function called with too few parameters
git-svn-id: trunk@5522 -
2006-12-01 20:15:57 +00:00
Jonas Maebe
c963543c74 * fixed typo in comments
git-svn-id: trunk@5521 -
2006-12-01 19:40:31 +00:00
Jonas Maebe
85404fbe79 + support multiple gcc dirs depending on the target architecture for
Darwin (ppc, ppc64, i386, x86_64)

git-svn-id: trunk@5518 -
2006-12-01 18:54:06 +00:00
Jonas Maebe
05a07a7dd2 * better fix for previous revision
* also applied to x86 and m68k

git-svn-id: trunk@5512 -
2006-11-30 20:55:32 +00:00
Jonas Maebe
3c26e1c40b * fix subsetref/subsetreg support for int_to_real
git-svn-id: trunk@5511 -
2006-11-30 20:29:28 +00:00
peter
8e4e504cd8 * range error
git-svn-id: trunk@5509 -
2006-11-28 07:07:15 +00:00
florian
836dbad1b2 * bitpacked stuff fixed for x86-64
git-svn-id: trunk@5503 -
2006-11-26 21:57:34 +00:00
tom_at_work
3b6d5c3676 - cleanup, fixing of uninitialized variables, missing return values and unused variables
git-svn-id: trunk@5502 -
2006-11-26 21:54:23 +00:00
tom_at_work
7ab5fc7980 - cleanup, fixed range check error in cgcpu
git-svn-id: trunk@5501 -
2006-11-26 21:35:57 +00:00
Tomas Hajny
eb46534f92 * update by Ido Kanner - 3 messages were excluded from docs, fixed
git-svn-id: trunk@5498 -
2006-11-26 18:56:43 +00:00
Tomas Hajny
8966d54b4b * updates by Ido Kanner - errore.msg rev. 5473
git-svn-id: trunk@5497 -
2006-11-26 18:55:55 +00:00
Károly Balogh
119cdbb772 - fixed bra #.label assembler errors hopefully
git-svn-id: trunk@5492 -
2006-11-26 16:19:54 +00:00
yury
319d92fe9a * Release register of by value parameter after making its local copy. It fixes bug when local stack location is referenced using big (>4k) PC relative offset by ARM CPU. In this case temp register is needed and wrong temp register is allocated.
git-svn-id: trunk@5488 -
2006-11-26 14:42:17 +00:00
yury
2fd4be4637 * Additionally check procedure's para_stack_size before doing stackframe optimization. It handles the case when a parameter is passed partially in registers and partially in the stack.
git-svn-id: trunk@5486 -
2006-11-26 13:22:11 +00:00
yury
96bfb7ce97 * don't destroy both r11 and r13 when copying data.
git-svn-id: trunk@5485 -
2006-11-26 13:18:27 +00:00
yury
d4335749ec * reverted r5481. That order of instructions can be executed more effectively on newer ARM CPUs.
git-svn-id: trunk@5484 -
2006-11-26 11:42:29 +00:00
florian
01a20b25a2 * don't reuse registers
git-svn-id: trunk@5483 -
2006-11-26 11:11:14 +00:00
yury
35b1014207 * more usual order of instructions.
git-svn-id: trunk@5481 -
2006-11-26 10:06:12 +00:00
florian
d47dc38f2c * ignore PIC directive on windows and warn about it
git-svn-id: trunk@5479 -
2006-11-25 22:58:52 +00:00
florian
f8072062bc * update german error files by Karl-Michael Schindler
git-svn-id: trunk@5478 -
2006-11-25 21:49:13 +00:00