Commit Graph

51256 Commits

Author SHA1 Message Date
svenbarth
d5c8fe7455 * on targets with indirect main entry argc, argv and envp are provided through the indirect entry information instead of externals
git-svn-id: trunk@36686 -
2017-07-08 19:18:20 +00:00
svenbarth
00e9289f58 * envp is part of sysunixh, so no need to manually import it using an external
git-svn-id: trunk@36685 -
2017-07-08 19:15:54 +00:00
michael
e787cb1ff3 Fix bug ID #31871
git-svn-id: trunk@36684 -
2017-07-08 16:56:51 +00:00
michael
0a73f141a4 * Forgotten in commit 36662
git-svn-id: trunk@36683 -
2017-07-08 14:10:35 +00:00
michael
d6552989d6 * Fix bug ID #31825: because of helpers, almost any expression can have a .
git-svn-id: trunk@36682 -
2017-07-08 14:05:43 +00:00
Mattias Gaertner
b11a0c4eab pastojs: declarations: nicer srcmaps
git-svn-id: trunk@36681 -
2017-07-08 12:45:38 +00:00
Mattias Gaertner
627323b96e fcl-js: jswriter: nicer CurElement for srcmaps
git-svn-id: trunk@36680 -
2017-07-08 12:44:46 +00:00
michael
c24172f670 * Patch from Thaddy de Koning to add in operator for strings
git-svn-id: trunk@36679 -
2017-07-08 12:02:18 +00:00
michael
606d6d7316 * Fix bug #32055
git-svn-id: trunk@36678 -
2017-07-08 11:33:51 +00:00
michael
feebdbfc92 * Winhttp unit added (bug id 30650)
git-svn-id: trunk@36677 -
2017-07-08 11:25:03 +00:00
florian
13801bebfe * pass debian specific path to c init files to ld for sparc64 as it is done on other targets as well
git-svn-id: trunk@36676 -
2017-07-07 22:33:42 +00:00
florian
25950b8575 * 64 bit multiplications for sparc64 fixed
git-svn-id: trunk@36675 -
2017-07-07 22:18:16 +00:00
florian
47bdbb2d1f * fix Fpfstat as Fpstat has been fixed in r36664, sparc64 needs explictly an stat64 call for 64 bit stat
git-svn-id: trunk@36674 -
2017-07-07 22:18:14 +00:00
florian
8ce6140476 * initial implementation of c startup code for sparc64-linux
git-svn-id: trunk@36673 -
2017-07-07 22:18:13 +00:00
florian
bd57ca99a8 * cosmetics
git-svn-id: trunk@36672 -
2017-07-07 22:18:11 +00:00
florian
568d6d1486 * revert r36666 as it interferes with r36664
git-svn-id: trunk@36671 -
2017-07-07 20:30:05 +00:00
Mattias Gaertner
b5b58fd34c fcl-passrc: scanner: fixed column starting at 1
git-svn-id: trunk@36670 -
2017-07-07 19:40:23 +00:00
Mattias Gaertner
6b11e10edc pastojs: asm: set source pos to first non empty line
git-svn-id: trunk@36669 -
2017-07-07 17:31:27 +00:00
Mattias Gaertner
1f5fc91144 fcl-pas: parser: asm: add first empty line to Tokens
git-svn-id: trunk@36668 -
2017-07-07 17:31:09 +00:00
Mattias Gaertner
97fd5b956a fcl-js: comments
git-svn-id: trunk@36667 -
2017-07-07 17:30:28 +00:00
pierre
de3f4e72ed Try to get a correct stat record
git-svn-id: trunk@36666 -
2017-07-07 15:10:46 +00:00
florian
cbe9a1b65f * make thlcgcpu.g_intf_wrapper usable for sparc64 as well
git-svn-id: trunk@36665 -
2017-07-07 13:17:42 +00:00
florian
e2226598ab * force usage of stat64 on sparc64
* always use packrecords c for the stat records on sparc64

git-svn-id: trunk@36664 -
2017-07-07 12:22:49 +00:00
marco
bf0a4e9ad7 * check writeconsoleinput and only wait for back data if write was succesful
otherwise it hangs if input is closed. Mantis #32096, analysis by jamie philbrook

git-svn-id: trunk@36663 -
2017-07-07 10:40:02 +00:00
marco
fdd78657e8 * initial android pthreads, by Bero, mantis #32105
git-svn-id: trunk@36662 -
2017-07-07 10:26:46 +00:00
florian
8401a460e5 + support 64 bit sar on sparc64
* fix on sparc64 broken a_cmp_const_reg_label and a_cmp_reg_reg_label

