Commit Graph

188 Commits

Author SHA1 Message Date
pierre
e97ee1aaf9 Add SigContextRec for x86_64 CPU
git-svn-id: trunk@20743 -
2012-04-07 15:52:15 +00:00
pierre
13d667da45 Fix ino_t for stat13 x86_64 CPU
git-svn-id: trunk@20742 -
2012-04-07 15:51:26 +00:00
pierre
78e129931b Add NETBSD_USE_STAT30 conditional for recent NetBSD changes, not yet used
git-svn-id: trunk@20741 -
2012-04-07 15:37:03 +00:00
pierre
bd793d2f70 ino_t is 64 bit for 32-bit system also for NetBSD
git-svn-id: trunk@20738 -
2012-04-06 23:57:00 +00:00
pierre
2c4d8cc9d9 Add x86_64-openbsd target in Makefiles
git-svn-id: trunk@20723 -
2012-04-06 16:49:08 +00:00
pierre
9d9a5013fd * Fix pthread_mutexattr_t type according to /usr/include/pthread_types.h
git-svn-id: trunk@20689 -
2012-04-01 21:27:18 +00:00
pierre
422c618109 Add missing .note.netbsd.ident section
git-svn-id: trunk@20651 -
2012-03-29 14:05:12 +00:00
pierre
63f9d7bbed Update cprt0.as to 5.1 release
git-svn-id: trunk@20643 -
2012-03-27 15:39:30 +00:00
pierre
6edb8a286f Avoid SEGV in signal handler as second parameter is only a code, not a pointer
git-svn-id: trunk@20642 -
2012-03-27 15:34:00 +00:00
pierre
79c8234c8b Protect against nil values for info or SigContext
git-svn-id: trunk@20356 -
2012-02-15 13:20:26 +00:00
pierre
65ec3cfe4e Fix SigActionRec record field order
git-svn-id: trunk@20355 -
2012-02-15 13:19:22 +00:00
pierre
8fc1fb5e15 Regenerate Makefile
git-svn-id: trunk@20343 -
2012-02-13 16:57:03 +00:00
pierre
e4acc1d474 Add explicit rule for variants unit compilation for correct dependencies
git-svn-id: trunk@20342 -
2012-02-13 16:56:30 +00:00
pierre
a874ee7f19 Regenerate Makefile
git-svn-id: trunk@20341 -
2012-02-13 16:46:20 +00:00
pierre
c9c61ef559 Add more missing units to NetBSD
git-svn-id: trunk@20340 -
2012-02-13 16:45:47 +00:00
pierre
30bd2229b2 Wide char and mbstate_t types added
git-svn-id: trunk@20339 -
2012-02-13 16:45:15 +00:00
pierre
2d6ca8a363 * Fix code for SIGFPE and adapt to SignalHandler procedure type change
git-svn-id: trunk@20332 -
2012-02-12 22:55:23 +00:00
pierre
0abcb738e5 * Fix SigActionHandler for fcl-extra
git-svn-id: trunk@20330 -
2012-02-12 19:53:27 +00:00
pierre
464c3bff67 + Add missing PSigContext type
git-svn-id: trunk@20329 -
2012-02-12 19:21:00 +00:00
pierre
beaed6ba70 Regenerate after Makefile.fpc change
git-svn-id: trunk@20299 -
2012-02-10 00:24:57 +00:00
pierre
b7864f2edb Add missing units
git-svn-id: trunk@20298 -
2012-02-10 00:24:27 +00:00
pierre
ed3284546a New file adapted from Darwin
git-svn-id: trunk@20297 -
2012-02-10 00:23:50 +00:00
pierre
ac9f2fc750 Add missing kqueue and kevent syscalls
git-svn-id: trunk@20296 -
2012-02-10 00:21:42 +00:00
pierre
b72b38fdaa * Try to implement real pmutext, not yet working
git-svn-id: trunk@20295 -
2012-02-10 00:20:52 +00:00
pierre
12f3e8fbc3 + Add some missing constants
git-svn-id: trunk@20291 -
2012-02-09 17:34:22 +00:00
pierre
562a60e36a Add some missing units
git-svn-id: trunk@20290 -
2012-02-09 17:33:55 +00:00
pierre
af22d79a31 Add some missing units
git-svn-id: trunk@20289 -
2012-02-09 17:33:35 +00:00
pierre
d9249ab44d Correct passing envp to main
git-svn-id: trunk@20288 -
2012-02-09 17:32:41 +00:00
pierre
6cd1c2a60c + Add CPREFIX macro to allow transition from '_' prefix to ''
git-svn-id: trunk@20287 -
2012-02-09 17:31:43 +00:00
pierre
4a74ba14eb + Add tsiginfo type
git-svn-id: trunk@20242 -
2012-02-03 22:52:21 +00:00
pierre
9aa157b7fc * Remove _strrchr call and add environ common
git-svn-id: trunk@20241 -
2012-02-03 22:51:57 +00:00
pierre
cc69ccff13 + Add missing syscall_nr_sigtimedwait
git-svn-id: trunk@20240 -
2012-02-03 22:51:12 +00:00
pierre
7167b5b065 Fix cross rtl compilation problems
git-svn-id: trunk@20124 -
2012-01-20 16:39:57 +00:00
florian
9426cac1b0 * rebuilt Makefiles
git-svn-id: trunk@19748 -
2011-12-04 15:34:01 +00:00
paul
3e29f0b179 rtl: make cwstring.pp dependent of dynlibs, load iconvctl dynamically
git-svn-id: trunk@19538 -
2011-10-25 01:25:23 +00:00
pierre
f0aa48b083 * Remove use of direct U_UNIT_NAME or TC_UNIT_NAME
symbols in assembler sources.
  Added to corresponding system variables or typed constants a
  public name 'operatingsystem_XXX' alias and used that alias in assembler
  source.

