| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
+ initialize __stkptr variable (was missing, causing any stack check to fail)
+ non-executable stack marker.
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28249 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
| |
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28189 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
|
|
| |
working state. Now a "hello world" program using libc can be linked and launched, but anything more complex needs another round of fixing the parameter passing code, in order to get the stack properly balanced.
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28181 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
| |
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28092 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
|
|
| |
This fixes some of the tests, webtbs/tw2494 is one of them.
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28089 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
| |
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27508 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
| |
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27415 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
|
|
| |
not tested yet) and added missing files.
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27414 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
| |
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27412 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
| |
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27376 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
|
|
|
| |
makefile cleanups.
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27373 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
| |
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27353 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
| |
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27351 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
| |
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27350 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
| |
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27349 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
| |
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27339 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
|
|
|
|
|
| |
rtl-unicode transition
Mantis #25897
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27231 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
|
|
| |
units
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27207 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
|
|
|
| |
- Atari is never compiled on SPARC or MIPS (and even it does one day, softfpu is not needed).
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27203 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
|
|
| |
incomplete, but at least operations yielding NaNs no longer produce EAccessViolation.
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27194 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
|
|
|
|
|
|
| |
initialization code. It is redundant there because it is called from fpc_cpuinit, or, in case of i386, from fpc_cpucodeinit.
* It fixes regression of tw16283b after r27169.
* BeOS, Haiku: added fpc_cpucodeinit to compensate for removal of SysInitFPU, it also enables use of CPU features like SSE.
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27171 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
|
|
|
|
|
|
| |
to describe stack, the third one is redundant.
* As a first part of cleanup, replaced StackTop with function returning StackBottom+StackLength.
* On Win32 and Win64, StackTop returns the stack base from TIB instead.
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27119 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
| |
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26916 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
| |
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26915 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
|
|
|
|
|
|
| |
able to execute the external assembler and linker.
* rtl/linux/m68k/prt0.as:
between the arguments and the environment variables is a NULL; keep this in mind when loading the address of the first environment variable.
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26851 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
|
|
| |
should be in assembly, but it seems the assembler reader needs some fixing first...
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26828 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
|
|
|
|
|
|
| |
store/restore the registers inside the FpSyscall functions. Fixes quite some tests.
* rtl/linux/m68k/syscall.inc:
Remove "assembler" modifier and instead use an inline asm block with an accurate list of modified registers so that the compiler correctly stores/restores them
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26804 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
|
|
|
|
|
|
| |
* The initialization code is a normal function called by runtime linker, stack layout at process startup is irrelevant.
* Stack pointer can be replaced by frame pointer, they are just a few bytes away.
* IsLibrary is set to true in fpc_libinitializeunits and therefore assigning it here is redundant.
* The exitcode is passed as argument to haltproc, so messing with PIC is not necessary.
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26759 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
|
|
| |
for spotting this.
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26734 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
|
|
| |
can be built and used.
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26705 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
| |
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26527 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
| |
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26426 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
|
|
|
|
|
| |
rtl-extra : objects matrix ucomplex
rtl-objpas: convutil(s) dateutil(s) stdconvs variants varutils
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26398 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
| |
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26387 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
| |
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26372 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
|
|
|
|
| |
cpstrrtl exposes
those records via system.
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26356 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
|
|
| |
+ Added "stack not executable" marker.
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26287 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
| |
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26260 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
|
|
|
|
|
| |
when this unit is used under FPC_USE_LIBC.
make all building failed otherwise because fppkg seems to import unit linux somewhere.
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26199 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
|
|
|
| |
* Removed VER2_0 defines.
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26189 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
|
|
|
|
|
|
|
| |
a) compensate for the fact that the kernel assumes it's a multiple of 8
bytes
b) reduce the number of system calls we have to perform when walking a
directory
(fixes mantis #24885 and probably also #20125 and #23732)
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26150 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
| |
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@25882 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
| |
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@25861 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
|
|
| |
label, it is a leftover from times when library startup code was erroneously halting owning process on exit.
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@25737 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|
|
|
| |
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@25644 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|\
| |
| |
| | |
git-svn-id: http://svn.freepascal.org/svn/fpc/branches/cpstrrtl@25431 3ad0048d-3df7-0310-abae-a5850022a9f2
|
| |
| |
| |
| | |
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@25342 3ad0048d-3df7-0310-abae-a5850022a9f2
|
|\ \
| |/
| |
| |
| |
| |
| | |
and occasional crashes in executeprocess on libc platforms via r25167)
git-svn-id: http://svn.freepascal.org/svn/fpc/branches/cpstrrtl@25169 3ad0048d-3df7-0310-abae-a5850022a9f2
|
| |
| |
| |
| | |
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@24986 3ad0048d-3df7-0310-abae-a5850022a9f2
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
use a single byte API for file system operations
+ FPCRTL_FILESYSTEM_TWO_BYTE_API define that is set for targets where we
use a single byte API for file system operations
o in principle, both can be set if both are supprted and implemented in
the RTL in order to minimise conversions depending on the scenario
git-svn-id: http://svn.freepascal.org/svn/fpc/branches/cpstrrtl@24991 3ad0048d-3df7-0310-abae-a5850022a9f2
|