Commit Graph

38306 Commits

Author SHA1 Message Date
pierre
15f4e1279b Add RS_GP to list of saved registers if pi_needs_got flag is set
git-svn-id: trunk@22450 -
2012-09-24 21:01:47 +00:00
pierre
5b5a5ab7af + Add EXTDEBUG warning if pi_needs_got was not set in pass_1
git-svn-id: trunk@22449 -
2012-09-24 15:54:59 +00:00
pierre
bc04e83b25 Add pi_needs_got to current_procinfo.flags in pass_1 method if a label reference is used
git-svn-id: trunk@22448 -
2012-09-24 15:39:26 +00:00
michael
cd733daaa4 * Take care of locking when reading a file.
git-svn-id: trunk@22447 -
2012-09-24 09:00:52 +00:00
Jonas Maebe
944c1172ee * implementation of fix from r22376 without using introspection
git-svn-id: trunk@22446 -
2012-09-23 21:25:39 +00:00
Jonas Maebe
1a97e61619 * factored out fixref from handle_load_store, and handle indirect symbol
loads for darwin in fixref (used to be done in ncgld, but was removed
    there)

git-svn-id: trunk@22445 -
2012-09-23 21:25:32 +00:00
tom_at_work
71059475f8 GParMake also needs to get passed to allow completion of testsuite when some compilation options are incompatible to the default ones
git-svn-id: trunk@22438 -
2012-09-22 12:54:35 +00:00
Jonas Maebe
dc5c318eeb * fixed compilation with -dTEST_WIN64_SEH after r22433 based on patch by
Cyrax, mantis #22952)

git-svn-id: trunk@22437 -
2012-09-22 12:41:31 +00:00
Jonas Maebe
6402714780 - reverted r22363 (disabling of multi-threaded compilation), didn't notice
the issue had been fixed in r22353

