Jonas Maebe
92ff07deaf
* several fixes by Pierre Pede (parts of his patch to mantis #12492 )
...
o fixed gprof under linux/i386
o fixed pic-compilation of the linux/i386 rtl
o initialisation of linux shared libraries is now possible with pic-code
git-svn-id: trunk@13703 -
2009-09-12 21:57:41 +00:00
michael
e8a375c774
* Patch from Henry Vermaak to fix EABI kernel API for arm.
...
git-svn-id: trunk@13563 -
2009-08-20 08:00:50 +00:00
marco
bafbe5a451
* socket ->fpsocket
...
git-svn-id: trunk@13505 -
2009-08-09 10:30:15 +00:00
Jonas Maebe
e246cac3ac
* regenerated using latest fpcmake
...
git-svn-id: trunk@13487 -
2009-08-02 18:40:14 +00:00
marco
b43b3c4564
* "external;" added to pthreads.inc as per #14179 .
...
git-svn-id: trunk@13437 -
2009-07-25 09:58:37 +00:00
florian
6dc51122e7
* fixes fpsigsuspend call at least on i386-linux
...
git-svn-id: trunk@13433 -
2009-07-24 16:30:32 +00:00
marco
7c52be9287
* moved a linux specific call to the implementation of system, where
...
it is used. General Unix units should not expose Linux-specific
functionality.
git-svn-id: trunk@13427 -
2009-07-23 11:35:18 +00:00
Jonas Maebe
53ad1bcabe
* fixed linux flock type by defining and using a kernel_off_t type
...
whose size depends on whether the run time environment is 32 or
64 bit (mantis #13647 )
+ added flock64 type for 32 bit systems (usable with special 64 bit
fcntl operations)
git-svn-id: trunk@13119 -
2009-05-09 19:47:59 +00:00
Jonas Maebe
f6d452c2c0
* remove the RTL's installed signal handlers at the end of the system
...
unit's initialization code in case we're in a library
+ implemented InquireSignal(), AbandonSignalHandler(), HookSignal() and
UnhookSignal() in the sysutils unit
* for Kylix compatibility, these routines support operating on
SIGINT and SIGQUIT as well, although they are not hooked by default
by FPC. The run time errors/exception codes for these signals are
resp. 217 and 233 (same as in Kylix; I changed ENoWideStringSupport
to 234).
* changed the BSD syscall version of fpsigaction to use pointer
rather than "var" arguments (compatible with other targets, and
required to be able to pass nil arguments inside the system unit)
-> together fixes mantis #12704
git-svn-id: trunk@13077 -
2009-05-02 09:40:44 +00:00
marco
9f3b8511ba
* fix for socketerror problems; x86_64 specific (NEED_SOCKETCALL).
...
internal_socketerror now set after calls, Mantis 13506
git-svn-id: trunk@13021 -
2009-04-19 21:02:28 +00:00
Jonas Maebe
1f6ec36064
* save/restore errno inside reenable_signal, because it can be called
...
from inside signal handlers
git-svn-id: trunk@12997 -
2009-04-04 09:59:41 +00:00
daniel
7084dd4192
* Apply patch written by Jonas in bug report 13362 to make the gpm
...
unit handle EINTR situations.
git-svn-id: trunk@12964 -
2009-03-23 22:20:56 +00:00
florian
4bc28de96f
* use different haltproc for arm-linux-eabi, this should be cleaned up by using also pascal units for the startup code for arm-linux
...
git-svn-id: trunk@12808 -
2009-02-27 15:20:20 +00:00
Jonas Maebe
d20080c3d6
* fixed order of parameter pushing to gmon_monstartup
...
git-svn-id: trunk@12778 -
2009-02-23 18:03:49 +00:00
Jonas Maebe
1a1fc1357d
* honour the specified stack size when creating new threads on unix
...
platforms + test (mantis #12942 )
git-svn-id: trunk@12527 -
2009-01-08 18:37:24 +00:00
Jonas Maebe
3216e8c7bc
* mark produced object files as "does not require executable stack" by
...
default for Linux (overridable using -WX switch) (mantis #11563 )
git-svn-id: trunk@12356 -
2008-12-12 16:26:25 +00:00
marco
8056591845
* marked domain field of Linux record with "platform" directive. under IFNDEF 2.2, do not merge
...
git-svn-id: trunk@12342 -
2008-12-11 17:42:36 +00:00
micha
aa38b10011
* attempt to fix powerpc64-linux sync_file_range compilation
...
git-svn-id: trunk@12274 -
2008-11-29 15:43:09 +00:00
micha
04d8ad3f17
* fix linux syscall numbers naming consistency #2 (overlooked some)
...
git-svn-id: trunk@12154 -
2008-11-17 21:48:02 +00:00
micha
176f545c3b
* fix linux syscall numbers naming consistency (fixes x86_64 unit linux build)
...
git-svn-id: trunk@12153 -
2008-11-17 21:46:34 +00:00
micha
4594758ae5
+ add poll support for unix
...
git-svn-id: trunk@12128 -
2008-11-16 17:05:47 +00:00
micha
923e5eff19
* fix lstat syscall for linux/powerpc64 (lstat64 is only for 32 bit platforms)
...
git-svn-id: trunk@12122 -
2008-11-16 14:22:36 +00:00
micha
1b418875b3
* fix typo
...
git-svn-id: trunk@12110 -
2008-11-15 20:49:18 +00:00
micha
28e614c237
* move fdatasync to linux unit
...
git-svn-id: trunk@12109 -
2008-11-15 20:44:44 +00:00
micha
2a1fc6723a
+ add fdatasync syscalls for linux
...
git-svn-id: trunk@12108 -
2008-11-15 17:04:27 +00:00
micha
d7e90f9e48
+ add splice and sync_file_range linux-only syscalls
...
git-svn-id: trunk@12107 -
2008-11-15 15:43:52 +00:00
micha
341cec908d
* update linux syscall numbers (merge powerpc64 to powerpc)
...
git-svn-id: trunk@12106 -
2008-11-15 15:42:12 +00:00
marco
e5db5e4aa8
* regened makefiles to propagate makefile versions
...
git-svn-id: trunk@11947 -
2008-10-22 17:32:15 +00:00
florian
10e0f0e387
* keep stack aligned at 8 byte boundary inside the startup code
...
git-svn-id: trunk@11934 -
2008-10-18 21:20:54 +00:00
florian
2cbdf2cd61
+ arm linux syscalls updated
...
git-svn-id: trunk@11930 -
2008-10-18 18:57:20 +00:00
florian
14a0ec4ea3
* made fptime based on usgettimeofday available
...
* moved defines selecting the right syscall from ossysc.inc to osdefs.inc
git-svn-id: trunk@11915 -
2008-10-18 13:50:55 +00:00
florian
037f95c451
* fixed syscall0 for arm eabi
...
git-svn-id: trunk@11914 -
2008-10-18 13:49:39 +00:00
florian
3b5699e488
* removed packed, the stat record should be c packed
...
* deprecated old fields as it is done on other architectures
git-svn-id: trunk@11912 -
2008-10-18 13:48:17 +00:00
florian
7c6e0a48e9
* arm-linux-eabi uses mmap2 and ugetrlimit
...
git-svn-id: trunk@11908 -
2008-10-17 19:00:58 +00:00
florian
17e7c221fd
* typo fixed
...
git-svn-id: trunk@11829 -
2008-09-27 12:37:30 +00:00
marco
aa4edaf074
* yet another fix for 10292, mea culpa. (identifiers were added for the wrong architecture)
...
git-svn-id: trunk@11826 -
2008-09-26 19:32:39 +00:00
marco
6cbe4131f1
* fix for 10292, baudrates for x86_64
...
git-svn-id: trunk@11819 -
2008-09-24 19:57:15 +00:00
ivost
69bd90996b
* added S_IRWXG and S_IRWXU constants to ostypes.inc of linux (defined in sys/stat.h)
...
git-svn-id: trunk@11797 -
2008-09-16 22:57:07 +00:00
florian
b178b08ba7
Merged revisions 11665-11738 via svnmerge from
...
http://svn.freepascal.org/svn/fpc/branches/unicodestring
........
r11665 | florian | 2008-08-30 13:30:17 +0200 (Sat, 30 Aug 2008) | 1 line
* continued to work on unicodestring type support
........
r11666 | florian | 2008-08-30 19:02:26 +0200 (Sat, 30 Aug 2008) | 2 lines
* expectloc for wide/ansi/unicode strings is LOC_CONSTANT or LOC_REGISTER now
........
r11667 | florian | 2008-08-30 20:42:37 +0200 (Sat, 30 Aug 2008) | 1 line
* more unicodestring stuff fixed, test results on win32 are already good
........
r11670 | florian | 2008-08-30 23:21:48 +0200 (Sat, 30 Aug 2008) | 2 lines
* first fixes for unix bootstrapping
........
r11683 | ivost | 2008-09-01 12:46:39 +0200 (Mon, 01 Sep 2008) | 2 lines
* fixed 64bit bug in iconvenc.pas
........
r11689 | florian | 2008-09-01 23:12:34 +0200 (Mon, 01 Sep 2008) | 1 line
* fixed several errors when building on unix
........
r11694 | florian | 2008-09-03 20:32:43 +0200 (Wed, 03 Sep 2008) | 1 line
* fixed unix compilation
........
r11695 | florian | 2008-09-03 21:01:04 +0200 (Wed, 03 Sep 2008) | 1 line
* bootstrapping fix
........
r11696 | florian | 2008-09-03 21:07:18 +0200 (Wed, 03 Sep 2008) | 1 line
* more bootstrapping fixed
........
r11698 | florian | 2008-09-03 22:47:54 +0200 (Wed, 03 Sep 2008) | 1 line
+ two missing compiler procs exported
........
r11701 | florian | 2008-09-04 16:42:34 +0200 (Thu, 04 Sep 2008) | 2 lines
+ lazarus project for the linux rtl
........
r11702 | florian | 2008-09-04 16:43:27 +0200 (Thu, 04 Sep 2008) | 2 lines
+ set unicode string procedures
........
r11707 | florian | 2008-09-04 23:23:02 +0200 (Thu, 04 Sep 2008) | 2 lines
* fixed several type casting stuff
........
r11712 | florian | 2008-09-05 22:46:03 +0200 (Fri, 05 Sep 2008) | 1 line
* fixed unicodestring compilation on windows after recent unix changes
........
r11713 | florian | 2008-09-05 23:35:12 +0200 (Fri, 05 Sep 2008) | 1 line
+ UnicodeString support for Variants
........
r11715 | florian | 2008-09-06 20:59:54 +0200 (Sat, 06 Sep 2008) | 1 line
* patch by Martin Schreiber for UnicodeString streaming
........
r11716 | florian | 2008-09-06 22:22:55 +0200 (Sat, 06 Sep 2008) | 2 lines
* fixed test
........
r11717 | florian | 2008-09-07 10:25:51 +0200 (Sun, 07 Sep 2008) | 1 line
* fixed typo when converting tunicodestring to punicodechar
........
r11718 | florian | 2008-09-07 11:29:52 +0200 (Sun, 07 Sep 2008) | 3 lines
* fixed writing of UnicodeString properties
* moved some helper routines to unicode headers
........
r11734 | florian | 2008-09-09 22:38:55 +0200 (Tue, 09 Sep 2008) | 1 line
* fixed bootstrapping
........
r11735 | florian | 2008-09-10 11:25:28 +0200 (Wed, 10 Sep 2008) | 2 lines
* first fixes for persisten unicodestrings
........
r11736 | florian | 2008-09-10 14:31:00 +0200 (Wed, 10 Sep 2008) | 3 lines
Initialized merge tracking via "svnmerge" with revisions "1-11663" from
http://svn.freepascal.org/svn/fpc/trunk
........
r11737 | florian | 2008-09-10 21:06:57 +0200 (Wed, 10 Sep 2008) | 3 lines
* fixed unicodestring <-> variant handling
* fixed unicodestring property reading
........
git-svn-id: trunk@11739 -
2008-09-10 20:14:31 +00:00
Jonas Maebe
7aee2f3d71
* moved fplstat(ansistring,pstat) overload to bunxovl(h).inc, so all
...
platforms have (fixes compilation for FPC_USE_LIBC platforms after
r11681)
git-svn-id: trunk@11693 -
2008-09-02 10:14:45 +00:00
marco
e6410f45c1
* disable iochecking when opening terminal (to avoid RTE of #11376 ).
...
This is damage control. The prime problem (text after pid) as described in
that bugrepo still has to be fixed.
git-svn-id: trunk@11462 -
2008-07-26 10:48:36 +00:00
Jonas Maebe
1251ec996b
- removed $(SYSTEMUNIT)$(PPUEXT) from the macpas unit dependencies
...
(that variable is not defined for all targets and is not necessary
anymore either)
* fixed building of win32/win64 (different because of the buildrtl unit)
git-svn-id: trunk@11419 -
2008-07-20 13:05:03 +00:00
Jonas Maebe
f22c6870d5
* use math.SetExceptionMask() to disable floating point exceptions
...
in the macpas initialisation code (mantis #11516 )
git-svn-id: trunk@11415 -
2008-07-20 09:07:50 +00:00
florian
5ff2312993
* fixed x86 unit for x86-64
...
* enabled ports again for x86_64-linux
git-svn-id: trunk@11360 -
2008-07-10 19:52:14 +00:00
florian
85c46e72cc
* reverted previous commit because it turned out when testing on x86-64, that unit x86 requires a deep overhaul
...
git-svn-id: trunk@11359 -
2008-07-10 19:28:12 +00:00
florian
9c7b0c7693
* enabled ports unit for x86_64-linux
...
git-svn-id: trunk@11358 -
2008-07-10 19:22:21 +00:00
Jonas Maebe
9d8bee1887
* regenerated with changes in r11233
...
git-svn-id: trunk@11234 -
2008-06-15 15:52:25 +00:00
Almindor
cb5d95a43d
* properly fix the statfs for both 32 and 64bit linux
...
git-svn-id: trunk@11224 -
2008-06-14 11:01:02 +00:00
michael
dd75625d8d
* Fixed size in StatFS for 64 bit
...
git-svn-id: trunk@11222 -
2008-06-14 10:28:37 +00:00
yury
9ef6e6bc24
* Fixed comments for EABI syscalls.
...
git-svn-id: trunk@11200 -
2008-06-05 07:47:45 +00:00