git-svn-id: trunk@18943 -
2011-09-02 12:51:48 +00:00
pierre
1c2a5f9819 + Update all Makefile's modified by
change in utils/fpcm/fpcmake.ini in prevous commit.

  Adapt also other files to that change:

  * compiler/globals.pas: Replace $FPCTARGET by os_string if
  tf_use_8_3 flag is set for target_info also.

  * tests/Makefile.fpc: Modify TEST_TARGETSUFFIX in the same way
  as TARGETSUFFIX was modified in previous commit.

  * tests/utils/dotest.pp:
    + New variable UseOSOnly, set to true if only target OS name
    should be used for subdirectories.

git-svn-id: trunk@18228 -
2011-08-16 20:10:19 +00:00
marco
39d7bb511d * Regenned all makefiles before 2.6.x branching.
git-svn-id: trunk@18073 -
2011-08-03 13:41:52 +00:00
Jonas Maebe
8b0301409a + i386/iphonesim target for the new iPhoneSimulator in Xcode 3.2.4 and
later: the same as i386/darwin, except
      a) uses the non-fragile Objective-C ABI/runtime
      b) does not require stubs for direct calls/jumps (not required for
         i386/darwin under 10.6 and later either, but still generated
         there for backwards compatibility)
      c) only the same packages are enabled as for ARM/Darwin
      d) MacOSAll is compiled specifically for the iPhoneSimulator SDK
    This target also defines the symbol "darwin" apart from the target
    name "iphonesim" for source code compatibility reasons.

git-svn-id: trunk@16065 -
2010-09-29 21:56:47 +00:00
florian
786c4e206f * enables compilation of iso7185 unit on all targets
git-svn-id: trunk@15730 -
2010-08-06 17:45:42 +00:00
marco
5d87461507 * moves the alias "TTime = time_t" from ptypes.inc to unixtype.pp.
This means it is not aliased in the body of the system unit (which causes
  trouble with the delphi type of the same name), but baseunix/unix/unixtype
  will containue to export the type.

git-svn-id: trunk@14584 -
2010-01-09 16:05:42 +00:00
florian
6ea40be296 * fixed more properties, I still wonder how this could be commited
git-svn-id: trunk@13543 -
2009-08-16 10:57:52 +00:00
Jonas Maebe
e246cac3ac * regenerated using latest fpcmake
git-svn-id: trunk@13487 -
2009-08-02 18:40:14 +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
e5db5e4aa8 * regened makefiles to propagate makefile versions
git-svn-id: trunk@11947 -
2008-10-22 17:32:15 +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
Jonas Maebe
9d8bee1887 * regenerated with changes in r11233
git-svn-id: trunk@11234 -
2008-06-15 15:52:25 +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
Almindor
355c4c7c53 * add TCP and UDP setsockopt option constants to all unix-likes
git-svn-id: trunk@11148 -
2008-05-31 22:06:56 +00:00