Permalink
Commits on Jan 11, 2019
  1. haiku: drop the old OpenElf32Beos function, and have a platform speci…

    chainq committed Jan 11, 2019
    …fic GetModuleByAddr, this fixes lineinfo on stacktraces (both i386-stabs and x86_64-dwarf2)
    
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40845 3ad0048d-3df7-0310-abae-a5850022a9f2
  2. haiku: pass SA_SIGINFO flag to the signal handler. This seems correct…

    chainq committed Jan 11, 2019
    … ucontext IP and BP register contents, for valid stacktraces on signals
    
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40844 3ad0048d-3df7-0310-abae-a5850022a9f2
  3. haiku: pass the stackpointer from the startup code. this adjust stack…

    chainq committed Jan 11, 2019
    …top to be closer to the actual stacktop, and fixes shallow stacktraces
    
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40843 3ad0048d-3df7-0310-abae-a5850022a9f2
Commits on Jan 10, 2019
  1. haiku: removed old i386 specific syscalls assembler code and no-libc …

    chainq committed Jan 10, 2019
    …startup code, copied from the BeOS port initially, and was never in use on Haiku. kept the libc-version of assembly startup code for now for reference.
    
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40831 3ad0048d-3df7-0310-abae-a5850022a9f2
  2. haiku: i386 build fix

    chainq committed Jan 10, 2019
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40830 3ad0048d-3df7-0310-abae-a5850022a9f2
  3. haiku: made signal handling properly support x86_64 as well, and sync…

    chainq committed Jan 10, 2019
    …'d SigContextRec and related structures with current Haiku code
    
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40829 3ad0048d-3df7-0310-abae-a5850022a9f2
  4. haiku: fix clib value in sysos.inc

    chainq committed Jan 10, 2019
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40828 3ad0048d-3df7-0310-abae-a5850022a9f2
  5. haiku: added cpu specific signal handler register contexts

    chainq committed Jan 10, 2019
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40827 3ad0048d-3df7-0310-abae-a5850022a9f2
  6. haiku: zapped the old bethreads unit. it's apparently just an ancient…

    chainq committed Jan 10, 2019
    … version of cthreads, and haiku seems to use cthreads itself since day one.
    
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40826 3ad0048d-3df7-0310-abae-a5850022a9f2
  7. haiku: copyright header for suuid.inc, minor cleanups, no functional …

    chainq committed Jan 10, 2019
    …change
    
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40825 3ad0048d-3df7-0310-abae-a5850022a9f2
  8. haiku: zapped syscalls support code, using the syscall interface dire…

    chainq committed Jan 10, 2019
    …ctly on Haiku is discouraged, and it was never really supported with FPC
    
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40824 3ad0048d-3df7-0310-abae-a5850022a9f2
  9. haiku: update baseunix unit, remove syscalls code, flock() and nanosl…

    chainq committed Jan 10, 2019
    …eep() is actually supported on Haiku for a long time now, so lets use it
    
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40823 3ad0048d-3df7-0310-abae-a5850022a9f2
  10. haiku: cleaned up the decade old leftovers from 1.x and early 2.x tim…

    chainq committed Jan 10, 2019
    …es from system unit, mainly old bits of heap management no longer in use, old defines and workarounds, also added a copyright header.
    
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40822 3ad0048d-3df7-0310-abae-a5850022a9f2
Commits on Jan 7, 2019
  1. haiku: add sighnd.inc for x86_64, the i386 version with minimal chang…

    chainq committed Jan 7, 2019
    …es, probably needs to be better adapted for 64bit
    
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40793 3ad0048d-3df7-0310-abae-a5850022a9f2
  2. haiku: cleanup of some interface definitions, verify structures again…

    chainq committed Jan 7, 2019
    …st the actual haiku code, so it should work both on 32bit and 64bit
    
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40792 3ad0048d-3df7-0310-abae-a5850022a9f2
  3. haiku: move i386 also to internal sysinit

    chainq committed Jan 7, 2019
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40791 3ad0048d-3df7-0310-abae-a5850022a9f2
Commits on Jan 6, 2019
  1. tarray15: the conditions added in r40779 should be or, instead of and…

    chainq committed Jan 6, 2019
    … (thanks Pierre)
    
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40784 3ad0048d-3df7-0310-abae-a5850022a9f2
  2. tarray15: no rodata support on a bunch of m68k platforms

    chainq committed Jan 6, 2019
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40779 3ad0048d-3df7-0310-abae-a5850022a9f2
Commits on Jan 4, 2019
  1. haiku: more fixes of base OS types for 64bit, the compiler itself wor…

    chainq committed Jan 4, 2019
    …ks natively now at least somewhat
    
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40764 3ad0048d-3df7-0310-abae-a5850022a9f2
  2. haiku: code cleanup, fixed off-by-one buffer size and removed 'packed…

    chainq committed Jan 4, 2019
    …' for the TAlternateSignalStack
    
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40763 3ad0048d-3df7-0310-abae-a5850022a9f2
  3. haiku: do not use a packed record to define the signal stack and siga…

    chainq committed Jan 4, 2019
    …ctionrec
    
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40762 3ad0048d-3df7-0310-abae-a5850022a9f2
  4. haiku: use some of the right ptypes for 64bit CPUs

    chainq committed Jan 4, 2019
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40761 3ad0048d-3df7-0310-abae-a5850022a9f2
  5. haiku: properly pass on the exitcode to the haltproc on x86_64

    chainq committed Jan 4, 2019
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40760 3ad0048d-3df7-0310-abae-a5850022a9f2
  6. haiku: Makefile.fpc update for x86_64 support

    chainq committed Jan 4, 2019
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40759 3ad0048d-3df7-0310-abae-a5850022a9f2
  7. haiku-x86_64: regenerated all Makefiles, take 2

    chainq committed Jan 4, 2019
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40758 3ad0048d-3df7-0310-abae-a5850022a9f2
  8. haiku-x86_64: regenerated all Makefiles

    chainq committed Jan 4, 2019
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40757 3ad0048d-3df7-0310-abae-a5850022a9f2
  9. haiku: linker support code for internal sysinit and make the x86_64 p…

    chainq committed Jan 4, 2019
    …ort use it
    
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40756 3ad0048d-3df7-0310-abae-a5850022a9f2
  10. haiku: enable usestime for x86_64 as well

    chainq committed Jan 4, 2019
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40755 3ad0048d-3df7-0310-abae-a5850022a9f2
  11. haiku: pascal sysinit code for haiku, will be needed for x86_64, nice…

    chainq committed Jan 4, 2019
    … to have for i386
    
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40754 3ad0048d-3df7-0310-abae-a5850022a9f2
  12. haiku-x86_64: add target to the compiler and ppudump, enable it in fp…

    chainq committed Jan 4, 2019
    …make and fpcmake
    
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40753 3ad0048d-3df7-0310-abae-a5850022a9f2
  13. tabs to spaces cleanup. no functional change

    chainq committed Jan 4, 2019
    git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@40752 3ad0048d-3df7-0310-abae-a5850022a9f2