Commit Graph

51243 Commits

Author SHA1 Message Date
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
florian
5bc9890727 + more sparc64 instructions
git-svn-id: trunk@36636 -
2017-07-03 20:49:01 +00:00
florian
5b91fd7065 + taicpu.op_reg_sym for sparc
git-svn-id: trunk@36635 -
2017-07-03 20:49:00 +00:00
florian
26b43e65c9 * fix longjmp/setjmp for sparc64
git-svn-id: trunk@36634 -
2017-07-03 20:48:58 +00:00
florian
65c9e6c32e + fccX registers
git-svn-id: trunk@36633 -
2017-07-03 20:48:56 +00:00
florian
94c3ac027b * fixed spelling: fpc_mode -> gpc_mode
git-svn-id: trunk@36632 -
2017-07-03 20:48:53 +00:00
Károly Balogh
17e85c4a09 m68k: rewritten FillChar from scratch. does aligned word and dword writes on large block fills. depending on the host CPU it's up to 5x faster on medium and large block fills
git-svn-id: trunk@36631 -
2017-07-03 19:22:51 +00:00
pierre
91995c004c Fix compilation of graph unit for msdos OS target
git-svn-id: trunk@36630 -
2017-07-03 17:07:42 +00:00
pierre
4882b802ae Fix compilation of RTL classes unit for msdos OS target
git-svn-id: trunk@36629 -
2017-07-03 16:21:15 +00:00
maciej-izak
f5b8825662 fcl-passrc: new GlobalDirectivesSection (section between unit and interface) to allow writing $IFDEFS and global directives from paswrite.pp by TPasImplCommand/TPasImplCommands
git-svn-id: trunk@36628 -
2017-07-03 13:58:42 +00:00
maciej-izak
bbc2ef6ac0 fcl-passrc: paswrite: write initialization and finalization sections for module
git-svn-id: trunk@36627 -
2017-07-02 20:57:41 +00:00
Károly Balogh
13d2ae8166 m68k: disabled obsolete test which tested between FPU_NONE and FPU_SOFT defaults...
git-svn-id: trunk@36626 -
2017-07-01 21:29:00 +00:00
maciej-izak
184157c9d7 fcl-passrc: paswrite: allow writing "out" and "constref" modifiers
git-svn-id: trunk@36625 -
2017-07-01 18:31:28 +00:00
maciej-izak
f475ba39ba fcl-passrc: pastree: Don't create TPasUnresolvedTypeRef for empty AUnresolvedTypeName in TPasProcedureType.CreateArgument (parameter can be declared without type with additional modifiers)
git-svn-id: trunk@36624 -
2017-07-01 17:06:13 +00:00