Commit Graph

1349 Commits

Author SHA1 Message Date
daniel
9a8aa52cc5 + Add setcap/getcap
+ Restore clone

git-svn-id: trunk@8033 -
2007-07-12 22:02:11 +00:00
Almindor
279422cdde * add comment about stat.h source
git-svn-id: trunk@8022 -
2007-07-11 21:10:27 +00:00
tom_at_work
b62ede20d6 * fix stat record when compiling for ppc/linux using -dFPC_USE_LIBC
git-svn-id: trunk@8021 -
2007-07-11 21:05:23 +00:00
Almindor
b0fde4700f * fix the stupid pascal names in x86_64 linux stat
git-svn-id: trunk@8020 -
2007-07-11 21:02:34 +00:00
Almindor
5c1296e87b * preliminary x86_64 stat for FPC_USE_LIBC
git-svn-id: trunk@8019 -
2007-07-11 21:00:03 +00:00
Almindor
389ea20704 * fix FPC_USES_LIBC cycling, by fixing libc stat records (both 32 and 64 bit)
git-svn-id: trunk@8018 -
2007-07-11 20:55:09 +00:00
Almindor
f71c886752 * move the FUTEX down so uses doesn't get in the way
git-svn-id: trunk@7974 -
2007-07-07 09:23:18 +00:00
Almindor
5baca0cfd3 * fix IPC for FPC_USE_LIBS
* fix shmget to use size_t as per manpage
* directly use external, don't depend on ipccdecl.inc (may be removed if confirmed)

git-svn-id: trunk@7973 -
2007-07-07 09:13:23 +00:00
Almindor
1fa4e17c87 * make FUTEX_OP implemented also with FPC_USE_LIBC since it's a macro
git-svn-id: trunk@7972 -
2007-07-07 08:41:42 +00:00
marco
a123ec0d14 * More deprecated.
git-svn-id: trunk@7566 -
2007-06-03 18:55:36 +00:00
Jonas Maebe
f32621610f * fixed sse detection
git-svn-id: trunk@7554 -
2007-06-02 19:58:18 +00:00
florian
80d55022e9 * tried to fix SSE OS support detection
git-svn-id: trunk@7553 -
2007-06-02 19:26:06 +00:00
peter
9abb852d70 * fix incompatiblity in signess between 64 and 32, make tthreadid=ptruint
git-svn-id: trunk@7496 -
2007-05-28 14:25:59 +00:00
marco
eaaefc0f64 * deprecated here and there even though compiler doesn't seem to show
git-svn-id: trunk@7481 -
2007-05-26 13:56:21 +00:00
Jonas Maebe
cb23a80178 * fixed fpu rte code for invalid, inexact and "subscript out of range"
errors (216 -> 207) (same as for sparc/solaris in r7453)

git-svn-id: trunk@7477 -
2007-05-25 19:22:28 +00:00
Jonas Maebe
a2dbc4d272 * fixed multi-thread case of FPC_SYSCALL3 (all others were already correct)
git-svn-id: trunk@7476 -
2007-05-25 19:02:19 +00:00
Jonas Maebe
f8b40e90dc * exit -> exit_group to exit so unterminated threads are killed too
git-svn-id: trunk@7474 -
2007-05-25 17:48:24 +00:00
Jonas Maebe
cc03eacd2a * fixed program exitcode after change of operatingsystem_result from
word to longint

git-svn-id: trunk@7473 -
2007-05-25 13:07:23 +00:00
Jonas Maebe
e8423154ec * fixed Do_IsDevice for sparc (TCGETS constant; the entire termios.inc
also needs to be fixed for sparc)

git-svn-id: trunk@7461 -
2007-05-24 22:58:12 +00:00
Jonas Maebe
b9a97ae891 * another sparc/linux fix for stat (record must NOT be packed, or
variables of that type will not be aligned properly)

git-svn-id: trunk@7460 -
2007-05-24 22:50:33 +00:00
Jonas Maebe
3bc08cafae * -dFPC_USE_LIBC fix
git-svn-id: trunk@7363 -
2007-05-16 15:13:36 +00:00
marco
8991b8f365 * new socketerror scheme. OS/2 and netware are now broken and still must be done. (merge me and all previous socket related commits please)
git-svn-id: trunk@7327 -
2007-05-13 18:30:24 +00:00
marco
f74b832272 * socketerror for Unix now fpgeterrno.
git-svn-id: trunk@7304 -
2007-05-10 10:58:26 +00:00
marco
fd6f6cf7e9 * fix for 8801. mmap constants inconsistancy. Old constants are aliased for compat. non portable moved to OS specific units (merge)
git-svn-id: trunk@7265 -
2007-05-04 21:23:02 +00:00
mazen
0f73d54ac8 + Added ATT assmebler mode directive to override any default in fpc.cfg. Otherwise we need to override it in makefile.
git-svn-id: trunk@7258 -
2007-05-04 10:59:30 +00:00
florian
572608a64f * fixed ipc for 32 bit systems
git-svn-id: trunk@7073 -
2007-04-07 18:42:01 +00:00
florian
d90bc77a54 * fixed several type declarations
git-svn-id: trunk@7071 -
2007-04-07 18:23:03 +00:00
florian
0c889207ca * fixed ipc syscalls and data structures for x86-64, resolves #8616
git-svn-id: trunk@7070 -
2007-04-07 18:00:05 +00:00
florian
d7da24aae2 * fixed another bloody stat record issue
git-svn-id: trunk@7060 -
2007-04-05 09:38:06 +00:00
florian
2894267806 * fixed profiler startup code to link again, resolves #8551
git-svn-id: trunk@7053 -
2007-04-01 16:20:01 +00:00
florian
edebd84426 * fixed arm compilation
git-svn-id: trunk@6993 -
2007-03-25 10:57:17 +00:00
Almindor
c626740043 * adds support for sysenter syscall style for i386 on 2.6 kernels
git-svn-id: trunk@6992 -
2007-03-25 10:06:23 +00:00
michael
3399c88af7 * More typo fixes
git-svn-id: trunk@6981 -
2007-03-24 21:35:08 +00:00
michael
c8ea0b0344 * Fixed compilation
git-svn-id: trunk@6978 -
2007-03-24 21:28:49 +00:00
Jonas Maebe
673d02c6b8 * re-added darwin/ppc64 support (please use up-to-date fpcmake)
git-svn-id: trunk@6973 -
2007-03-24 17:26:10 +00:00
mazen
57696aa274 * Build unixutil package for all Linux platforms instead of only Linux/i386.
git-svn-id: trunk@6972 -
2007-03-24 14:06:30 +00:00
daniel
82b973937d * Change padding to 2 bytes.
git-svn-id: trunk@6968 -
2007-03-24 07:56:39 +00:00
daniel
3a7266a462 * Handle FPC_USE_LIBC case for Sparc too.
git-svn-id: trunk@6967 -
2007-03-23 23:30:18 +00:00
daniel
084a78fdd3 * Make sparc/linux stat structure backward compatible too.
git-svn-id: trunk@6966 -
2007-03-23 23:24:12 +00:00
daniel
ae15527637 * Make ARM stat structure backwards compatible too.
git-svn-id: trunk@6965 -
2007-03-23 23:10:09 +00:00
daniel
d030103742 + Restore "stat" data structure in backward compatible state
git-svn-id: trunk@6963 -
2007-03-23 22:23:24 +00:00
daniel
59a972ec9c * Change dd_nextoff to cardinal to prevent upscaling of calculations to 64-bit.
git-svn-id: trunk@6962 -
2007-03-23 15:53:04 +00:00
daniel
5da5440e12 * Ptrint considered harmfull bug no 54689826, change to ptruint.
git-svn-id: trunk@6961 -
2007-03-23 15:38:28 +00:00
ivost
de36c38282 * fixed bug in linux.pp / user_desc record
git-svn-id: trunk@6949 -
2007-03-21 20:56:57 +00:00
ivost
e7fb4e6a32 * changed i386 syscall from oldfpccall to register calling convention
git-svn-id: trunk@6776 -
2007-03-10 18:09:13 +00:00
ivost
faf3b065f8 * updated TLS segmentdescriptor definiton (record user_desc)
git-svn-id: trunk@6767 -
2007-03-09 22:23:42 +00:00
ivost
fc0f2f3de6 * disabled Clone syscall in linux.pp, it was completly wrong (I will replace it)
* added ldt record and constants to linux.pp

