Commit Graph

44605 Commits

Author SHA1 Message Date
sergei
9cc0bdd6b9 + Missing part of internal ARM assembler, Mantis #26588. I'm not setting it as default for arm-wince yet, because testing reveals several points in generic code that need adjustments.
git-svn-id: trunk@29588 -
2015-01-30 22:45:05 +00:00
Jonas Maebe
2c3aa7cee0 * give an internal error in second_int_to_bool() if left.expectloc was not
in [LOC_FLAGS,LOC_JUMP], but it's actual location is one of those

git-svn-id: trunk@29587 -
2015-01-30 19:31:31 +00:00
Jonas Maebe
ff25f5c923 * set DYLD_LIBRARY_PATH instead of LD_LIBRARY_PATH on Darwin
git-svn-id: trunk@29586 -
2015-01-30 19:31:28 +00:00
Jonas Maebe
16183bebfe * libc's open() function is a varargs function
git-svn-id: trunk@29585 -
2015-01-30 19:31:25 +00:00
Jonas Maebe
eb419b58c5 - disable inlining of routines that contain a call to a C-style varargs
function, as we don't save/restore the synthetic paravarsyms that
    are created for this

git-svn-id: trunk@29584 -
2015-01-30 19:31:22 +00:00
Jonas Maebe
fde6448063 * don't directly add something to ref.index in get_bit_reg_ref_sref, as it
may be scaled

git-svn-id: trunk@29583 -
2015-01-30 19:31:18 +00:00
Jonas Maebe
9f929695cf * fixed tcgshlshrnode.pass_generate_code for 64 bit targets
o also removed 16 bit ifdefs, replacing them with regular
     if's

git-svn-id: trunk@29582 -
2015-01-30 19:31:15 +00:00
sergei
472310d83f * ARM: Fixed interface wrapper generation after r28542 for targets without BX instruction.
git-svn-id: trunk@29580 -
2015-01-30 15:00:28 +00:00
svenbarth
ba75fd62f0 Fix for Mantis #27348. Applied patch by Do-wan Kim plus comments for the reason.
symdef.pas:
  * tprocdef.defaultmangledname: add some kind of differentiator to the result def, so that x(integer;integer) and x(integer):integer generate different mangled names
  * make_mangledname: also use the returndef instead of a potentially uninitialized variable like was done for tprocdef.defaultmangledname and also add a prefix (so that the two are compatible)

+ added test

git-svn-id: trunk@29579 -
2015-01-30 13:49:25 +00:00
sergei
50639d89e7 * x86_64-linux startup: use ABI tag from abitag.o, cleaned out inlined versions.
git-svn-id: trunk@29578 -
2015-01-29 17:07:45 +00:00
pierre
d939a163f7 Fix errors and improve ouput of ppudump
git-svn-id: trunk@29577 -
2015-01-29 16:37:21 +00:00
pierre
c5de263637 Set default assembler to elf64 writer for x86_64-solaris target
git-svn-id: trunk@29575 -
2015-01-29 07:40:30 +00:00
pierre
c7e939b243 Add x86_64-solaris to the list of supported targetss for as_x86_64_elf64 binary writer
git-svn-id: trunk@29574 -
2015-01-28 22:52:01 +00:00
Tomas Hajny
608b14ab4e * make sure that the stack size passed to emxbind is valid (override the value passed using $M if necessary)
git-svn-id: trunk@29573 -
2015-01-28 08:00:01 +00:00
Tomas Hajny
4cced1186d * use the default locale for current country as the first fallback before using the 'Universal' locale if the locale set in LANG is not recognized/supported by OS/2
git-svn-id: trunk@29572 -
2015-01-28 02:29:39 +00:00
Tomas Hajny
919e58fc99 * try a fallback to 'Universal' locale if the locale set in LANG is not recognized/supported by OS/2
git-svn-id: trunk@29571 -
2015-01-28 00:30:38 +00:00
pierre
56f53176e7 Add freebsd, openbsd and OS2 to the list of i386 targets handling records with only one float as normal float
git-svn-id: trunk@29570 -
2015-01-27 22:52:00 +00:00
florian
69ac7dd7ef * limit initialization to register variables which really need to be initialized
git-svn-id: trunk@29569 -
2015-01-27 21:51:29 +00:00
Tomas Hajny
0f83e24145 * Unicode utilities now built for targets OS/2 and EMX too
git-svn-id: trunk@29568 -
2015-01-27 17:37:53 +00:00
Tomas Hajny
6230131a4d * include OS/2 and EMX in CollationOSes
git-svn-id: trunk@29567 -
2015-01-27 17:23:01 +00:00
Tomas Hajny
caa749f6a0 * UTF-8 may not be the system codepage on OS/2 - skipped
git-svn-id: trunk@29566 -
2015-01-27 16:47:40 +00:00
Tomas Hajny
693a239842 * information about GCC version used for compiling the OS/2 object files added
git-svn-id: trunk@29565 -
2015-01-27 16:24:24 +00:00
pierre
84bb209ce8 Add some missing C compiler information found inside C objects
git-svn-id: trunk@29564 -
2015-01-27 13:48:44 +00:00
Tomas Hajny
5a03b52801 * compiled object files for OS/2
git-svn-id: trunk@29563 -
2015-01-27 09:20:55 +00:00
Tomas Hajny
d3ee7d4999 * there is no wchar.h included in EMX GCC port (but it is fortunately not needed for our testsuite)
git-svn-id: trunk@29562 -
2015-01-27 09:17:05 +00:00
sergei
53c943c5a1 + ELF linker: support writing DT_PREINIT_ARRAY/DT_INIT_ARRAY/DT_FINI_ARRAY dynamic tags. Still misses a lot of sanity checks, and does not sort entries.
git-svn-id: trunk@29561 -
2015-01-26 20:34:16 +00:00
sergei
2efa348b19 - Cleaned out more assembler hacks around ExitCode variable
git-svn-id: trunk@29560 -
2015-01-26 20:08:11 +00:00
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