AROS: some bugfixes for threading

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28684 3ad0048d-3df7-0310-abae-a5850022a9f2
amunits: syscallified bullet, colorwheel and zlib

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28685 3ad0048d-3df7-0310-abae-a5850022a9f2
PowerPC: in MorphOS syscalls the explicit paraloc size should always be OS_ADDR

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28686 3ad0048d-3df7-0310-abae-a5850022a9f2
 * remove construct with exception, mantis #26738, patch by Alexander.


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28687 3ad0048d-3df7-0310-abae-a5850022a9f2
* Set default CPU type to cpu_pic32mx and FPU type to fpu_soft when compiling for mipsel-embedded, patch from Michael Ring.


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28692 3ad0048d-3df7-0310-abae-a5850022a9f2
amicommon: basic common debug facilities, influenced by Debug/DebugLn of the AROS port

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28694 3ad0048d-3df7-0310-abae-a5850022a9f2
amicommon: removed the accidental leftovers of experiments for the last syscall fix for MorphOS

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28695 3ad0048d-3df7-0310-abae-a5850022a9f2
MorphOS: hooked the new debug stuff into the MorphOS RTL

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28696 3ad0048d-3df7-0310-abae-a5850022a9f2
+ ARM internal linker: very initial support for Thumb mode, helloworld-class programs compiled with "-Cparmv6m -CIthumb" can now run.


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28697 3ad0048d-3df7-0310-abae-a5850022a9f2
 * fix result:=func(result) instead of result:=func(s). Mantis #26746


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28698 3ad0048d-3df7-0310-abae-a5850022a9f2
  * don't free node before using its resultdef in an error message

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28699 3ad0048d-3df7-0310-abae-a5850022a9f2
+ implemented Mark and Release for the tiny heap



git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28700 3ad0048d-3df7-0310-abae-a5850022a9f2
amiga: reintroduced some of the exec debug functions, which were removed, but actually *DO* exist on classic Amiga and hooked the new SysDebug stuff into the Amiga RTL

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28701 3ad0048d-3df7-0310-abae-a5850022a9f2
* ARM: fixed detecting Thumb-style jump tables in insertpcrelativedata() after r28546.

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28702 3ad0048d-3df7-0310-abae-a5850022a9f2
AROS: hooked the new debug stuff into the AROS RTL, to be compatible with MorphOS and Amiga

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28703 3ad0048d-3df7-0310-abae-a5850022a9f2
Amiga: Video Unit ObtainBestPen instead of ObtainPen for low depth screens

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28704 3ad0048d-3df7-0310-abae-a5850022a9f2
Fix for Mantis #26749 .

pgenutil.pas, generate_specialization:
  * first check whether we can reuse the current specialization or another specialization and only /then/ retrieve the symtable to specialize to

+ added test


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28705 3ad0048d-3df7-0310-abae-a5850022a9f2