git-svn-id: trunk@6750 -
2007-03-08 21:40:59 +00:00
Jonas Maebe
c13ff3729b * Merged 2.3 branch changes:
+ darwin/ppc64 support
    + val/str/read(ln)/write(ln) support for enums
    + simple cse at the node tree level
    + if-node simplify support
    + simple ssa support for memory locations
    + support for optional overflow/rangecheck boolean parameters for
      operators
    * a lot of unification of the ppc32/ppc64 code generators


........
r6380 | jonas | 2007-02-08 21:25:36 +0100 (Thu, 08 Feb 2007) | 4 lines
Changed paths:
   M /branches/fpc_2_3/compiler/ncgld.pas
   M /branches/fpc_2_3/compiler/tgobj.pas
   A /branches/fpc_2_3/tests/webtbs/tw8283.pp

  + support for replacing the memory location of a temp (including
    local variables) with that of another temp to avoid unnecessary
    copies (mantis #8283)

........
r6381 | jonas | 2007-02-08 22:53:36 +0100 (Thu, 08 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/nflw.pas
   A /branches/fpc_2_3/tests/webtbs/tw8282.pp

  + simplify support for ifn (based on patch by Florian)

........
r6386 | peter | 2007-02-09 13:48:53 +0100 (Fri, 09 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/htypechk.pas
   M /branches/fpc_2_3/compiler/ncal.pas
   M /branches/fpc_2_3/compiler/symconst.pas

  * overflow,rangecheck optional parameters for operators, patch from 8281

........
r6391 | jonas | 2007-02-09 23:52:13 +0100 (Fri, 09 Feb 2007) | 4 lines
Changed paths:
   M /branches/fpc_2_3/compiler/powerpc/agppcgas.pas
   M /branches/fpc_2_3/compiler/powerpc64/cpunode.pas
   D /branches/fpc_2_3/compiler/powerpc64/nppcinl.pas
   M /branches/fpc_2_3/compiler/ppcgen/ngppcinl.pas

  * merged fsqrt(s) support to common powerpc unit, activate for ppc32
    if -Op970 is used (still default for ppc64, since default cpu there
    is already ppc970)

........
r6394 | jonas | 2007-02-10 18:58:47 +0100 (Sat, 10 Feb 2007) | 4 lines
Changed paths:
   M /branches/fpc_2_3/compiler/powerpc/cgcpu.pas
   M /branches/fpc_2_3/compiler/powerpc64/cgcpu.pas
   M /branches/fpc_2_3/compiler/ppcgen/cgppc.pas

  * adapted a_jmp_name for darwin/ppc64
  * merged g_intf_wrapper for ppc32 and ppc64, and added darwin/ppc64
    support to it

........
r6396 | jonas | 2007-02-10 20:16:06 +0100 (Sat, 10 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/cgobj.pas

  + darwin/ppc64 support for g_indirect_sym_load

........
r6397 | jonas | 2007-02-10 20:22:49 +0100 (Sat, 10 Feb 2007) | 4 lines
Changed paths:
   M /branches/fpc_2_3/compiler/powerpc/cgcpu.pas
   M /branches/fpc_2_3/compiler/powerpc64/cgcpu.pas
   M /branches/fpc_2_3/compiler/ppcgen/cgppc.pas

  + darwin/ppc64 support to ppc64's fixref
  * moved ppc32 a_load_store to cgppc and use it for darwin/ppc64 as
    well (its relocatable symbols are only 32 bits large)

........
r6399 | jonas | 2007-02-10 22:02:37 +0100 (Sat, 10 Feb 2007) | 4 lines
Changed paths:
   M /branches/fpc_2_3/compiler/systems.pas

  + system_x86_64_darwin identifier
  + set default source system for system_x86_64_darwin and
    system_powerpc64_darwin

........
r6404 | jonas | 2007-02-10 23:01:23 +0100 (Sat, 10 Feb 2007) | 5 lines
Changed paths:
   M /branches/fpc_2_3/compiler/aasmdata.pas
   M /branches/fpc_2_3/compiler/aggas.pas
   M /branches/fpc_2_3/compiler/cgobj.pas
   M /branches/fpc_2_3/compiler/cgutils.pas
   M /branches/fpc_2_3/compiler/cresstr.pas
   M /branches/fpc_2_3/compiler/dbgdwarf.pas
   M /branches/fpc_2_3/compiler/dbgstabs.pas
   M /branches/fpc_2_3/compiler/ncgutil.pas
   M /branches/fpc_2_3/compiler/ogelf.pas
   M /branches/fpc_2_3/compiler/pdecvar.pas
   M /branches/fpc_2_3/compiler/pmodules.pas
   M /branches/fpc_2_3/compiler/symdef.pas
   M /branches/fpc_2_3/compiler/systems.pas

  + system_x86_64_darwin identifier
  + systems_darwin set which collects all darwin variants
  + added support for darwin/ppc64 and darwin/x86_64 where needed in
    the generic code

........
r6406 | jonas | 2007-02-10 23:24:32 +0100 (Sat, 10 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/cgobj.pas

  * ifdef cpu64 -> ifdef cpu64bit

........
r6409 | jonas | 2007-02-11 00:34:04 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/pdecvar.pas

  * fixed ppc64 compilation

........
r6413 | jonas | 2007-02-11 12:41:27 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/rtl/bsd/system.pp
   M /branches/fpc_2_3/rtl/darwin/powerpc/sig_cpu.inc
   M /branches/fpc_2_3/rtl/darwin/signal.inc

  + darwin/ppc64 support for signal routines

........
r6415 | jonas | 2007-02-11 13:54:53 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/systems/i_linux.pas

  * set abi of linux/ppc64 to abi_powerpc_sysv

........
r6416 | jonas | 2007-02-11 13:55:51 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/powerpc64/cputarg.pas
   M /branches/fpc_2_3/compiler/systems/i_bsd.pas
   M /branches/fpc_2_3/compiler/systems/t_bsd.pas

  + darwin/ppc64 source and target information

........
r6418 | jonas | 2007-02-11 14:19:55 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/rtl/powerpc64/math.inc

  * darwin/ppc64 compilation fixes

........
r6419 | jonas | 2007-02-11 14:22:22 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/powerpc/cgcpu.pas
   M /branches/fpc_2_3/compiler/powerpc64/cgcpu.pas
   M /branches/fpc_2_3/compiler/ppcgen/cgppc.pas

  * darwin/ppc64 needs the 32 bit version of a_loadaddr_ref_reg

........
r6420 | jonas | 2007-02-11 14:22:55 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/utils/fpcm/fpcmmain.pp

  + darwin/ppc64 support

........
r6426 | jonas | 2007-02-11 16:13:19 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/powerpc64/rappcgas.pas

  * fixed refaddr parsing for darwin/ppc64

........
r6427 | jonas | 2007-02-11 16:14:21 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/powerpc/agppcgas.pas
   M /branches/fpc_2_3/compiler/powerpc64/agppcgas.pas
   A /branches/fpc_2_3/compiler/ppcgen/agppcutl.pas

  * moved ppc32/ppc64 assembler writer helpers to a common unit

........
r6430 | jonas | 2007-02-11 17:53:23 +0100 (Sun, 11 Feb 2007) | 4 lines
Changed paths:
   D /branches/fpc_2_3/rtl/darwin/powerpc/sig_cpu.inc
   D /branches/fpc_2_3/rtl/darwin/powerpc/sighnd.inc
   A /branches/fpc_2_3/rtl/darwin/powerpc64
   A /branches/fpc_2_3/rtl/darwin/powerpc64/sig_cpu.inc
   A /branches/fpc_2_3/rtl/darwin/powerpc64/sighnd.inc
   A /branches/fpc_2_3/rtl/darwin/ppcgen
   A /branches/fpc_2_3/rtl/darwin/ppcgen/ppchnd.inc (from /branches/fpc_2_3/rtl/darwin/powerpc/sighnd.inc:6422)
   A /branches/fpc_2_3/rtl/darwin/ppcgen/sig_ppc.inc (from /branches/fpc_2_3/rtl/darwin/powerpc/sig_cpu.inc:6422)
   M /branches/fpc_2_3/rtl/darwin/signal.inc

  * fixed ppc/ppc64 signal include handling (both real files are in
    ppcgen, dummies in powerpc and powerpc64 which include those files)
    (1st step because pre-commit filter can't handle replaced files)

........
r6431 | jonas | 2007-02-11 17:53:47 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   A /branches/fpc_2_3/rtl/darwin/powerpc/sig_cpu.inc
   A /branches/fpc_2_3/rtl/darwin/powerpc/sighnd.inc

  * second step of signal include patch

........
r6432 | jonas | 2007-02-11 19:00:12 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/systems/t_bsd.pas

  * changed darwin checks to use systems_darwin constant

........
r6433 | jonas | 2007-02-11 19:05:38 +0100 (Sun, 11 Feb 2007) | 3 lines
Changed paths:
   M /branches/fpc_2_3/compiler/powerpc64/cgcpu.pas

  * handle non-multiple-of-4 offsets with 64 bit loads/stores for
    darwin/ppc64

........
r6434 | jonas | 2007-02-11 19:05:56 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   D /branches/fpc_2_3/compiler/powerpc/agppcgas.pas
   D /branches/fpc_2_3/compiler/powerpc64/agppcgas.pas
   A /branches/fpc_2_3/compiler/ppcgen/agppcgas.pas (from /branches/fpc_2_3/compiler/ppcgen/agppcutl.pas:6427)
   D /branches/fpc_2_3/compiler/ppcgen/agppcutl.pas

  * completely merged ppc assembler writers

........
r6435 | jonas | 2007-02-11 19:06:40 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/rtl/darwin/console.pp
   M /branches/fpc_2_3/rtl/darwin/termiosproc.inc

  * fixed 64 bit compilation

........
r6436 | jonas | 2007-02-11 19:09:28 +0100 (Sun, 11 Feb 2007) | 3 lines
Changed paths:
   M /branches/fpc_2_3/packages/extra/Makefile.fpc

  * universal interfaces aren't 64 bit ready yet -> only compile for
    darwin/ppc and darwin/i386

........
r6438 | jonas | 2007-02-11 19:22:34 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   A /branches/fpc_2_3/tests/test/cg/obj/darwin/powerpc64
   A /branches/fpc_2_3/tests/test/cg/obj/darwin/powerpc64/ctest.o
   A /branches/fpc_2_3/tests/test/cg/obj/darwin/powerpc64/tcext3.o
   A /branches/fpc_2_3/tests/test/cg/obj/darwin/powerpc64/tcext4.o
   A /branches/fpc_2_3/tests/test/cg/obj/darwin/powerpc64/tcext5.o

  + compiled for darwin/ppc64

........
r6439 | jonas | 2007-02-11 20:24:42 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/ppcgen/cgppc.pas

  * patch from Thomas to fix linux/ppc64

........
r6440 | jonas | 2007-02-11 20:25:15 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/systems.pas

  * fixed setting source OS for darwin/ppc64

........
r6444 | florian | 2007-02-11 22:24:20 +0100 (Sun, 11 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/globtype.pas
   M /branches/fpc_2_3/compiler/nopt.pas
   M /branches/fpc_2_3/compiler/nutils.pas
   M /branches/fpc_2_3/compiler/optcse.pas
   M /branches/fpc_2_3/compiler/psub.pas

+ first node cse implementation

........
r6445 | jonas | 2007-02-11 22:30:07 +0100 (Sun, 11 Feb 2007) | 6 lines
Changed paths:
   M /branches/fpc_2_3/compiler/cresstr.pas

  * hack to work around strange darwin/ppc64 linker bug: it seems to
    have problems if you put a global symbol at the end of a section
    without any data following (at least in case of the resource strings
    section) -> add dummy byte at the end for darwin/ppc64 (otherwise
    it messes up the address of the first symbol stub entry)

........
r6449 | jonas | 2007-02-11 23:23:44 +0100 (Sun, 11 Feb 2007) | 4 lines
Changed paths:
   M /branches/fpc_2_3/compiler/systems/i_bsd.pas

  * cpupowerpc is defined for both ppc32 and ppc64 ->
    changed to cpupowerpc32 to avoid defining source
    wrongly on ppc64

........
r6450 | jonas | 2007-02-11 23:26:34 +0100 (Sun, 11 Feb 2007) | 3 lines
Changed paths:
   M /branches/fpc_2_3/compiler/ppcgen/ngppcset.pas

  * disable jump tables for darwin/ppc64 for now, don't work
    yet for some reason

........
r6451 | florian | 2007-02-11 23:54:37 +0100 (Sun, 11 Feb 2007) | 3 lines
Changed paths:
   M /branches/fpc_2_3/compiler/ncal.pas
   M /branches/fpc_2_3/compiler/nutils.pas
   M /branches/fpc_2_3/compiler/optcse.pas

* improved cse
* better complexity calculation for subscript nodes with classes or interfaces

........
r6456 | jonas | 2007-02-12 19:33:22 +0100 (Mon, 12 Feb 2007) | 4 lines
Changed paths:
   M /branches/fpc_2_3/compiler/nutils.pas

  + support for notn,shln,shrn,equaln,unequaln,gtn,gten,ltn,lten in
    node_cplexity()
  * mark muln,divn,modn as more complex

........
r6469 | jonas | 2007-02-13 15:56:01 +0100 (Tue, 13 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/optcse.pas

  * fixed when cross-compiling a 64 bit compiler from a 32 bit platform

........
r6471 | jonas | 2007-02-13 16:17:16 +0100 (Tue, 13 Feb 2007) | 3 lines
Changed paths:
   M /branches/fpc_2_3/compiler/powerpc64/cputarg.pas

  * include stabs support (can work on darwin/ppc64, but doesn't work
    yet)

........
r6473 | jonas | 2007-02-13 16:45:48 +0100 (Tue, 13 Feb 2007) | 3 lines
Changed paths:
   M /branches/fpc_2_3/compiler/powerpc64/cgcpu.pas
   M /branches/fpc_2_3/compiler/powerpc64/cpupara.pas

  * R2 is a volatile and usable register under darwin/ppc64
  * R13 is a reserved non-volatile register under darwin/ppc64 (tls)

........
r6479 | jonas | 2007-02-13 20:40:50 +0100 (Tue, 13 Feb 2007) | 3 lines
Changed paths:
   M /branches/fpc_2_3/compiler/systems/i_bsd.pas

  * maxCrecordalign seems to have to be 8 rather 4, in spite of what
    the ABI docs say (although they are contradictory to some extent)

........
r6487 | jonas | 2007-02-14 15:57:40 +0100 (Wed, 14 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/tests/webtbs/tw8153a.pp

  * fixed for darwin/ppc64

........
r6488 | jonas | 2007-02-14 15:58:56 +0100 (Wed, 14 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/tests/webtbs/tw7851a.pp

  * fixed for darwin/ppc64

........
r6494 | jonas | 2007-02-15 19:36:55 +0100 (Thu, 15 Feb 2007) | 3 lines
Changed paths:
   M /branches/fpc_2_3/compiler/systems/i_bsd.pas

  * set default debug info for darwin/ppc64 to dwarf2 since
    it works better than stabs currently

........
r6500 | jonas | 2007-02-15 21:38:16 +0100 (Thu, 15 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/version.pas

  * updated version to 2.3.0

........
r6505 | jonas | 2007-02-15 22:39:28 +0100 (Thu, 15 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/version.pas

  * changed version to 2.3.1

........
r6511 | jonas | 2007-02-16 15:17:24 +0100 (Fri, 16 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/powerpc64/itcpugas.pas

  * system_powerpc_darwin -> system_powerpc64_darwin

........
r6546 | daniel | 2007-02-18 15:48:54 +0100 (Sun, 18 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/ncginl.pas
   M /branches/fpc_2_3/compiler/ncgld.pas
   M /branches/fpc_2_3/compiler/ncgrtti.pas
   M /branches/fpc_2_3/compiler/ncnv.pas
   M /branches/fpc_2_3/compiler/ninl.pas
   M /branches/fpc_2_3/compiler/nld.pas
   M /branches/fpc_2_3/compiler/nutils.pas
   M /branches/fpc_2_3/compiler/pinline.pas
   M /branches/fpc_2_3/rtl/inc/astrings.inc
   M /branches/fpc_2_3/rtl/inc/compproc.inc
   M /branches/fpc_2_3/rtl/inc/sstrings.inc
   M /branches/fpc_2_3/rtl/inc/text.inc
   M /branches/fpc_2_3/rtl/inc/wstrings.inc

  + Val/str/read/write support for enumeration types.

........
r6547 | daniel | 2007-02-18 17:01:20 +0100 (Sun, 18 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/rtl/inc/sstrings.inc

  * Fix val code that I broke.

........
r6571 | daniel | 2007-02-20 09:27:44 +0100 (Tue, 20 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/rtl/inc/astrings.inc
   M /branches/fpc_2_3/rtl/inc/sstrings.inc
   M /branches/fpc_2_3/rtl/inc/text.inc
   M /branches/fpc_2_3/rtl/inc/wstrings.inc

  * o2s -> ord2str, s2o -> str2ord

........
r6572 | daniel | 2007-02-20 09:33:30 +0100 (Tue, 20 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/ncgld.pas
   M /branches/fpc_2_3/compiler/ncgrtti.pas
   M /branches/fpc_2_3/compiler/ninl.pas
   M /branches/fpc_2_3/compiler/nld.pas

  * o2s -> ord2str, s2o -> str2ord

........
r6574 | daniel | 2007-02-20 12:07:58 +0100 (Tue, 20 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/rtl/inc/compproc.inc

  * o2s -> ord2str, s2o -> str2ord

........
r6578 | daniel | 2007-02-20 22:18:49 +0100 (Tue, 20 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/rtl/inc/text.inc

  * Change longint to valsint.

........
r6579 | daniel | 2007-02-20 22:29:09 +0100 (Tue, 20 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/ninl.pas

  * Handle ordinal currency types.

........
r6580 | jonas | 2007-02-20 22:29:11 +0100 (Tue, 20 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/ncgrtti.pas

  * fixed compilation for cpurequiresproperalignment

........
r6581 | jonas | 2007-02-20 22:30:21 +0100 (Tue, 20 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/ninl.pas

  * fixed typo

........
r6582 | daniel | 2007-02-20 22:36:19 +0100 (Tue, 20 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/ninl.pas

  * Set is_real to true.

........
r6590 | jonas | 2007-02-21 20:23:54 +0100 (Wed, 21 Feb 2007) | 2 lines
Changed paths:
   M /branches/fpc_2_3/compiler/systems/i_bsd.pas

  * set tf_dwarf_only_local_labels for darwin/ppc64

git-svn-id: trunk@6720 -
2007-03-04 20:16:57 +00:00
Jonas Maebe
37487d682e * tv_sec field of timeval is time_t (just for form, the actual type
is the same as clong which was the previous type)

git-svn-id: trunk@6713 -
2007-03-04 18:46:50 +00:00
ivost
a67a85332d * added SA_RESETHAND and SA_NODEFER constants
* SA_ONESHOT and SA_NOMASK are the historical Linux names for the Single Unix names RESETHAND and NODEFER respectively.

git-svn-id: trunk@6708 -
2007-03-03 22:21:07 +00:00
ivost
240938a6ed * fixed syscall6 (still experimental, but so far it worked here!)
git-svn-id: trunk@6705 -
2007-03-03 21:38:20 +00:00
ivost
025b57815f * removed inline flag from FUTEX_OP in linux.pp
* added msync constants

git-svn-id: trunk@6691 -
2007-03-01 14:20:34 +00:00
ivost
79b02de351 * fixed type defintion putsname
git-svn-id: trunk@6688 -
2007-03-01 08:34:12 +00:00
ivost
9161a2967a * added futex constants to linux.pp (from futex.h)
git-svn-id: trunk@6687 -
2007-02-28 22:34:32 +00:00
ivost
1a7f06aa7d * added the new CLONE_* constants from syscall clone
git-svn-id: trunk@6686 -
2007-02-28 22:26:42 +00:00
micha
1a0a2c8adc * fix lstat for x86_64 linux syscall, has no 32 bit variant
git-svn-id: trunk@6625 -
2007-02-24 09:42:27 +00:00
micha
c771059cf9 * fix lstat 64 bit for linux syscall (patch from Lloyd Park)
git-svn-id: trunk@6622 -
2007-02-23 22:25:39 +00:00
michael
d49ffdf543 * Renamed dynlibs.pas
git-svn-id: trunk@6613 -
2007-02-23 11:06:37 +00:00
peter
d1d7c59244 * fixed compile after exitcode size change
git-svn-id: trunk@6559 -
2007-02-19 16:11:01 +00:00
marco
57cfd89fbd * Linux 64-bit FS patch from neli for FPC_USE_LIBC
git-svn-id: trunk@6517 -
2007-02-16 22:16:54 +00:00
florian
31c9a91af0 + edsp detection for arm-linux
git-svn-id: trunk@6429 -
2007-02-11 16:21:04 +00:00
florian
9fe04923ad * don't destroy registers in syscall helpers
git-svn-id: trunk@6342 -
2007-02-04 20:43:05 +00:00
florian
f9eefa118c * newer kernels don't need anymore those braindead sigaction handler calling conventions
git-svn-id: trunk@6287 -
2007-02-01 20:07:17 +00:00
florian
bcf65051e3 * detect sse properly on linux, fixes tmask*.pp in the testsuite with -Cfsse2
git-svn-id: trunk@6277 -
2007-01-31 21:51:47 +00:00
florian
26ffc101da * fixed softfloat trunc
git-svn-id: trunk@6239 -
2007-01-28 09:52:20 +00:00
Jonas Maebe
9adb91a68d + support for make -jX by marking all Makefiles that need to be executed
serially with .NOTPARALLEL:
   -> currently parallel: rtl/darwin, packages/base, packages/base/httpd,
      packages/extra/univint, fcl, utils

git-svn-id: trunk@6223 -
2007-01-27 11:05:18 +00:00
tom_at_work
704f8dae14 * fixed rtl compilation with -dFPC_USE_LIBC by providing a more generic fpprctl() call (including libc variant) and moving related constants slightly
git-svn-id: trunk@6134 -
2007-01-22 22:21:32 +00:00
daniel
ac23d1ea3c * Mouse unit is solely responsible for xterm mouse.
* Improve detection of xterm mouse
  * Improve detection of gpm mouse

git-svn-id: trunk@6082 -
2007-01-19 21:59:24 +00:00
peter
3a46ab06a3 * symbian support
git-svn-id: trunk@6052 -
2007-01-18 20:24:44 +00:00
tom_at_work
f6d79e8abb * explicitly enable FPU exception reporting on PowerPC in the MSR because some distros disable them by default
git-svn-id: trunk@6033 -
2007-01-17 22:12:19 +00:00
daniel
1911e2fd01 * Use external name to prevent linking errors.
git-svn-id: trunk@5996 -
2007-01-15 23:23:19 +00:00
daniel
b665e0907c * Fix use_external
git-svn-id: trunk@5982 -
2007-01-14 22:00:15 +00:00
florian
7c08279f82 * forgotten commit, fixes loader assembling
git-svn-id: trunk@5844 -
2007-01-07 20:16:55 +00:00
florian
74c9eefc99 * fixed bootstrapping with 2.0.4
git-svn-id: trunk@5837 -
2007-01-07 10:19:10 +00:00
florian
c59c9cdfae * don't build .as with 2.1.1 on i386
* first fix to library entry code

git-svn-id: trunk@5836 -
2007-01-07 10:04:19 +00:00
florian
20dfbaee59 * proper initialization of library
git-svn-id: trunk@5832 -
2007-01-06 23:38:37 +00:00
florian
ff40ed3264 * Makefiles regenerated
git-svn-id: trunk@5831 -
2007-01-06 21:08:19 +00:00
florian
7cc3d3d532 * made it working
git-svn-id: trunk@5826 -
2007-01-06 18:37:48 +00:00
tom_at_work
92538bcb2a Fixed lineinfo compilation with -gl
git-svn-id: trunk@5723 -
2006-12-26 19:27:45 +00:00
chrivers
d50a9a37f3 + Added sem_timedwait prototype for Linux pthreads
git-svn-id: trunk@5706 -
2006-12-25 12:24:00 +00:00
Jonas Maebe
0c3afc0cf4 + implementation of cSemaphore* and BasicRTLEvent based on
sem_open/sem_close for Darwin (doesn't have sem_init/sem_destroy)
  + implementation of cSemaphore* based on pipes (for potential future
    systems that don't have either sem* routines)
  + test for basicrtlevent
  * fixed datarace whereby a TThread could be started, run and exit before
    TThread.AfterConstructor had been called (Mantis 6693, all platforms)
  * throw EThread exceptions in TThread.create if something during creating
    the tthread goes wrong (*nix)
  * don't crash in TThread.Destroy if the TThread throws an exception before
    it was fully initialised (*nix)
  * changed order of operations in TThread.Destroy so it doesn't perform
    invalid thread operations in some edge cases (*nix)
  * fixed usage of sem_wait/sem_trywait (can be interrupted) in Semaphore
    and RTLEvent implementations
  * fixed erroneous waiting for threads after they had already exited via
    pthread_detach/pthread_exit
  * fixed several memory leaks in case of thread intialisation errors
    (*nix)
  * unified tthread.inc for all Unices

git-svn-id: trunk@5662 -
2006-12-21 18:22:47 +00:00
Jonas Maebe
3253e7464a + sigset alias for sigset_t
git-svn-id: trunk@5661 -
2006-12-21 17:36:49 +00:00
tom_at_work
949aa60805 * DWARF debug lineinfo reader
git-svn-id: trunk@5632 -
2006-12-17 23:11:25 +00:00
micha
b1c1b6fd3d + generic implementation of list and map; adapt TList/TStringList to use it
git-svn-id: trunk@5624 -
2006-12-17 15:52:42 +00:00
florian
0d97f9ab6c + initial implementation for x86_64, problem currently the usage of .section to create the necessary note section
git-svn-id: trunk@5491 -
2006-11-26 14:44:00 +00:00
florian
6bf6aa3552 * si_* defines cleaned up
git-svn-id: trunk@5490 -
2006-11-26 14:43:27 +00:00
florian
ded759a247 * implemented
git-svn-id: trunk@5489 -
2006-11-26 14:42:52 +00:00
Almindor
0219dcf2ab * removes old (wrong) AF_ and PF_ consts from socketsh.inc
* adds platform specific AF_ and PF_ consts to respective unxsockh.inc files for freeBSD and Linux (others to follow)

git-svn-id: trunk@5440 -
2006-11-22 10:50:19 +00:00
florian
0d38bda5c4 * small m68k-linux fixes
git-svn-id: trunk@5427 -
2006-11-19 21:51:20 +00:00
tom_at_work
66607303af * fixed fpftruncate, fplseek: removed ppc64 part of "$if defined(cpu64) and not defined(cpupowerpc64)"
git-svn-id: trunk@5392 -
2006-11-15 21:38:20 +00:00
yury
9217d50f5c * Fix smartlinking for linux.
git-svn-id: trunk@5303 -
2006-11-10 10:19:15 +00:00
Jonas Maebe
d2b1da0aea * TThreadID is a QWord for all 64 bit Linuxes, not just for PPC64
git-svn-id: trunk@5284 -
2006-11-08 12:19:15 +00:00
Jonas Maebe
2ce042beb4 * fixed previous commit
git-svn-id: trunk@5281 -
2006-11-07 21:45:49 +00:00
Jonas Maebe
edafc80d8c * use pthread_kill() for Suspend/Resume in cthreads
git-svn-id: trunk@5280 -
2006-11-07 21:40:58 +00:00
peter
875eaa0fd6 * build sysinit units after system unit
git-svn-id: trunk@5268 -
2006-11-06 21:55:25 +00:00
florian
b07cd83892 * made system unit on m68k-linux compilable
git-svn-id: trunk@5266 -
2006-11-06 18:42:47 +00:00
tom_at_work
25ad38ec50 * updated stat record
git-svn-id: trunk@5235 -
2006-11-05 10:22:24 +00:00
tom_at_work
479143a63e * fixed stat record for stat64 syscall
git-svn-id: trunk@5234 -
2006-11-05 10:21:43 +00:00
tom_at_work
1f0d411597 * fixed fpstat calls on ppc64
git-svn-id: trunk@5233 -
2006-11-05 10:21:12 +00:00
florian
46b6f00bc7 * use softfloat on arm and m68k
* export GUID_NULL from types also on windows

git-svn-id: trunk@5231 -
2006-11-05 00:03:38 +00:00
Jonas Maebe
43ed587de0 * fixed r4828
git-svn-id: trunk@5207 -
2006-11-03 17:31:02 +00:00
micha
6bfff9702e + add linux/i386 start units
git-svn-id: trunk@5183 -
2006-11-02 17:49:36 +00:00
micha
ad7d549965 + implement pascal inline asm start/halt code for linux/i386
git-svn-id: trunk@5181 -
2006-11-02 16:58:41 +00:00
micha
e754f21053 * remove old linux stat record, C lib i386
git-svn-id: trunk@5180 -
2006-11-02 15:29:04 +00:00
marco
642e466dcb * removed.
git-svn-id: trunk@5179 -
2006-11-02 15:15:27 +00:00
marco
abd864c21e * oldlinux removed. Post 2.0 cleanups
git-svn-id: trunk@5178 -
2006-11-02 15:14:01 +00:00
micha
63ea4a282b * fix x86_64 linux stat record
git-svn-id: trunk@5177 -
2006-11-02 13:48:56 +00:00
micha
0043aff24d * fix linux/sysutils 64 bit file handling: make off_t 64 bit
git-svn-id: trunk@5152 -
2006-11-01 16:32:12 +00:00
micha
b14c83a7e1 * stat records differ too much: use stat include file
git-svn-id: trunk@5126 -
2006-10-31 15:45:22 +00:00
micha
9f22b00219 * fix fstat to use 64 bit syscall as well
git-svn-id: trunk@5123 -
2006-10-31 14:21:59 +00:00
micha
59e2c82080 * fix stat for 64 bit CPUs
git-svn-id: trunk@5120 -
2006-10-31 13:01:20 +00:00
micha
e11995aa99 * fix fplseek for 64 bit CPUs
git-svn-id: trunk@5119 -
2006-10-31 12:25:45 +00:00
micha
9238003e4f + 64 bit file support for linux
git-svn-id: trunk@5116 -
2006-10-31 11:20:21 +00:00
florian
ce620190a3 + fmtbcd
* regenerated makefiles

git-svn-id: trunk@5076 -
2006-10-29 21:46:44 +00:00
michael
4ba6f1b4dc * Moved fpmkunit to utils
git-svn-id: trunk@5034 -
2006-10-27 19:51:55 +00:00
michael
d1c2323c9b * Added fpmktype
git-svn-id: trunk@5027 -
2006-10-26 19:55:22 +00:00
daniel
b89cff5980 * Optimize posixtorunerror for size. Because inoutres is a threadvar, it
had an invisible code blowup.

git-svn-id: trunk@5006 -
2006-10-22 21:03:48 +00:00
daniel
de001ec4ad * Free hidden cmdline instead of cmdline property.
git-svn-id: trunk@4968 -
2006-10-18 20:32:45 +00:00
daniel
bbc80554b1 * Turn cmdline into property on Linux.
* Move some procedure in Linux system unit.

git-svn-id: trunk@4964 -
2006-10-18 20:07:10 +00:00
Jonas Maebe
f8b013187c * fixed semaphore init, caused endless loop when terminating any
thread

git-svn-id: trunk@4925 -
2006-10-15 14:46:36 +00:00
marco
8d92e5863c * Fixing makefiles for convutils/stdconv units
git-svn-id: trunk@4922 -
2006-10-15 12:53:27 +00:00
peter
f5efca241a * fix 64bit
git-svn-id: trunk@4906 -
2006-10-14 16:03:02 +00:00
Almindor
f102f33426 * fix some gliches in inithreads
git-svn-id: trunk@4903 -
2006-10-14 12:47:42 +00:00
Almindor
ce2eb7246d * fix NPTL and non-NPTL (old hack-fix) on linux
git-svn-id: trunk@4902 -
2006-10-14 11:49:06 +00:00
Almindor
be67e9328f * remove pipe hack from linux tthread as well
git-svn-id: trunk@4901 -
2006-10-14 11:42:34 +00:00
florian
fd784931dd * don't mess with the command line buffers if no command line is given
git-svn-id: trunk@4828 -
2006-10-08 14:20:23 +00:00
micha
d704af7216 fix compilation for {$T+} linux/win
git-svn-id: trunk@4794 -
2006-10-04 20:43:55 +00:00
Almindor
d4e1612fd1 * moves MSG_* constants from socketsh.inc to platform specific unxsockh.inc and fixes them for freebsd/darwin and solaris (linux ones were used before, not right)
git-svn-id: trunk@4646 -
2006-09-18 20:56:13 +00:00
Almindor
2d7cd5b969 * sockets cleanup from Aison
git-svn-id: trunk@4625 -
2006-09-16 10:40:32 +00:00
florian
0663a997cc * name mangling changed
git-svn-id: trunk@4548 -
2006-09-03 21:11:10 +00:00
florian
73083de898 * IsLibrary initialized by declaration
* IsLibrary for linux is set in dllprt0.as

git-svn-id: trunk@4547 -
2006-09-03 20:41:51 +00:00
Almindor
2c8c5800bc * fixed EPOLLOUT vs EPOLLPRI mixup in constants
git-svn-id: trunk@4526 -
2006-09-01 07:54:48 +00:00
Almindor
b8975e8fd4 * EPOLL_CTL_DEL was flipped with EPOLL_CTL_MOD
git-svn-id: trunk@4524 -
2006-08-31 20:48:51 +00:00
Károly Balogh
705033284e + regenerated makefiles to support powerpc-amiga target
git-svn-id: trunk@4371 -
2006-08-06 12:28:28 +00:00
Jonas Maebe
fa44b72c78 * fixed alignment issues with sparc/linux for pclose
git-svn-id: trunk@4369 -
2006-08-06 11:51:11 +00:00
Jonas Maebe
934734df85 + added missing syscalls from Mark Morgan Lloyd
git-svn-id: trunk@4339 -
2006-08-03 16:16:07 +00:00
Almindor
3d1370bf8b * fix 64bit epoll "special" packing
git-svn-id: trunk@4292 -
2006-07-25 11:44:24 +00:00
tom_at_work
2b8d704238 * fixed syscall helpers: threadvar index now correctly loaded as dword, helpers are now TOC and environment pointer aware, one-parameter helper was bugged and general cleanup; solves random crashes in these functions in particular with -O2 and threads.
git-svn-id: trunk@4236 -
2006-07-16 19:22:31 +00:00
tom_at_work
b3573feabb * fixed compilation on 64 bit platforms with DEBUG_MT enabled
git-svn-id: trunk@4223 -
2006-07-16 10:19:52 +00:00
tom_at_work
cd8842a74d * fixed TCGETS ioctl call constant for ppc/ppc64 (from do_isdevice)
git-svn-id: trunk@4222 -
2006-07-16 10:19:21 +00:00
Jonas Maebe
3961254106 * fixed epoll_create
git-svn-id: trunk@4091 -
2006-07-04 18:51:13 +00:00
peter
b32b872a7e * change non-volatile rbx to volatile r11
git-svn-id: trunk@4013 -
2006-06-30 20:01:37 +00:00
micha
ea06d139c2 fix syscall used for exiting, like C _exit (issue #7025)
git-svn-id: trunk@3897 -
2006-06-19 19:38:10 +00:00
daniel
dc043e1ed3 * Now right.
git-svn-id: trunk@3813 -
2006-06-05 21:46:05 +00:00
daniel
6d4b583709 + Add S_IRWXU
git-svn-id: trunk@3812 -
2006-06-05 21:42:36 +00:00
florian
72a8c36bdb * fixed arm asssembler, { ... } comments aren't allowed because { ... } is used for register sets
git-svn-id: trunk@3527 -
2006-05-14 16:17:48 +00:00
florian
33baacbe04 * fixed leaking of TThread
git-svn-id: trunk@3519 -
2006-05-14 09:15:09 +00:00
tom_at_work
7b0821c08a * fixed problem which did not properly flush stdout before input on ppc64/linux
git-svn-id: trunk@3382 -
2006-04-30 12:10:17 +00:00
peter
cba7504dec * use -P for cross compile
* support libimp*.a

git-svn-id: trunk@3321 -
2006-04-23 18:53:29 +00:00
micha
51ee73772e remove startup sigaction flag hack for x86_64 (fixed properly using SA_RESTORER)
git-svn-id: trunk@3320 -
2006-04-23 18:35:45 +00:00
micha
79d0e21b5c fix packing of sigaction record
git-svn-id: trunk@3319 -
2006-04-23 18:28:24 +00:00
micha
b6efd1389e typo in assembly opcode
git-svn-id: trunk@3312 -
2006-04-22 14:00:30 +00:00
micha
7911be08f5 add signal handler trampoline return for buggy OS like fedora core
git-svn-id: trunk@3311 -
2006-04-21 20:36:17 +00:00
tom_at_work
a9df7aa81a * forgot to commit ppc64 gprt0.as used for gprof support
* fixed ppc64 exception mask stuff (same as 3136 for ppc32)

git-svn-id: trunk@3298 -
2006-04-20 11:55:06 +00:00
daniel
b1ae9595dc * Add a group of console ioctl commands.
git-svn-id: trunk@3211 -
2006-04-15 13:49:51 +00:00
tom_at_work
9b150ce30e - Syscall number update for Kernel 2.6.15
git-svn-id: trunk@3076 -
2006-03-29 21:42:44 +00:00
Almindor
827abd27d7 * adds fpgetcwd support to sysdir.inc and fixes compilation
git-svn-id: trunk@2969 -
2006-03-19 17:10:04 +00:00
peter
323d6cf640 * use -O2 for 2.1.1 compilers
git-svn-id: trunk@2966 -
2006-03-19 11:19:43 +00:00
Jonas Maebe
f3ffa1400a * regenerated for new ppc release optimizer settings
git-svn-id: trunk@2943 -
2006-03-17 17:54:28 +00:00
Almindor
4afe7ef0c9 * Simplified and fixed (previous mistake..) select/newselect
git-svn-id: trunk@2885 -
2006-03-12 13:25:02 +00:00
Almindor
8924d3f37a * linux-i386 uses new_select now too
git-svn-id: trunk@2884 -
2006-03-12 13:03:33 +00:00
Almindor
a365a18fe2 * Fixes a crash with epoll_event / epoll_data records
git-svn-id: trunk@2823 -
2006-03-09 20:35:38 +00:00
Jonas Maebe
f868c80460 + i386-darwin support (use fpcmake from after 12 February 2006)
git-svn-id: trunk@2820 -
2006-03-09 15:26:49 +00:00
marco
a0573f1015 * a few type aliases added, capitalisation fixed
git-svn-id: trunk@2756 -
2006-03-05 13:28:27 +00:00
tom_at_work
a0bc256b8f * added syscall_nr_pwrite/read64 aliases for build
git-svn-id: trunk@2737 -
2006-03-04 18:40:17 +00:00
Vincent Snijders
b0a394edfc fixed typo
git-svn-id: trunk@2732 -
2006-03-04 13:34:07 +00:00
marco
24c0b496dd * commit of the syscall based linux support for pwrite/writev, still under
{$ifdef linux}. This to fix x86_64 breakage.

git-svn-id: trunk@2731 -
2006-03-04 12:40:45 +00:00
marco
c93d9eea7a * another attempt at committing the EPOLL changes.
git-svn-id: trunk@2709 -
2006-02-28 20:25:14 +00:00
daniel
740c68106b + Add pread/pwrite system calls
* Optimize video using pwrite

git-svn-id: trunk@2705 -
2006-02-27 23:18:35 +00:00
peter
4c56a87d59 * integrate loaders in system unit
git-svn-id: trunk@2695 -
2006-02-26 18:21:35 +00:00
peter
2d97d480ed * stkptr is global
git-svn-id: trunk@2675 -
2006-02-24 11:13:46 +00:00
florian
466227bdb0 * fixed x86-64 send/recv socket call
git-svn-id: trunk@2674 -
2006-02-23 20:47:40 +00:00
peter
cfc810420a * fixed base
git-svn-id: trunk@2645 -
2006-02-20 08:22:27 +00:00
peter
c794c30c50 * fix fpugetrlimit
git-svn-id: trunk@2643 -
2006-02-20 07:41:28 +00:00
mazen
aeb162e4e1 + added target arm-palmos (please use an fpcmake later than 04 feb 2006 in future)
git-svn-id: trunk@2603 -
2006-02-15 22:05:04 +00:00
marco
05bb11b2ba * syscalls regenerated by Neli.
git-svn-id: trunk@2552 -
2006-02-12 21:45:34 +00:00
marco
ae93f21326 * makefiles updated for linux <-> oldlinux
git-svn-id: trunk@2545 -
2006-02-12 19:16:21 +00:00
marco
c2d5016d77 * linux unit moved and renamed.
git-svn-id: trunk@2543 -
2006-02-12 19:06:39 +00:00
marco
4eb1f8d407 * iovec
git-svn-id: trunk@2528 -
2006-02-12 14:00:46 +00:00
mazen
bc18d6eb8a + added palmos support to makes files
+ added Makefile.fpc to palmos in rtl
+ added faked prt0 to plamos rtl

git-svn-id: trunk@2443 -
2006-02-05 19:22:12 +00:00
daniel
d19c95db8f * various bugfixes
- Disable shared linking for now since it since it simply breaks
    svn. (Already disabled in Makefile itself, likely accidentally
    done with an old FPCMake, but it "fixed" svn to compile.)

git-svn-id: trunk@2401 -
2006-02-02 08:22:35 +00:00
florian
818ac29ba2 + some files from old fixes branch added
git-svn-id: trunk@2385 -
2006-01-31 21:55:42 +00:00
tom_at_work
64c8d25dcf * added __stkptr global in cprt0 for powerpc/linux
git-svn-id: trunk@2377 -
2006-01-29 17:54:04 +00:00
tom_at_work
453bb6d1c9 * removed libc package from build for every linux platform but i386 and x86-64 (libc is a x86 specific kylix compatibility library)
git-svn-id: trunk@2376 -
2006-01-29 17:49:42 +00:00
daniel
bb797e93f0 * vcsa functionality moved into linuxvcs unit
* Reverse ifdef in gpm

git-svn-id: trunk@2366 -
2006-01-28 23:17:48 +00:00
marco
2a1d81db28 * fdset is now array of unsigned.
git-svn-id: trunk@2347 -
2006-01-26 21:11:37 +00:00
florian
b9a0e2ead2 * makefile again regenerated
git-svn-id: trunk@2280 -
2006-01-13 20:32:53 +00:00
florian
40290348bc * Makefiles regenerated
git-svn-id: trunk@2279 -
2006-01-13 19:49:25 +00:00
florian
4af9d14a64 * fixed errors
git-svn-id: trunk@2270 -
2006-01-12 21:11:46 +00:00
peter
49cf8154c1 * add missing .globl
git-svn-id: trunk@2267 -
2006-01-12 11:04:03 +00:00
peter
94f2b1d941 * add initialstkptr to get the stackpointer at startup before
PASCALMAIN is called so the main body framepointer is seen as
    a valid pointer with backtracing

git-svn-id: trunk@2266 -
2006-01-12 09:29:57 +00:00
florian
30fc11e7ca * makefiles regenerated
git-svn-id: trunk@2260 -
2006-01-11 21:46:28 +00:00
florian
d310c6f65c * regenerated
git-svn-id: trunk@2229 -
2006-01-08 16:25:41 +00:00
florian
4e6f4e5cb4 * make shared support
git-svn-id: trunk@2228 -
2006-01-08 15:56:31 +00:00
marco
27c92161d6 * Ales Katona's errors patch
git-svn-id: trunk@2210 -
2006-01-07 18:41:15 +00:00
marco
1318b959e0 * ffinish patch
git-svn-id: trunk@2141 -
2006-01-03 19:09:25 +00:00
florian
ce73006fc3 * picfied code
git-svn-id: trunk@2127 -
2006-01-02 18:35:17 +00:00
florian
48c8401104 * proper setting of symbol sizes and types
git-svn-id: trunk@2126 -
2006-01-02 18:35:01 +00:00
Jonas Maebe
226ef51699 * cpux86 -> cpui386 (cpux86 does not exist)
git-svn-id: trunk@2095 -
2005-12-31 14:21:11 +00:00
Jonas Maebe
c945b972c4 * fixed FpGetRLimit and FpUGetRLimit
git-svn-id: trunk@2093 -
2005-12-31 13:52:38 +00:00
florian
da18dca277 * graph and ggigraph unit moved to packages/base
git-svn-id: trunk@2071 -
2005-12-29 14:36:22 +00:00
florian
834ae15bd1 * fixed sparc building
git-svn-id: trunk@2063 -
2005-12-27 10:41:42 +00:00
peter
63091ddafc * blksze to blksize
git-svn-id: trunk@2050 -
2005-12-25 11:08:23 +00:00
tom_at_work
c3f678e8df * updated makefiles for ppc64/linux to allow successful snapshot building on that platform
git-svn-id: trunk@1975 -
2005-12-16 20:37:08 +00:00
daniel
178b756607 * Move grab_vcsa to utils
git-svn-id: trunk@1946 -
2005-12-13 21:51:00 +00:00
peter
0cd68e3c5d * ifndef ver2_0 added
git-svn-id: trunk@1936 -
2005-12-12 07:01:03 +00:00
daniel
79329acde4 * Less bloated ttyname implementation
git-svn-id: trunk@1928 -
2005-12-11 16:58:35 +00:00
daniel
15e90d7f17 * Grab_vcsa utility that is supposed to be installed suid root.
It sets the permissions, in case you are logged in on the console,
    of your /dev/vcs and /dev/vcsa device to the permissions of your
    /dev/tty device, making sure programs using the video unit can
    use the Linux console mode instead of the Network mode.

git-svn-id: trunk@1927 -
2005-12-11 14:25:07 +00:00
tom_at_work
3502898ba3 * makefile updates after last changes for successful build on ppc64/linux
git-svn-id: trunk@1874 -
2005-12-04 13:07:37 +00:00
marco
f7f14e4dee * CROSSOPT support
git-svn-id: trunk@1798 -
2005-11-20 22:19:50 +00:00
tom_at_work
651f34e27c * ppc64: with -Or the compiler now also generates calls to helper functions in the function prolog/epilog instead of multiple stores/loads
* ppc64: moved function prolog/epilog helper code into startup code
* ppc64: added FPU configuration code in math unit (fixes tw3161)

git-svn-id: trunk@1786 -
2005-11-20 01:20:55 +00:00
tom_at_work
268050b0c1 * added ptrgl helper to cprt0 startup code as well
git-svn-id: trunk@1779 -
2005-11-17 21:35:47 +00:00
tom_at_work
3bf1152a9c * ppc64/linux: fixed and enabled some more assembly routines in the RTL
* ppc64/linux: cleaned up several files (mainly proper comments)

git-svn-id: trunk@1757 -
2005-11-15 17:30:15 +00:00
tom_at_work
99ed1d009b * ppc32/linux: cprt0 update, fixing linking to libc
* ppc32/linux: stat update, making the compiler cycle with -dFPC_USE_LIBC again
* fixed typo in ugetrlimit libc function name

git-svn-id: trunk@1756 -
2005-11-15 17:27:42 +00:00
marco
09134bd40a * patch with a _lot_ more constants from JP Mugaas (for Indy)
git-svn-id: trunk@1729 -
2005-11-13 14:56:35 +00:00
tom_at_work
47258d61a6 * some cleanup, typo fixes
git-svn-id: trunk@1723 -
2005-11-11 12:37:28 +00:00
tom_at_work
1b4b42fdd6 * added CheckInitialStkLen() function which checks whether the given stack size value is valid on the OS when creating a thread, fixing stack checking
git-svn-id: trunk@1722 -
2005-11-11 12:16:08 +00:00
tom_at_work
367df58016 * stack related things (sizes, calculations, etc.) are now 64 bit on 64 bit platforms
* default stack size is now also 32k for Windows (allows the use of stack checking when using threads)

git-svn-id: trunk@1718 -
2005-11-10 17:06:25 +00:00
tom_at_work
940f953e8b * cleanup, removing debug code removed and fixing file headers
* cprt0 updates

git-svn-id: trunk@1713 -
2005-11-10 15:08:41 +00:00
tom_at_work
d54dbdf9b6 * new constants for si_code field for FPU signals (required by commit 1710)
git-svn-id: trunk@1712 -
2005-11-10 15:04:28 +00:00
tom_at_work
745cafdc70 * signal handler update, uses uc_mcontext instead of sigcontext_struct in later Linux versions
* syscalls update

git-svn-id: trunk@1711 -
2005-11-10 15:01:00 +00:00
florian
375bc7bbb0 + TThread.WaitFor needs to call CheckSynchronize
git-svn-id: trunk@1661 -
2005-11-05 17:42:13 +00:00
tom_at_work
653f4b465d * fixed some typecasts of pointers to Longint for 64 bit architectures (Linux and generic parts of the RTL only)
* 64 bit sockets unit fixes

git-svn-id: trunk@1625 -
2005-11-01 22:40:23 +00:00
florian
7bff61ce29 * patch from Ales Katona to add a stack size parameter to tthread functions
git-svn-id: trunk@1621 -
2005-11-01 22:01:48 +00:00
tom_at_work
b8f34684ec - fixed TFDSet type for 64 bit compatibility
git-svn-id: trunk@1618 -
2005-11-01 21:08:07 +00:00
tom_at_work
c5f89d7efd * release old stack pointer register on ppc64 after method prolog
* threading fixes for ppc64
* fixed a_param_ref to respect the size parameter on ppc64
* better stack size calculation for ppc64

git-svn-id: trunk@1599 -
2005-10-26 19:50:17 +00:00
tom_at_work
5520442fc4 * call by register now also takes care of the TOC and environment pointer
* first "optimize for size"-optimization

git-svn-id: trunk@1593 -
2005-10-25 20:12:21 +00:00
florian
9fd0bb293d * fixed typo in previous commit
git-svn-id: trunk@1575 -
2005-10-23 14:01:08 +00:00
florian
d2a111105e * made syscall.inc pic safe
git-svn-id: trunk@1574 -
2005-10-23 13:48:51 +00:00
tom_at_work
202236c6e0 * fpcmake.ini update which fixes glibc search path problems on PowerPC64
* makefile update

git-svn-id: trunk@1546 -
2005-10-20 16:56:40 +00:00
peter
75c00e21c9 * i386 signal handler receives a ucontext instead of sigcontext
git-svn-id: trunk@1478 -
2005-10-18 13:41:48 +00:00
peter
7f6d44006e * disable TLS segment initialization, it breaks threading
git-svn-id: trunk@1470 -
2005-10-18 11:20:36 +00:00
tom_at_work
4db863d076 * first shared library link path fixes
* PowerPC64/Linux signal handler now differs between different FP exceptions

git-svn-id: trunk@1452 -
2005-10-17 21:30:21 +00:00
tom_at_work
701638138b * fixed exception handling for PowerPC64
* math library is now automatically linked on non-x86 platforms when FPC_USE_LIBC is defined
* generic C system function signature adaptions for 64 bit CPUs 

git-svn-id: trunk@1392 -
2005-10-15 21:24:15 +00:00
Jonas Maebe
2dbdc474fd * use register variables when release-building for ppc (more or less doubles
performance for most programs)

git-svn-id: trunk@1383 -
2005-10-15 16:36:52 +00:00
tom_at_work
0ba960e1bd * added workarounds for some load/store instructions requiring 4 byte aligned addresses
* some cleanup and optimization of 64 bit address loading in the code generator
* small changes to the IDE to make it compile
* stat type update for packages/cdrom compatibility

git-svn-id: trunk@1375 -
2005-10-14 00:00:16 +00:00
marco
0bc7d92310 * removed old BSD ifdefs
git-svn-id: trunk@1368 -
2005-10-13 18:39:22 +00:00
tom_at_work
3f4682400c * fixed basic signal handling for PowerPC64/linux, by updating related types and major code cleanup
git-svn-id: trunk@1364 -
2005-10-12 22:46:13 +00:00
tom_at_work
bfb2c916dc * fixed problem with too large offsets in conditional jumps (see also rev 1161 for the PowerPC code)
* updated sysnr.inc for PowerPC64 from 2.6.11 kernel sources
* fixed SigactionRec sa_flags field sizes, which improves signal handling for PowerPC64 platform

git-svn-id: trunk@1352 -
2005-10-10 23:45:57 +00:00
tom_at_work
9e7d550455 * fixed last commit (1337) which broke some files in the repository
git-svn-id: trunk@1338 -
2005-10-08 17:23:44 +00:00
tom_at_work
f7f0f9c426 * makefile adaption to be able to cycle compiler and RTL on PowerPC64 target
* some fixes for PowerPC64 target in the code generator and the RTL
* stabs generation for PowerPC64 is okay now (untested)

git-svn-id: trunk@1337 -
2005-10-08 15:48:39 +00:00
tom_at_work
b2e1cf2610 * powerpc64 port now (manually) cycles, most test programs in tests/test are fine too
* fixed bug in ncal.pas which in some circumstances treated the hidden length parameter for open arrays as 32 bit integer

git-svn-id: trunk@1303 -
2005-10-05 21:55:25 +00:00
florian
91be287119 * exit_group isn't available on older linuxes, if exit_group fails, use exit
git-svn-id: trunk@1299 -
2005-10-05 19:24:00 +00:00
florian
c15e0911e5 + more runerrors 214
git-svn-id: trunk@1264 -
2005-10-03 08:30:08 +00:00
florian
d4bb99a5fb + runerror 214: bus error/data misaligment
git-svn-id: trunk@1263 -
2005-10-03 08:25:20 +00:00
peter
da9ea7ff88 * use exit_group syscall to also stop all threads
git-svn-id: trunk@1259 -
2005-10-02 21:12:45 +00:00
peter
e94b08ae68 * fix shmat from Nikolay Nikolov
git-svn-id: trunk@1247 -
2005-10-01 20:54:11 +00:00
peter
6499d65c39 * fixed compilation with 2.0.x
git-svn-id: trunk@1223 -
2005-09-29 06:26:02 +00:00
marco
73e81ac45a * inlined few procs. Didn't inline makeraw since that triggers inline WITH bug.
git-svn-id: trunk@1221 -
2005-09-28 20:59:20 +00:00
florian
a78703fb5a * fixed FPC_USE_LIBC on linux
git-svn-id: trunk@1218 -
2005-09-28 19:30:55 +00:00