Commit Graph

51164 Commits

Author SHA1 Message Date
Károly Balogh
ea635bfda5 typinfo: push/pop doesn't save packrecords. also, always use AlignTypeData on m68k, which might have less than pointer sized (word, 2 byte) alignments in the typeinfo, because on most systems C compilers also use 2 byte alignments, so we need that for compatibility
git-svn-id: trunk@36594 -
2017-06-24 23:18:12 +00:00
Károly Balogh
41f72a0e6d m68k: some initial support for C ABIs which use an address register to return structs by address
git-svn-id: trunk@36592 -
2017-06-24 19:03:58 +00:00
Károly Balogh
da11451934 m68k: revert the 2 byte C record alignment fix on Linux. sadly it completely breaks RTTI, which takes longer to fix, so meanwhile, at least cause no regressions
git-svn-id: trunk@36591 -
2017-06-24 10:50:24 +00:00
Károly Balogh
4258413e8c m68k: revert recordalignmax to 2 on Linux. the value of 4 caused a bunch of weird RTTI test failures
git-svn-id: trunk@36590 -
2017-06-23 21:24:39 +00:00
Károly Balogh
bf3478fb35 m68k: fix C struct alignment on Linux. tested against GCC on current Debian-m68k
git-svn-id: trunk@36589 -
2017-06-23 20:47:06 +00:00
Károly Balogh
b481129f4e m68k: for cdecls with the SVR4 ABI return results both in A0 and D0
git-svn-id: trunk@36588 -
2017-06-23 19:21:20 +00:00
michael
bc53a908c9 * Fix bug #32047
git-svn-id: trunk@36585 -
2017-06-23 11:18:22 +00:00
Károly Balogh
50332a97bc textthr test to be more verbose on error conditions
git-svn-id: trunk@36584 -
2017-06-23 06:03:26 +00:00
joost
4962872d70 * Use the internal FPC-based http downloader by default, instead of lNet
git-svn-id: trunk@36583 -
2017-06-22 22:36:44 +00:00
joost
b3efcb0088 * http->https
git-svn-id: trunk@36582 -
2017-06-22 22:29:34 +00:00
michael
bf32857ac2 * SAX JSON reader, rework JSONParser on top of that
git-svn-id: trunk@36581 -
2017-06-22 19:46:24 +00:00
michael
afa74238f5 * SAX JSON reader, rework JSONParser on top of that
git-svn-id: trunk@36580 -
2017-06-22 19:45:22 +00:00
Károly Balogh
30176f3116 m68k: enable inlined get_frame for m68k
git-svn-id: trunk@36577 -
2017-06-22 17:43:24 +00:00
Károly Balogh
cf8aebf00f m68k: enabled safecall exception wrappers with linux
git-svn-id: trunk@36575 -
2017-06-22 15:31:32 +00:00
maciej-izak
c0f390ff18 fcl-passrc: paswrite: write informations about implemented interfaces for classes
git-svn-id: trunk@36573 -
2017-06-22 12:53:44 +00:00
Károly Balogh
26d5500b7c m68k: one more alignment fix, hopefully fixes regressions not fixed by r36569
git-svn-id: trunk@36570 -
2017-06-22 02:41:36 +00:00
Károly Balogh
8ed84afdd4 m68k: try to fix some breakages caused by r36568
git-svn-id: trunk@36569 -
2017-06-22 02:11:42 +00:00
Károly Balogh
23f4304881 m68k: hopefully fix passing of smaller-than-alignment sized records/structs for stdcall/cdecl
git-svn-id: trunk@36568 -
2017-06-22 01:14:02 +00:00
Károly Balogh
238f423c71 m68k: implement the interlocked family of functions, to be used on Linux and BSDs
git-svn-id: trunk@36557 -
2017-06-21 01:02:49 +00:00
nickysn
9f5011af30 * synchronize with ptc trunk from sourceforge; adds support for the numpad 5
key in ptccrt and several keys under windows have been changed to produce
  the same key codes as under x11

git-svn-id: trunk@36556 -
2017-06-20 22:48:59 +00:00
nickysn
a217c4c7d0 * merged all changes from ptc trunk from sourceforge; adds support for different
keyboard input modes in ptccrt (TP7 compatible, GO32 CRT compatible and WIN32
  CRT compatible mode)

