Commit Graph

1251 Commits

Author SHA1 Message Date
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
florian
3df8e7ae7b * build fpintres earlier, so simple programs can be build while the rtl is still compiling
git-svn-id: trunk@11198 -
2008-06-04 18:20:58 +00:00
florian
3341418267 * fixed eabi syscalls: preserve non-volative registers
git-svn-id: trunk@11197 -
2008-06-04 18:18:08 +00:00
giulio
14d4f02fa0 * fixed fpc_zipinstall for go32v2 and the like
* makefiles regenerated

git-svn-id: trunk@11180 -
2008-06-03 14:01:09 +00:00
florian
72dd35a0d5 * set syscall base properly for eabi, submitted by Henry Vermaak
git-svn-id: trunk@11179 -
2008-06-03 13:29:16 +00:00
Almindor
a64bdeb9ef * add UDP and TCP setsockopt constants (linux)
git-svn-id: trunk@11144 -
2008-05-31 21:10:18 +00:00
michael
8b94b4b849 * Fixed file handle leak when creating GUIDs
git-svn-id: trunk@11121 -
2008-05-29 12:42:42 +00:00
michael
48bf280781 * Fixed file handle leak when creating GUIDs
git-svn-id: trunk@11120 -
2008-05-29 12:41:22 +00:00
Jonas Maebe
b6c43bad7d * regenerated for i386-Haiku and darwin cross compilation changes
git-svn-id: trunk@11073 -
2008-05-24 09:29:08 +00:00
Jonas Maebe
f00beea41c * fixed i386/linux rtl compilation and functionality when compiled
without regcall

git-svn-id: trunk@11024 -
2008-05-21 15:20:13 +00:00
micha
0b2f80a38b * regenerate Makefiles to get armeb-linux support globally (also arm-darwin, so it seems)
git-svn-id: trunk@10888 -
2008-05-05 18:46:55 +00:00
Jonas Maebe
57087da620 * return an empty string for paramstr(value>paramcount) (already correct
for other targets, mantis #11169)

git-svn-id: trunk@10704 -
2008-04-18 16:56:44 +00:00
Jonas Maebe
7901625134 * call finalization routine of dynamic linker before exiting (forgot to
commit earlier)

git-svn-id: trunk@10663 -
2008-04-14 12:00:48 +00:00
michael
fce221f9b4 * Added clocale.pp from Petr Kristan
git-svn-id: trunk@10620 -
2008-04-09 08:32:26 +00:00
micha
b0838b13d7 * add armeb target to compiler/Makefiles
git-svn-id: trunk@10552 -
2008-03-24 17:48:11 +00:00