Commit Graph

1025 Commits

Author SHA1 Message Date
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
florian
1d17d73b2f * first fixes for previous commit
git-svn-id: trunk@1214 -
2005-09-27 21:18:07 +00:00
florian
7626a64e35 + *stat wrappers for linux
git-svn-id: trunk@1213 -
2005-09-27 21:10:55 +00:00
tom_at_work
3681639a6a - more PowerPC64 fixes; "Hello World" style programs can be compiled and run
git-svn-id: trunk@1209 -
2005-09-27 18:16:49 +00:00
peter
6bf3269b41 * powerpc64 port from Thomas Schatzl
git-svn-id: trunk@1193 -
2005-09-25 17:19:44 +00:00
florian
a7d088b197 + MAX_PATH
+ mime properties set

git-svn-id: trunk@1191 -
2005-09-25 15:44:26 +00:00
florian
2f011934ef + pull in cthreads
git-svn-id: trunk@1183 -
2005-09-25 11:23:30 +00:00
florian
1c0035f882 + pulls in cwstring by default
git-svn-id: trunk@1141 -
2005-09-19 16:52:22 +00:00
peter
72b0603943 * use mov insteead of push ds, valgrind doesn't like the push
git-svn-id: trunk@1140 -
2005-09-19 12:35:17 +00:00
florian
21cc9597f2 + fpcylix unit
+ -Sk option

git-svn-id: trunk@1106 -
2005-09-18 08:34:51 +00:00
peter
bb70f2f5cc * add fppkg and fpmkunit to the Makefile.fpc
git-svn-id: trunk@1063 -
2005-09-08 06:50:52 +00:00
michael
c15d1b280f + Initial implementation of RTL resource support
git-svn-id: trunk@991 -
2005-08-31 15:54:30 +00:00
michael
03f441c966 + Initial check-in
git-svn-id: trunk@973 -
2005-08-29 07:38:56 +00:00
florian
8602390d46 * Makefiles regenerated to propagate -Ur change of fpcmake
git-svn-id: trunk@844 -
2005-08-10 21:55:57 +00:00
daniel
f6ad2aa425 * Hopefully fixes compilation
git-svn-id: trunk@741 -
2005-07-25 13:05:20 +00:00
daniel
e87ea7642c * Remove tabs
git-svn-id: trunk@613 -
2005-07-10 15:41:51 +00:00
peter
2654bf6a16 * reset fpucw in system startup
git-svn-id: trunk@543 -
2005-06-30 14:02:15 +00:00
daniel
cb9e465f9f * Add --32 xor --64 to assembler command line depending on CPU_TARGET.
i386 only.

git-svn-id: trunk@375 -
2005-06-10 20:32:05 +00:00
michael
21425e303c + Removed HASVARIANT define
git-svn-id: trunk@244 -
2005-06-07 20:48:31 +00:00
michael
8a226bba52 + Removed HASWIDESTRING/HASWIDECHAR defines
git-svn-id: trunk@241 -
2005-06-07 20:42:22 +00:00
michael
23ad0ae1ec + Removed HASINTF and VER1_0 defines
git-svn-id: trunk@239 -
2005-06-07 20:30:03 +00:00
peter
4ace790492 * remove $Log
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
michael
aea4d56d46 + Reversed setup of stdio and arguments to fix bug #3962
git-svn-id: trunk@114 -
2005-05-25 21:47:52 +00:00
michael
180fd52858 + Reworked GUID creation
git-svn-id: trunk@43 -
2005-05-21 10:03:44 +00:00
fpc
790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00