git-svn-id: trunk@22435 -
2012-09-21 22:42:35 +00:00
Jonas Maebe
5ea03973d3 * reject assignments to vecn[rangen] (mantis #22941)
git-svn-id: trunk@22434 -
2012-09-21 22:42:30 +00:00
florian
ca5fabda6d * cleanup some unused units from uses clauses
git-svn-id: trunk@22433 -
2012-09-21 18:53:46 +00:00
Jonas Maebe
6f2c567e37 * don't write '.section' twice for stubs on Darwin/ARM
git-svn-id: trunk@22432 -
2012-09-21 16:28:43 +00:00
pierre
ad45f8be0b Regenerated after: avoid troubles if svnversion is found twice in SEARCHPATH
git-svn-id: trunk@22431 -
2012-09-21 14:32:57 +00:00
pierre
0dc69d5b3e Avoid troubles if svnversion is found twice in SEARCHPATH
git-svn-id: trunk@22430 -
2012-09-21 14:32:33 +00:00
tom_at_work
beca39448a Forgot to add current compiler options to fpmkunit compilation. This leads to the error described in r22397 when e.g. building with -Cfvfpv3 on arm/linux
git-svn-id: trunk@22429 -
2012-09-21 12:13:50 +00:00
paul
88a10330c2 rtl: initialize DefaultSystemCodePage on aix,beos,haiku,solaris
git-svn-id: trunk@22428 -
2012-09-21 01:45:18 +00:00
marco
1dbde17516 * fix some of the overloads for -A and -W routines.
git-svn-id: trunk@22427 -
2012-09-20 16:56:28 +00:00
svenbarth
759bd33327 Use the ccharset unit instead of charset when compiling with 2.6.0 like is done for the other cp* units.
git-svn-id: trunk@22426 -
2012-09-19 13:56:25 +00:00
pierre
1550c623c3 Avoid memory leak in isbinaryoverloaded function
git-svn-id: trunk@22425 -
2012-09-19 07:59:12 +00:00
pierre
0d00df6ec5 * Only -dextheaptrc sets keepreleased to tue (meaning no memory is really released by heaptrc memory manager)
* -dheaptrc add heaptrc as first unit in main source.

git-svn-id: trunk@22424 -
2012-09-19 07:57:31 +00:00
pierre
4f810f0918 free final_asmnode if not used to avoid memory leak
git-svn-id: trunk@22423 -
2012-09-19 07:25:29 +00:00
pierre
de2543f2bd Allow compilation of ppudump with -dHEAPTRC command line option
git-svn-id: trunk@22422 -
2012-09-19 07:08:35 +00:00
florian
e2e4634295 - remove maps with unclear header
git-svn-id: trunk@22421 -
2012-09-18 18:46:23 +00:00
paul
32fc7118d4 compiler: add US-ASCII codepage
git-svn-id: trunk@22419 -
2012-09-18 01:32:24 +00:00
paul
a2548fc9f9 rtl: pass exact size to delete instead of full string length
git-svn-id: trunk@22418 -
2012-09-18 00:31:21 +00:00
Jonas Maebe
a13c9d93ff * create new object file when creating new section for ansistring/
unicodestring constants so they can be smartlinked away on
    platforms using library-based smartlinking (mantis #22888)

git-svn-id: trunk@22417 -
2012-09-17 22:30:16 +00:00
tom_at_work
f5ddc02a5c + add debian armel library search path
+ for armhf, use the more canonical ld-linux-armhf.so.3 as defdynlinker

git-svn-id: trunk@22416 -
2012-09-17 21:13:37 +00:00
Jonas Maebe
8799d9d204 * don't create temporary ansistrings with codepage DefaultSystemCodePage
when concatenating or comparing CP_ACP strings, because the ansistring
    conversion helpers also check for CP_ACP and do the right thing in
    that case
  * don't convert code pages when comparing CP_ACP strings with
    DefaultSystemCodePage strings (mantis #22906)

git-svn-id: trunk@22415 -
2012-09-17 19:41:44 +00:00
Jonas Maebe
64740049bf * fix for mantis #22796: add alignment padding to records before inserting
hidden parameters while parsing the interface, because they may depend on
    the padded size (since the size was not yet padded in the interface and
    padded in the implementation, this could result in differences)

git-svn-id: trunk@22414 -
2012-09-17 14:34:03 +00:00
Jonas Maebe
349a682596 * corrected license header from GPL to LGPL + static linking exception like
the rest of the FPC RTL, after confirming with the original author that
    this is ok (mantis #22879)

git-svn-id: trunk@22413 -
2012-09-17 12:12:42 +00:00
Jonas Maebe
44fa475fe4 * fixed -dTEST_WIN64_SEH after r22337 (mantis #22885)
git-svn-id: trunk@22412 -
2012-09-17 11:22:18 +00:00
paul
f338d5c338 rtl: set DefaultSystemCodePage on linux without cwstrings
git-svn-id: trunk@22411 -
2012-09-17 08:31:37 +00:00
paul
d7d8c10aaf bsd: set DefaultSystemCodePage without cwstring.pas
git-svn-id: trunk@22410 -
2012-09-17 02:33:06 +00:00
paul
57da93dd11 compiler: don't reject utf-8 codepage as default althought it is not present in mapping tables
git-svn-id: trunk@22409 -
2012-09-17 02:24:56 +00:00
pierre
c3549aa67b Fix tw22326 test compilation failure
git-svn-id: trunk@22408 -
2012-09-16 21:34:32 +00:00
joost
5d24a23e66 * PackageVariants are now owned by the installer. Multiple packages can have references to them.
git-svn-id: trunk@22407 -
2012-09-16 20:01:31 +00:00
michael
76b9b4fdac * Add inherited to setup/teardown
git-svn-id: trunk@22406 -
2012-09-16 15:59:21 +00:00
michael
fcb3d0c256 * Implemented coCreateDeclaration
git-svn-id: trunk@22405 -
2012-09-16 15:06:12 +00:00
michael
4be38f5c53 * Fixed error in --limit and --defaultclasstest
git-svn-id: trunk@22404 -
2012-09-16 14:53:50 +00:00
michael
9d8235c9d8 * Fixed uninitialized string results
git-svn-id: trunk@22403 -
2012-09-16 14:05:37 +00:00
michael
f496994f46 * Use consoletestrunner from fcl-unit. Old output available through --legacy or -g
git-svn-id: trunk@22402 -
2012-09-16 11:55:07 +00:00
michael
3f803013a3 * Applied patch from #22899
git-svn-id: trunk@22401 -
2012-09-16 11:38:49 +00:00
michael
4b938fe818 * Erroneously committed
git-svn-id: trunk@22400 -
2012-09-16 09:56:59 +00:00
michael
9058529a44 * Initial implementation of FCL-SDO
git-svn-id: trunk@22399 -
2012-09-16 09:54:08 +00:00
michael
a37953dc34 * Observer hook and mediator implementation added
git-svn-id: trunk@22398 -
2012-09-16 09:09:13 +00:00
tom_at_work
9428c78d63 Pass OPT to compilation of fpmake.
Solves issues with systems that e.g. require special options for compilation of programs (e.g. libc programs to find libc startup code) or the actual build has been compiled with options that are incompatible with default ones.

Tested changes by building an i386-linux local build and i386-linux->arm-linux cross-builds

git-svn-id: trunk@22397 -
2012-09-15 23:41:44 +00:00
florian
95830d5a4a + DEBUG_REGISTERLIFE define
git-svn-id: trunk@22396 -
2012-09-15 17:20:57 +00:00
florian
f75e39e660 + aliasing of registers, allows to split live ranges
git-svn-id: trunk@22395 -
2012-09-15 17:20:53 +00:00
Jonas Maebe
e4956552de * test from mantis #22796 (already works)
git-svn-id: trunk@22394 -
2012-09-15 13:40:17 +00:00
sergei
fde944bf5d + Declare AT_TLS and AT_GNU_IFUNC symbol types, these are needed to handle object files created by gcc in ELF internal linker.
* TExeOutput.FixupSymbols:
  + Collect AT_GNU_IFUNC symbols in IndirectObjSymbols list for further processing by ELF back-end.
  * Do not overwrite bind and size while fixing AB_COMMON symbols, this removes need in storing symbol size in every relocation and dedicated handling of oso_common section.
  * Remove symbols with objsection<>nil from lists, so calling FixupSymbols several times skips already processed symbols.

git-svn-id: trunk@22393 -
2012-09-14 17:22:48 +00:00