Commit Graph

44578 Commits

Author SHA1 Message Date
sergei
d6f5bcee45 - Cleaned out assembler hacks around ExitCode variable
git-svn-id: trunk@29559 -
2015-01-26 19:55:58 +00:00
sergei
e2eb6dffbb + x86_64-linux: build ABI tag separately, the purpose it twofold: 1) it is the only part of startup that cannot be yet handled directly by compiler, 2) it provides a single point to modify whenever necessary.
git-svn-id: trunk@29558 -
2015-01-26 17:15:48 +00:00
sergei
bb8de483f2 - Removed "version" directive, all it does is creation of extra PT_NOTE segment, which does not appear in programs compiled with C.
+ Added non-executable stack marker.

git-svn-id: trunk@29557 -
2015-01-26 17:02:31 +00:00
michael
79e7ba678e * Support Hints prior to variable initialization, properties in records
git-svn-id: trunk@29556 -
2015-01-26 13:46:21 +00:00
michael
7bb0b187a4 * Fix visibility in records mixed with function/procedure
git-svn-id: trunk@29555 -
2015-01-26 13:25:31 +00:00
pierre
ddee662665 Add i386 specific check that fpu stack is completely empty in CheckStack function
git-svn-id: trunk@29554 -
2015-01-26 13:13:55 +00:00
michael
a842569bf1 * Support for functions in records
git-svn-id: trunk@29553 -
2015-01-26 09:54:15 +00:00
pierre
817555cd6e Reset FPU state in SignalToRunError for SIGFPE, fixes tw12214 failure
git-svn-id: trunk@29552 -
2015-01-26 09:01:19 +00:00
pierre
3a9abf75a9 Reset FPU state in SignalToRunError for SIGFPE, fixes tw12214 failure
git-svn-id: trunk@29551 -
2015-01-26 09:00:32 +00:00
marco
70b12b6d5d * keep default of "cores" at a safe 0 for now.
git-svn-id: trunk@29550 -
2015-01-25 16:38:19 +00:00
florian
b98e13cd93 * ensure success is initialized
git-svn-id: trunk@29549 -
2015-01-25 15:16:11 +00:00
marco
53b06fa861 * disable friendly message because the fileexistance test is not reliable at this point.
git-svn-id: trunk@29548 -
2015-01-25 14:49:33 +00:00
marco
c6d56f4e66 * always cthreads.
git-svn-id: trunk@29547 -
2015-01-25 00:34:00 +00:00
marco
576c754034 * corrected typo.
git-svn-id: trunk@29546 -
2015-01-24 23:30:31 +00:00
marco
c105b9bcf7 * change cores from ifdef to runtime.
git-svn-id: trunk@29545 -
2015-01-24 21:56:08 +00:00
sergei
3a3f7859f7 * x86_64-linux: ExitCode is passed as parameter to _haltproc, so assembler hacking with global variable is not necessary.
git-svn-id: trunk@29542 -
2015-01-24 15:28:00 +00:00
Tomas Hajny
5f0a671ddc * single quotes are not accepted under OS/2
git-svn-id: trunk@29541 -
2015-01-24 11:12:31 +00:00
Tomas Hajny
f0132e252c * fixed DLL importing by name
git-svn-id: trunk@29540 -
2015-01-24 00:35:49 +00:00
Tomas Hajny
2f92aa8d48 * corrected random memory corruption during argument setup
git-svn-id: trunk@29539 -
2015-01-24 00:25:35 +00:00
Tomas Hajny
7292e64e04 * corrected test for empty filename in FileRec
git-svn-id: trunk@29538 -
2015-01-24 00:23:42 +00:00
svenbarth
943a094683 Fix for Mantis #27320.
symdef.pas, tprocdef:
  * defaultmangledname: don't use the potentially unassigned hp, but use - as intended - returndef if it is set (analog to the non-CRC part)

+ added test

