marco
7f8a9bcf6e
* serial to rtl-extra
...
git-svn-id: trunk@27350 -
2014-03-29 20:06:36 +00:00
marco
c465d3d64a
* moving 4 cp9* units. These are 16-bit and big.
...
git-svn-id: trunk@27349 -
2014-03-29 19:43:13 +00:00
marco
ed3a49372d
* strutils moved to packages/rtl-objpas
...
git-svn-id: trunk@27339 -
2014-03-29 17:51:44 +00:00
marco
c376210946
* regenned makefiles which were regennerated with a 2.6.x fpcmake in the rtl-unicode transition
...
Mantis #25897
git-svn-id: trunk@27231 -
2014-03-22 20:11:13 +00:00
marco
a1351db576
* rtl-unicode package, containing unicodeducet, collation units and *bidi* units
...
git-svn-id: trunk@27207 -
2014-03-20 18:28:38 +00:00
sergei
cfd2600b24
- Don't include softfpu code on SPARC, unless bootstrapping with 2.6.
...
- Atari is never compiled on SPARC or MIPS (and even it does one day, softfpu is not needed).
git-svn-id: trunk@27203 -
2014-03-20 17:20:58 +00:00
sergei
7ba4e67564
* Fixed Linux FPU exception mapping for x86_64 and MIPS, might be still incomplete, but at least operations yielding NaNs no longer produce EAccessViolation.
...
git-svn-id: trunk@27194 -
2014-03-20 01:59:06 +00:00
sergei
9801288cdc
* Removed SysInitFPU/SysResetFPU from (remaining) system units 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: trunk@27171 -
2014-03-17 10:53:52 +00:00
sergei
3a55c4301e
* Since StackTop=StackBottom+StackLength, any two variables are sufficient 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: trunk@27119 -
2014-03-12 19:48:03 +00:00
marco
2d9aa35d22
* now also stdconv and convutils removed from Makefile.fpc
...
git-svn-id: trunk@26916 -
2014-03-01 21:07:36 +00:00
marco
48e4555c12
* Removed some redundant rules
...
git-svn-id: trunk@26915 -
2014-03-01 21:06:16 +00:00
svenbarth
e734ca7a9b
M68k: Fix passing of environment variables. Fixes the compiler not being 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: trunk@26851 -
2014-02-23 12:41:05 +00:00
Károly Balogh
c6d60979d2
set errno after syscalls. this fixes tiorte test at least. this code ideally should be in assembly, but it seems the assembler reader needs some fixing first...
...
git-svn-id: trunk@26828 -
2014-02-22 05:30:04 +00:00
svenbarth
1e48c7c930
Now that spilling correctly works on m68k we definitely need to 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: trunk@26804 -
2014-02-16 21:21:40 +00:00
sergei
ead8d0c1d4
* Clean up i386-Linux startup code for shared libraries:
...
* 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: trunk@26759 -
2014-02-13 04:54:21 +00:00
sergei
83fda1e6a9
* Frame size on MIPS must be divisible by 8, thanks to Vsevolod Alekseyev for spotting this.
...
git-svn-id: trunk@26734 -
2014-02-08 21:06:30 +00:00
yury
73c26bd6be
* mipsel-android: Regenerated makefiles. From now the mipsel-android target can be built and used.
...
git-svn-id: trunk@26705 -
2014-02-07 12:37:17 +00:00
Tomas Hajny
be6fdf21ce
+ character sets for central Europe added also to Makefiles as implicit units
...
git-svn-id: trunk@26527 -
2014-01-20 00:23:36 +00:00
marco
f09374a197
* winsock(and -2), sockets and gpm to rtl-extra.
...
git-svn-id: trunk@26426 -
2014-01-11 19:45:37 +00:00
marco
dea2c743d5
* Initial active version of
...
rtl-extra : objects matrix ucomplex
rtl-objpas: convutil(s) dateutil(s) stdconvs variants varutils
git-svn-id: trunk@26398 -
2014-01-05 19:20:15 +00:00
paul
14a34239cc
rtl: add cp856 to makefiles
...
git-svn-id: trunk@26387 -
2014-01-05 06:03:28 +00:00
marco
a001e12d04
* rtl-console initial version.
...
git-svn-id: trunk@26372 -
2014-01-03 22:19:02 +00:00
marco
ebe262762a
* Clean out of $i textrec and filerec includes that are redundant now that cpstrrtl exposes
...
those records via system.
git-svn-id: trunk@26356 -
2014-01-02 13:26:09 +00:00
sergei
62a5ba14a3
+ SPARC: support finalization routine supplied by dynamic linker.
...
+ Added "stack not executable" marker.
git-svn-id: trunk@26287 -
2013-12-26 09:09:23 +00:00
sergei
16156cbcd7
- SPARC RTL: removed assembler PIC/threadvar hacks.
...
git-svn-id: trunk@26260 -
2013-12-22 13:42:53 +00:00
marco
a8671e550e
* fix FPC_USE_LIBC for inotify and clock* functions, and always link librt 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: trunk@26199 -
2013-12-08 20:23:09 +00:00
marco
e93413fae7
* Initial FPC_USE_LIBC implementation of termios for Linux.
...
* Removed VER2_0 defines.
git-svn-id: trunk@26189 -
2013-12-06 15:00:55 +00:00
Jonas Maebe
5b58162d6b
* increased the size of tdirent to
...
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: trunk@26150 -
2013-11-27 22:57:17 +00:00
sergei
ca445577ff
- Linux RTL: MIPS no longer needs the softfloat code, don't compile it.
...
git-svn-id: trunk@25882 -
2013-10-30 12:25:11 +00:00
nickysn
714ca3a61d
* fixed the stack traces under linux (StackTop wasn't initialized)
...
git-svn-id: trunk@25861 -
2013-10-27 12:37:32 +00:00
sergei
a3364a4b80
- RTL, Linux/FreeBSD shared library startup: removed FPC_SHARED_LIB_EXIT label, it is a leftover from times when library startup code was erroneously halting owning process on exit.
...
git-svn-id: trunk@25737 -
2013-10-10 13:14:56 +00:00
nickysn
1bea98995b
* regenerated fpcmake makefiles after r25642
...
git-svn-id: trunk@25644 -
2013-10-05 10:11:27 +00:00
Jonas Maebe
de56f909d5
* synchronized with trunk up to and including r25430
...
git-svn-id: branches/cpstrrtl@25431 -
2013-09-06 10:09:26 +00:00
florian
7df123aa1e
* insert it statements for arm thumb2 in syscall assembler procedures
...
git-svn-id: trunk@25342 -
2013-08-23 15:22:38 +00:00
Jonas Maebe
29132f45b7
* synchronised with trunk up to r25167 (fixes glib compilation via r25164,
...
and occasional crashes in executeprocess on libc platforms via r25167)
git-svn-id: branches/cpstrrtl@25169 -
2013-07-24 14:24:49 +00:00
Jonas Maebe
da7a67bc74
+ FPCRTL_FILESYSTEM_SINGLE_BYTE_API define that is set for targets where we
...
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: branches/cpstrrtl@24991 -
2013-06-27 21:37:39 +00:00
Jonas Maebe
81597bf171
* updated address of FSF (mantis #24646 , patch by Alexey Svistunov)
...
git-svn-id: trunk@24986 -
2013-06-27 14:01:18 +00:00
Jonas Maebe
ecd3cba02b
* synchronised with trunk up to r24912
...
o resolved conflict in updated morphos sysutils unit
o moved code that had been added to the now deleted sysunix.inc to the
unix-specific block of the fpwidestring unit's init code
git-svn-id: branches/cpstrrtl@24913 -
2013-06-17 20:50:02 +00:00
Jonas Maebe
78f94ab035
* made calls to seterrno position-independent
...
git-svn-id: trunk@24640 -
2013-05-30 12:23:50 +00:00
pierre
78a7043352
Regenerate all Makefiles with an up-to-date fpcmake binary (dummy commit)
...
git-svn-id: trunk@24367 -
2013-04-29 12:30:54 +00:00
florian
3d7033d81e
* Makefiles regenerated
...
git-svn-id: trunk@24325 -
2013-04-25 20:25:57 +00:00
paul
a592e77f35
rtl: add missing windows codepages (mantis #0024294 )
...
git-svn-id: trunk@24295 -
2013-04-22 01:48:12 +00:00
florian
308fb42f4b
* fix parameter handling in FPC_SYSCALL4 to FPC_SYSCALL6
...
git-svn-id: trunk@24193 -
2013-04-07 21:01:01 +00:00
florian
a86531c225
* load exit code in _haltproc for thumb
...
git-svn-id: trunk@24191 -
2013-04-07 21:00:54 +00:00
florian
5ee9fe75e9
* unicodenumtable is also an implicitly built unit
...
git-svn-id: trunk@24062 -
2013-03-29 18:48:59 +00:00
paul
d80f47a601
rtl: apply similar to r24022-r24026 changes made by Jonas to other targets
...
git-svn-id: trunk@24027 -
2013-03-28 02:37:17 +00:00
paul
8e0c211b9a
rtl: enable collations build for linux
...
git-svn-id: trunk@24020 -
2013-03-27 01:03:54 +00:00
florian
4328e8c7b8
* remove superfluous texts after endif
...
git-svn-id: trunk@23999 -
2013-03-25 17:55:17 +00:00
florian
a433d53117
+ linux syscalls for arm thumb
...
git-svn-id: trunk@23987 -
2013-03-24 21:39:34 +00:00
florian
9dc03c809e
+ in_edsp_test is only available if FPC_SYSTEM_FPC_MOVE is defined
...
git-svn-id: trunk@23985 -
2013-03-24 20:25:42 +00:00