git-svn-id: trunk@36555 -
2017-06-20 00:23:32 +00:00
joost
4c479ee039 * Fixed typo
git-svn-id: trunk@36554 -
2017-06-19 21:44:03 +00:00
joost
b9fd5f46a9 * Re-generated include file to generate config-files which use https for repositories
git-svn-id: trunk@36553 -
2017-06-19 21:26:23 +00:00
joost
4ba84bab05 * Adapt the configuration-file in such a way that fcl-web is used to download from repositories
git-svn-id: trunk@36552 -
2017-06-19 21:24:45 +00:00
joost
289afe7336 * Changed the mirrors-url to the https version
git-svn-id: trunk@36551 -
2017-06-19 21:22:56 +00:00
joost
a4250d1beb * Add FPC-download-handler to fppkg
git-svn-id: trunk@36550 -
2017-06-19 21:18:37 +00:00
florian
719faf5e54 * more restrictive alignment for variables
git-svn-id: trunk@36549 -
2017-06-19 21:18:11 +00:00
florian
c321fb35f1 * integer registers on sparc(64) do not have an explicit size anymore, simplifies compiler code sharing between sparc32 and sparc64
+ %icc and %xcc register for sparc64

git-svn-id: trunk@36548 -
2017-06-19 21:18:09 +00:00
florian
7edc8407fc + flushw opcode
git-svn-id: trunk@36547 -
2017-06-19 21:18:07 +00:00
florian
3ee8e836e9 * properly handle constants from -2^32 to -1 on sparc64
git-svn-id: trunk@36546 -
2017-06-19 21:18:05 +00:00
florian
2ad265505b * properly align unicode- and ansistring constants
git-svn-id: trunk@36545 -
2017-06-19 21:18:03 +00:00
florian
7fd359bb78 * setup of envp fixed
* use STACK_BIAS constant

git-svn-id: trunk@36544 -
2017-06-19 21:18:01 +00:00
florian
1e619a3479 * syscall error and parameter handling for sparc64 fixed
git-svn-id: trunk@36543 -
2017-06-19 21:18:00 +00:00
florian
ae99445bdd * get_caller_addr and get_caller_frame for sparc64 fixed
git-svn-id: trunk@36542 -
2017-06-19 21:17:58 +00:00
florian
453fedf089 * empty lines removed
git-svn-id: trunk@36541 -
2017-06-19 21:17:56 +00:00
florian
8bbe7d7268 * define STACK_BIAS constant for sparc64, it is fundamental
git-svn-id: trunk@36540 -
2017-06-19 21:17:54 +00:00
florian
2e2e560d5a * use dwarf on sparc64
git-svn-id: trunk@36539 -
2017-06-19 21:17:51 +00:00
Károly Balogh
50812415d8 m68k: add a modified version of the generic fpc_round_real, which takes some m68k FPU oddities into account
git-svn-id: trunk@36531 -
2017-06-19 01:12:00 +00:00
joost
6bb48bf34f * Propagate the result of download-actions to avoid stale empty files
git-svn-id: trunk@36530 -
2017-06-18 21:54:42 +00:00
joost
187724d844 * Handle https-protocol on downloads from repositories
git-svn-id: trunk@36529 -
2017-06-18 21:23:40 +00:00
florian
85050f3383 * Makefiles regenerated
git-svn-id: trunk@36528 -
2017-06-18 21:06:34 +00:00
florian
c649cdd23b + sparc64 support enabled in fpmake for the IDE
git-svn-id: trunk@36527 -
2017-06-18 21:06:32 +00:00
florian
1f23bb3e6b + sparc64 support in top level Makefile.fpc
git-svn-id: trunk@36526 -
2017-06-18 21:06:30 +00:00
florian
e5977d5c52 + support sparc64 as host/source cpu
git-svn-id: trunk@36525 -
2017-06-18 21:06:29 +00:00
florian
1d03dd51a2 + sparc64 support for fpmake
git-svn-id: trunk@36524 -
2017-06-18 21:06:27 +00:00
Károly Balogh
f1ee65610d m68k: added support for setting the rounding mode on hardware FPUs
git-svn-id: trunk@36523 -
2017-06-18 19:06:34 +00:00
Károly Balogh
8a6c995b75 troundm: fixed 32bit rmNearest tests and wrong result values
git-svn-id: trunk@36522 -
2017-06-18 18:49:32 +00:00
florian
2109fb33ab * more sparc64 support in the generic sparc code generator
git-svn-id: trunk@36521 -
2017-06-18 15:52:41 +00:00
florian
91994ef404 * set basic constants for address sizes etc. correctly for sparc64
git-svn-id: trunk@36520 -
2017-06-18 15:52:09 +00:00
florian
fd698a22f4 * handling of negative constants in TCGSparc64.a_load_const_reg
* create a cg128 for sparc64

git-svn-id: trunk@36519 -
2017-06-18 15:51:28 +00:00