git-svn-id: trunk@29537 -
2015-01-23 16:47:23 +00:00
pierre
9af030ba9e Add missing x86_64-solaris gcc compiled objects
git-svn-id: trunk@29536 -
2015-01-23 14:23:47 +00:00
pierre
16262bb10e Add missing i386-solaris gcc compiled objects
git-svn-id: trunk@29535 -
2015-01-23 14:18:18 +00:00
pierre
35a1e6f59e Add x86_64 as supported CPU for Solaris OS
git-svn-id: trunk@29533 -
2015-01-23 11:17:19 +00:00
Tomas Hajny
08ce351a06 * don't use the OS/2 API function DosSearchPath for searching through the list of directories in FSearch because it always returns full path even for relative directory specifications (as opposed to what is expected in TP/BP)
git-svn-id: trunk@29532 -
2015-01-23 01:25:08 +00:00
Tomas Hajny
2e5054186c * include current directory in the list of searched directories in FSearch as expected in TP/BP
git-svn-id: trunk@29531 -
2015-01-23 01:19:22 +00:00
Tomas Hajny
5176a069cf * align DosError returned for empty filename in GetFAttr and SetFAttr to TP/BP
git-svn-id: trunk@29530 -
2015-01-23 00:48:16 +00:00
Tomas Hajny
37acf48426 * align DosError returned for invalid (unused) handle in GetFTime and SetFTime to TP/BP
git-svn-id: trunk@29529 -
2015-01-23 00:26:02 +00:00
Tomas Hajny
150ead4546 * skipping wrAbandoned test unsupported on OS/2 similarly to MS Windows
git-svn-id: trunk@29528 -
2015-01-22 23:52:22 +00:00
Tomas Hajny
33856b9f7b * fix typo in message and deallocate all previously allocated memory
git-svn-id: trunk@29527 -
2015-01-22 23:49:04 +00:00
Tomas Hajny
dcffcd22e7 * fix a bug in Exec if calling a program without arguments
git-svn-id: trunk@29526 -
2015-01-22 23:11:42 +00:00
Tomas Hajny
f263da87a2 * oops, the previous commit was wrong, reverting :-(
git-svn-id: trunk@29525 -
2015-01-22 21:55:12 +00:00
Tomas Hajny
a8ef98bf36 * fix libz DLL name for OS/2
git-svn-id: trunk@29524 -
2015-01-22 21:50:47 +00:00
Tomas Hajny
054ada1191 * skip this test for os2 and emx targets because it tries to link in a resource file in MS Windows format (rather than the OS/2 format) which is not supported
git-svn-id: trunk@29523 -
2015-01-22 21:24:21 +00:00
Jonas Maebe
dc172ef55b * disabled blocks tests for Darwin/ppc(64), as the blocks runtime is only
only shipped with Mac OS X 10.6 and later (and the last version supporting
    ppc was 10.5)

git-svn-id: trunk@29522 -
2015-01-22 19:56:34 +00:00
pierre
ce20dcf7a6 * Add code to try old GNU emulation if new names are not recognized
* Add support for map file
  * Add -lc (for libc library) two times instead of only at the end.

git-svn-id: trunk@29521 -
2015-01-22 16:45:52 +00:00
pierre
aebebe4f04 i386-solaris target: Add flags for pic code uses GOT and library requires pic
git-svn-id: trunk@29520 -
2015-01-22 15:14:35 +00:00
pierre
e8d836f74c Activate gdbint package for solaris target OS
git-svn-id: trunk@29519 -
2015-01-22 15:12:14 +00:00
Károly Balogh
37cf157d7d initialize pd to fix a warning with O3+
git-svn-id: trunk@29518 -
2015-01-22 12:07:50 +00:00
Jonas Maebe
2f40fa7b33 * reintegrated "blocks" branch. Adds support for calling C-style blocks with
global procedures and Object Pascal methods on Darwin platforms. Support
    for nested procedures will be added later on. For the syntax, see
    tests/test/tblock*.pp

git-svn-id: trunk@29517 -
2015-01-21 23:38:50 +00:00
Jonas Maebe
146e3bcb9e * synchronised with trunk till r29513
git-svn-id: branches/blocks@29516 -
2015-01-21 23:28:34 +00:00
Jonas Maebe
e97f31541e - reverted partial commit of merge
git-svn-id: branches/blocks@29515 -
2015-01-21 23:24:37 +00:00
Jonas Maebe
a76bbf363d * synchronised with trunk r29513
git-svn-id: branches/blocks@29514 -
2015-01-21 23:18:29 +00:00
sergei
6708b83a16 * Refactor tasmlisttypedconstbuilder so it emits string/PChar data, if any, into a second asmlist, instead of appending it directly to global asmlist.
git-svn-id: trunk@29513 -
2015-01-20 15:14:38 +00:00
sergei
ed4e876f4f * Generate exception filters data on i386-win32 and x86_64-win64 without using global labels.
git-svn-id: trunk@29512 -
2015-01-20 13:52:19 +00:00
sergei
a67478e033 * Simplified, removed redundant asmlist and duplicate call to maybe_new_object_file.
git-svn-id: trunk@29509 -
2015-01-20 07:52:11 +00:00
Tomas Hajny
fdbd928453 * utils package still stay as standalone zip for smaller utilities in the main directory, but the source file name is one character longer than before now
git-svn-id: trunk@29508 -
2015-01-19 21:39:54 +00:00
lacak
d8ce1caea3 fcl-db: postgresql: Fix AV in UnprepareStatement (TPQCursor.tr is nil).
Revealed by TTestTSQLQuery.TestKeepOpenOnCommit.
Commit destroys TPQTrans object, which in destructor sets tr:=nil for all registered cursors. So attempt to Close TSQLQuery after Commit has leading to AV.

git-svn-id: trunk@29507 -
2015-01-19 13:01:51 +00:00
sergei
d24382e8f8 * x86 AT&T writer: never ever drop "@GOTPCREL" relocation, because it results in corrupted code (at least, "mov foo@GOTPCREL(%rip),%reg" must change to "lea foo(%rip),%reg" to remain equivalent, but this must be handled elsewhere anyway. Assembler writer should just write generated code as is).
* Added internal errors on some impossible types of references.

git-svn-id: trunk@29506 -
2015-01-18 17:04:53 +00:00
sergei
26cd3dc58a * %OS -> %target, the former is invalid and breaks the entire run.
git-svn-id: trunk@29504 -
2015-01-18 16:09:45 +00:00