Commit Graph

34437 Commits

Author SHA1 Message Date
joost
36ac001d09 * Renamed fpmake_disabled.pp to fpmake.pp
git-svn-id: trunk@17935 -
2011-07-04 21:03:57 +00:00
pierre
cff85bdb3b * Rename ag386nsm.pas unit source to agx86nsm.pas
git-svn-id: trunk@17933 -
2011-07-04 09:13:55 +00:00
pierre
f6ab12d677 * Move ag386nsm.pas to x86 directory
git-svn-id: trunk@17932 -
2011-07-04 09:08:54 +00:00
pierre
54fc0bf694 Add missing x86_64 -A options
git-svn-id: trunk@17931 -
2011-07-04 08:59:06 +00:00
pierre
bded762fef Add missing x86_64 -A options
git-svn-id: trunk@17930 -
2011-07-04 08:58:46 +00:00
pierre
d1a6ef9cd9 * Restrict use of postw32 external utility to
win32/wdosx target systems.

git-svn-id: trunk@17929 -
2011-07-04 07:36:47 +00:00
pierre
1a468eebc7 * Fix insdatx86 rule for Windows Makefiles
Also include regeneration of register include files.

git-svn-id: trunk@17928 -
2011-07-04 07:35:24 +00:00
pierre
cdd4b0297a * Show usage and halt with error if unknown parameters are given
at command line.
  * Also generate NASM register files for x86_64 (for support of NASM
    assembler for x86_64 CPU, to be committed later).

git-svn-id: trunk@17927 -
2011-07-04 07:33:00 +00:00
joost
4c7af0b52f * Removed hash dependency from fpmakefile, which was not in Makefile.fpc
git-svn-id: trunk@17926 -
2011-07-03 21:27:00 +00:00
joost
16e07fd1f8 * fpmakefile updates
git-svn-id: trunk@17925 -
2011-07-03 21:16:31 +00:00
joost
6d89da0654 * Moved daemon.txt to fcl-extra, where daemon.pp is moved to
git-svn-id: trunk@17924 -
2011-07-03 20:59:14 +00:00
marco
3d9c83715c * gtk2 gboolean changed to boolean32. Change is relative small due to new
type, and put undef ifdef use define noboolean32 to undo.
   Requires only one lazarus change that is backwards compat.
   Fixes Mantis #17400

git-svn-id: trunk@17923 -
2011-07-03 20:35:42 +00:00
joost
f91c3e719c * Added resource-files
git-svn-id: trunk@17922 -
2011-07-03 20:32:24 +00:00
joost
359b1c0a59 * Generate fpunits.conf on compilation, not installation. So that dependencies
on compiled but not yet installed packages are handled properly.
 * Moved all logic to determine unit-directory to the GetUnitDirectory method

git-svn-id: trunk@17921 -
2011-07-03 20:27:03 +00:00
marco
391aef9927 * clocale fixed for Solaris, Patch by Ludo Brands, mantis #19675
git-svn-id: trunk@17919 -
2011-07-03 18:05:40 +00:00
michael
f2b5294dfb * Re-enabled per-dir config when getting remote host.
(fields are now correctly aligned in apache header structs)

git-svn-id: trunk@17918 -
2011-07-03 09:35:57 +00:00
michael
f2654e1043 * Corrected alignment for some fields (missing bitfields)
git-svn-id: trunk@17917 -
2011-07-03 09:34:59 +00:00
michael
c1f8e258ad * Handle ESysEINTR more carefully under linux. Do not raise exception in case of termination
git-svn-id: trunk@17916 -
2011-07-03 08:45:55 +00:00
Legolas
fb1e29aef5 * nds: implemented write(ln) output on the screen (it needs flush tough...)
git-svn-id: trunk@17915 -
2011-07-03 08:34:52 +00:00
michael
e357dc3fb9 * LongdateFormat equals shortdateformat (no longdateformat is available in langinfo) Bug #19616.
git-svn-id: trunk@17914 -
2011-07-02 13:42:44 +00:00
michael
543b6bec44 * Proper fix for ID field not always being named properly in ExtJS delete operation.
git-svn-id: trunk@17913 -
2011-07-02 13:03:51 +00:00
michael
8dfac9c481 * Proper fix for ExtJS Delete operation which sometimes sends only an ID
git-svn-id: trunk@17912 -
2011-07-02 13:00:50 +00:00
pierre
b85355636e * Avoid unitialized VM variable in Preferences method
git-svn-id: trunk@17911 -
2011-07-02 07:03:00 +00:00
marco
c8218eaab8 * constants for sockets unit of Solaris by L. Brands, mantis #19665
git-svn-id: trunk@17910 -
2011-07-01 20:50:49 +00:00
pierre
cfdc7c861d * Use public/global name 'name' section 'section' without semicolon for Windows TLS support
git-svn-id: trunk@17909 -
2011-07-01 19:29:38 +00:00
pierre
372b16b2e6 * Look for __FPC_tls_callbacks, should be reset to nil for DLLs, not yet done
git-svn-id: trunk@17908 -
2011-07-01 19:28:32 +00:00
pierre
450fd8784b * section specification method changed
git-svn-id: trunk@17907 -
2011-07-01 19:22:12 +00:00
pierre
4ad2707674 Windows TLS callback code testable by using -dTEST_TLS_DIRECTORY
git-svn-id: trunk@17906 -
2011-07-01 14:42:39 +00:00
pierre
92c92e1945 * Add oso_keep option to threadvar section if FPC_USE_TLS_DIRECTORY is set
git-svn-id: trunk@17905 -
2011-07-01 14:40:02 +00:00
pierre
eb90591ea9 TLS directory requires some labels in specific sections
I implemented this by allowing '.section sec_name mangled_name'
   for name 'xxxx'; specifier in tstaticvarsym.set_mangledname