git-svn-id: trunk@36661 -
2017-07-07 10:11:44 +00:00
florian
1f4d6e8a4d * compilation on 32 bit sparc fixed
git-svn-id: trunk@36660 -
2017-07-07 09:30:50 +00:00
florian
c8c14d8db9 * pass -32 to the sparc assembler
git-svn-id: trunk@36659 -
2017-07-07 09:08:05 +00:00
florian
a9a0ca6649 * sparc64 needs a helper for overflow checked 64 bit division operations
git-svn-id: trunk@36658 -
2017-07-07 09:08:02 +00:00
florian
ca51bd56c4 + a_jmp_cond64
* generate 64 bit comparisons if needed

git-svn-id: trunk@36657 -
2017-07-06 18:02:24 +00:00
florian
16c9a2260d * check alignment properly in CompareDWord for 64 bit targets
git-svn-id: trunk@36656 -
2017-07-06 18:02:22 +00:00
florian
567dfef9a7 + object files for sparc64-linux to test linking with gcc
git-svn-id: trunk@36655 -
2017-07-06 18:02:20 +00:00
pierre
b6d2c7ee69 Fix fprt_sigreturn_stub for sparc64 cpu
git-svn-id: trunk@36654 -
2017-07-06 07:17:25 +00:00
pierre
963d109331 Add two word variables to store fpu control and status register in interrupt 0x10
git-svn-id: trunk@36653 -
2017-07-05 22:03:27 +00:00
pierre
56039f2fc6 Share SPARC signal constants with SPARC64 cpu
git-svn-id: trunk@36652 -
2017-07-05 21:23:11 +00:00
pierre
ece9547ea7 * Sparc64 CPU also uses Fprt_sigreturn for extra rt_sigaction syscall
git-svn-id: trunk@36651 -
2017-07-05 20:59:39 +00:00
Mattias Gaertner
5e409ff349 pastojs+pparser: fixed copying last line of asm..block with option po_asmwhole
git-svn-id: trunk@36650 -
2017-07-05 20:33:48 +00:00
Mattias Gaertner
8cd56fb9be pastojs: fixed tests
git-svn-id: trunk@36649 -
2017-07-05 19:58:16 +00:00
Mattias Gaertner
6d764dff98 fcl-pas: less hints
git-svn-id: trunk@36648 -
2017-07-05 19:57:56 +00:00
Mattias Gaertner
a9502f9d3d fcl-js: parse source map
git-svn-id: trunk@36647 -
2017-07-05 19:50:16 +00:00
pierre
e2beff754f Update 'lonely' (i.e. not regenerated by a fpcmake -r -Tall at fpcsrc level) Makefiles for sparc64-linux target
git-svn-id: trunk@36646 -
2017-07-05 12:17:54 +00:00
Károly Balogh
8a22807efa m68k: also add Debian's custom library path like on other CPUs
git-svn-id: trunk@36645 -
2017-07-04 22:51:08 +00:00
florian
109612b7e1 * correctly load 32 bit values on sparc64
git-svn-id: trunk@36644 -
2017-07-04 20:52:47 +00:00
marco
0eaa8c2a57 * preparation for 64-bit amiga support (:-))
git-svn-id: trunk@36643 -
2017-07-04 11:55:48 +00:00
marco
cb0f89c4a8 * change longint cast of pointer to ptrint #32096
git-svn-id: trunk@36642 -
2017-07-04 11:48:49 +00:00
maciej-izak
72a35844c5 fcl-passrc: pparser: Correct parent for first method on overloads list.
git-svn-id: trunk@36641 -
2017-07-03 22:30:44 +00:00
florian
0d296001a8 * argv is a longint in fpc
git-svn-id: trunk@36640 -
2017-07-03 20:49:08 +00:00
florian
57a137068b * integer registers must have the size R_SUBWHOLE for sparc, resolves issue #32065
git-svn-id: trunk@36639 -
2017-07-03 20:49:06 +00:00
florian
28cfa838b5 + support for the different flag registers of sparc
* fixing 64 bit cmp operations on sparc64

git-svn-id: trunk@36638 -
2017-07-03 20:49:05 +00:00
florian
4b30e5ee11 + TSparcmoddivnode.pass_generate_code for SPARC64
git-svn-id: trunk@36637 -
2017-07-03 20:49:03 +00:00