git-svn-id: trunk@17904 -
2011-07-01 14:36:44 +00:00
pierre
30feeff3c2 + TlsDirectory handling code
git-svn-id: trunk@17903 -
2011-07-01 14:30:32 +00:00
pierre
bcb2bb9e5b Add removal of braces for parameters in linker script
git-svn-id: trunk@17902 -
2011-07-01 14:28:18 +00:00
pierre
c611c91cef Provide _tls_index in script
git-svn-id: trunk@17901 -
2011-07-01 14:27:33 +00:00
pierre
a45b29911c * Handle vo_has_section for constants
git-svn-id: trunk@17900 -
2011-07-01 14:26:21 +00:00
pierre
e6b5ce8557 * Use vo_has_section to test for user name section in insertbssdata
git-svn-id: trunk@17899 -
2011-07-01 14:24:56 +00:00
pierre
46a6be05a5 * More dummy code to avoid removal of required labels
git-svn-id: trunk@17898 -
2011-07-01 14:21:50 +00:00
pierre
8e2da253f9 * Index pointer field must be set to correct value in EXECUTABLE as it is used at program launch
git-svn-id: trunk@17897 -
2011-07-01 13:15:00 +00:00
pierre
b3e1ba70e9 * Avoid warning about missing field for AVR
git-svn-id: trunk@17896 -
2011-07-01 11:59:31 +00:00
pierre
af098d08d5 * Avoid pointer to signed integer warning
git-svn-id: trunk@17895 -
2011-07-01 11:55:05 +00:00
pierre
37b98917e0 * Handle invalid register correctly
git-svn-id: trunk@17894 -
2011-07-01 11:52:37 +00:00
pierre
bffd571f9d * win/sysos.inc: TTlsDirectory, new record type
Used to support TlsCallbacks.

    Tls callback code added inside
    ifdef FPC_USE_TLS_DIRECTORY.
    NOTE: This code needs compiler changes also to work.

  * win/systhread.inc:
    Exec_Tls_callback: Callback for main executable.
    Several new external variables:
    FreePascal_TLS_callback, FreePascal_end_of_TLS_callback
    need to be placed into .CRT$XL* section,
    using  name '.section .CRT$XLFPC __FPC_tls_callbacks'
    extension to be provided by compiler change.
    tls_callbacks : pointer; external name '___crt_xl_start__';
    tls_data_start : pointer; external name '___tls_start__';
    tls_data_end : pointer; external name '___tls_end__';
    provided by linker script.
    tls_index : DWord that will contain the automatic
    TlsIndex generated by executable launch code (not used by
    FPC code, but might be used by code from loaded objects).
    _tls_used: TTlsdirectory record.

  * win32/system.pp and win64/system.pp:
    Code to force loading of _tls_used record.

git-svn-id: trunk@17893 -
2011-07-01 10:40:35 +00:00
pierre
128e2e9cc5 *Dll_entry: Call SysInitMultiThreading to allocate TlsKey if not yet done
git-svn-id: trunk@17892 -
2011-07-01 10:08:40 +00:00
pierre
1339c66ec9 * SysAllocateThreadVars: Make sure the data slot is only allocated once
git-svn-id: trunk@17891 -
2011-07-01 10:07:38 +00:00
pierre
04d85d32d9 * Disable inline for FPC_HEAPTRC_EXTRA to facilitate cdebugging with GDB
git-svn-id: trunk@17890 -
2011-07-01 07:50:51 +00:00
pierre
3cc2b5e97b + Added default dynamic linker for mips CPU
git-svn-id: trunk@17889 -
2011-07-01 07:37:05 +00:00
tom_at_work
619afa83ad Use NOCPUDEF for all ppu* compilations
git-svn-id: trunk@17888 -
2011-07-01 07:30:16 +00:00
florian
570f3c4b39 * merges recent class helper fixes by Sven Barth
git-svn-id: trunk@17887 -
2011-06-30 18:54:46 +00:00
Jonas Maebe
c5dfa9d354 * fixed fpc_shortstr_concat() in case the max length for the destination is
already smaller than the length of the first string (probably cannot
    happen currently, but may be in the future as a result of optimizations)

git-svn-id: trunk@17886 -
2011-06-30 15:48:52 +00:00
pierre
72f2d37bac Correct last wrong commit.
+ Use Get_Frame function instead of assmebler code.
  + Add a check for FPU stack on i386.

git-svn-id: trunk@17885 -
2011-06-30 14:48:20 +00:00
pierre
e98c62cb68 * Also check that there is no FPU stack overrun on i386 CPU
git-svn-id: trunk@17884 -
2011-06-30 14:12:21 +00:00