Commit Graph

47830 Commits

Author SHA1 Message Date
michael
288aa63a67 * Help for latex backend
git-svn-id: trunk@32897 -
2016-01-09 17:55:44 +00:00
michael
65976e4db3 * Added option to split lines
git-svn-id: trunk@32896 -
2016-01-09 17:47:04 +00:00
michael
a87e83e9b7 * Fix selection of package
git-svn-id: trunk@32895 -
2016-01-09 17:46:24 +00:00
florian
4ccc75e2e8 + be able to specify endianess in the assembler command line
+ pass endianess to the powerpc assembler (GNU only), so an unified be/le GNU assembler can used to build powerpc64le

git-svn-id: trunk@32894 -
2016-01-09 14:28:25 +00:00
michael
33e1bc72b4 * Add options to RunCommand* call
git-svn-id: trunk@32893 -
2016-01-08 21:19:21 +00:00
michael
f1ef3f330a * Add demo for RunCommand
git-svn-id: trunk@32892 -
2016-01-08 21:18:43 +00:00
michael
622ffb9a65 * Added some example program for TProcess
git-svn-id: trunk@32891 -
2016-01-08 20:59:30 +00:00
nickysn
ef9504ffd7 * made the \325 x86 prefix to generate a 0x66 prefix on i8086, thus fixing many
32-bit instructions on i8086, when using the internal obj writer

git-svn-id: trunk@32890 -
2016-01-08 17:20:37 +00:00
nickysn
6037976202 * several imul variants, featuring 32-bit or 64-bit registers marked 386+, instead of 286+
git-svn-id: trunk@32889 -
2016-01-08 17:07:36 +00:00
nickysn
e6ac1a4af5 + added check for the compatibility of each instruction with the selected target
cpu in the i8086's internal obj writer

git-svn-id: trunk@32888 -
2016-01-08 16:44:28 +00:00
nickysn
e877bae4fc + add 'jmp rm16' and 'call rm16' before the rm32 versions on i8086, so the
16-bit version is picked up by default for opsize=S_NO. Previously the 386
  version was picked on i8086, but the generated code was correct, because we
  don't yet generate a 0x66 prefix for "\325", which leads to many 32-bit
  instructions not being assembled correctly with the internal asm obj writer on
  the i8086

git-svn-id: trunk@32887 -
2016-01-08 16:41:21 +00:00
Jonas Maebe
a228a3bf4c * fixed parallel building for i386 after r32857
git-svn-id: trunk@32886 -
2016-01-07 22:06:27 +00:00
Jonas Maebe
3aba28deb7 * factored out the generation of the Objective-C section names, so we can
reuse them for llvm too

git-svn-id: trunk@32885 -
2016-01-07 22:06:21 +00:00
Jonas Maebe
3f7169e250 * treat Objective-C metaclasses (classrefdefs) as voidpointertype at the
LLVM type level

git-svn-id: trunk@32884 -
2016-01-07 22:06:13 +00:00
Jonas Maebe
53bf43983a + support for emitting weak symbols with the high level typed constant builder
git-svn-id: trunk@32883 -
2016-01-07 22:06:06 +00:00
Jonas Maebe
58ae32e2d1 * factored out writing the LLVM linkage flags, take into account version
differences and also write them for procdefs

git-svn-id: trunk@32882 -
2016-01-07 22:06:00 +00:00
Jonas Maebe
d290ede5a6 + added (not yet configurable) target LLVM version
git-svn-id: trunk@32881 -
2016-01-07 22:05:54 +00:00
Jonas Maebe
3dbe97d9b6 + added some extra llvm versions and flags describing their features
git-svn-id: trunk@32880 -
2016-01-07 22:05:49 +00:00
Jonas Maebe
110a5642c0 - removed ait_weak/tai_weak, and replaced it with the previously existing
asd_weak_reference/asd_weak_definition directives

git-svn-id: trunk@32879 -
2016-01-07 22:05:38 +00:00
Jonas Maebe
1046c995a8 * ttai_typedconstbuilder.finalize_asmlist(): fixed handling of non-local
symbols that aren't AB_GLOBAL (e.g. AB_PRIVATE_EXTERN)

git-svn-id: trunk@32878 -
2016-01-07 22:05:28 +00:00
Jonas Maebe
bf735c7e58 * cleanup
git-svn-id: trunk@32877 -
2016-01-07 22:04:44 +00:00
michael
6ac5aa615a * Extended jsonrtti so it supports streaming of datetime and destreaming datetime (bug ID 28721)
git-svn-id: trunk@32876 -
2016-01-07 21:48:02 +00:00
michael
e69c96d496 * Add option to ignore trailing commas in objects and arrays
git-svn-id: trunk@32875 -
2016-01-07 20:44:24 +00:00
pierre
de7a79f497 Use SizeInt type for GlobalStartMem and StartMem variables to avoid compilation error for msdos compact memory model
git-svn-id: trunk@32874 -
2016-01-07 17:33:36 +00:00
pierre
80a7b909e4 Add $goto on for FPC compilation to avoid compile time error
git-svn-id: trunk@32873 -
2016-01-07 17:12:13 +00:00
nickysn
72dc92e8b8 * added 'word ptr' overrides, to avoid generating 32-bit instructions (due to a
bug in the i8086 internal assembler reader, which will be fixed later)

git-svn-id: trunk@32872 -
2016-01-07 15:40:47 +00:00
nickysn
a508f9e5d3 + added check if the selected cpu is 386+ when writing a 66h or 67h prefix in
the i8086 internal object writer. This allows weeding out spurious 386
  instructions, as is similarly done by NASM when using it as an external
  assembler.

git-svn-id: trunk@32871 -
2016-01-07 15:40:32 +00:00
nickysn
114c76bc4a + added i8086 to the list of supported cpus in the compiler usage help screen
git-svn-id: trunk@32870 -
2016-01-07 14:38:25 +00:00
nickysn
22b6e00147 * extracted the writing of 0x66 and 0x67 prefixes in the x86 internal assembler
to local procedures write0x66prefix and write0x67prefix

git-svn-id: trunk@32869 -
2016-01-07 14:18:14 +00:00
michael
b1c5077c96 * Small fix after recent changes to tests list in testsuite
git-svn-id: trunk@32868 -
2016-01-07 07:38:34 +00:00
Jeppe Johansen
0251263234 Move some of the local reloc calculation out of aasmcpu, and into COFF and ELF writers.
git-svn-id: trunk@32867 -
2016-01-06 23:15:08 +00:00
nickysn
21c9712ea2 * allow 32-bit operand sizes in the i8086 version of Tx86Operand.SetSize, so
32-bit operands can work properly in i8086's inline asm. Fixes mantis #29188.

git-svn-id: trunk@32866 -
2016-01-06 18:06:34 +00:00
pierre
e835f120e9 Fix fpc_frac_real, fpc_trunk_real and fpc_int_real by removing the assumption that SP=BP at entry
git-svn-id: trunk@32865 -
2016-01-06 15:20:57 +00:00
pierre
701a610f4d Use CodePointer for all CheckVariantEvent parameter typecast
git-svn-id: trunk@32864 -
2016-01-06 14:04:31 +00:00
michael
9d92953bd2 * Added overload directive, fixes regressions in testsuite
git-svn-id: trunk@32863 -
2016-01-06 08:02:04 +00:00
michael
4099abb0c1 * Sample programs for TZipper and TUnzipper
git-svn-id: trunk@32862 -
2016-01-05 21:29:51 +00:00
michael
df6efb6fc9 * Fix bug ID #28783, closer adherance to ZIP standard
git-svn-id: trunk@32861 -
2016-01-05 21:28:43 +00:00
michael
ef3050f061 * Ensure example compiles
git-svn-id: trunk@32860 -
2016-01-05 21:27:46 +00:00
michael
072b473f9f * Patch from Denis Kozlov: Patches here fix several issues with SimpleIPC on Windows. (Bug ID 29346)
Summary of changes:
1. Using SetTimer + GetMessage method for handling PeekMessage.
2. Store all received incoming messages in a message queue (per IPC server instance).
3. Implemented message queue (PeekMessage receives messages, ReadMessage picks from the queue)
4. Implemented optional message queue limit and overflow handling (more on that below).
5. Timeout<-1 is forced to -1; Documented meaning of various Timeout values in comments.
6. Minor refactoring and code formatting changes.

git-svn-id: trunk@32859 -
2016-01-05 20:41:08 +00:00
michael
b9da082e29 * Patch from Silvio Clecio to Extends SetPropValue/GetPropValue (bug ID 28278)
git-svn-id: trunk@32858 -
2016-01-05 20:00:41 +00:00
florian
77cf67b59a o unified interface of i386 and x86-64 cpu unit:
+ InterlockedCompareExchange128Support for i386 always returning false
  + AESSupport for i386
  + dummy InterlockedCompareExchange128 for i386 throwing an rte 217

git-svn-id: trunk@32857 -
2016-01-05 15:23:26 +00:00
florian
4bf603694c * patch by Mattias Gaertner to make TProcess more unicode aware, resolves issue #29136
git-svn-id: trunk@32856 -
2016-01-05 14:06:36 +00:00
florian
df82921cd8 * fix test after r32820
git-svn-id: trunk@32855 -
2016-01-05 13:46:06 +00:00
lacak
57c7b32490 fcl-db: tests: move TestCancel method as Edit/Cancel is not supported on UniDirectional datasets (avoid false negative results)
git-svn-id: trunk@32854 -
2016-01-05 08:19:21 +00:00
lacak
01d3297d37 fcl-db: bufdataset: revert prior commit 32807 as it causes fail of TTestSpecificTBufDataset.TestOpeningNonExistingDataset
git-svn-id: trunk@32853 -
2016-01-05 07:53:21 +00:00
Jeppe Johansen
1b02dd27dc Make relocation type more precise compared to output of gas.
Change and to or in case symbol in other section is not exported.

git-svn-id: trunk@32852 -
2016-01-05 07:23:20 +00:00
lacak
d4d1fcb634 fcl-db: datadict: mssql: add support for querying sequences and domains using standard INFORMATION_SCHEMA views (supported since version 2000)
git-svn-id: trunk@32851 -
2016-01-05 06:46:04 +00:00
lacak
634764231a fcl-db: datadict: SEQUENCE START value can be any signed integer value (+ missing spaces)
git-svn-id: trunk@32850 -
2016-01-05 06:16:34 +00:00
Károly Balogh
b799ca40f8 m68k: various cleanups and improvements in the GAS assembler writer: pass operands to the helpers by reference, removed a few extra shortstring copies, cleanups
git-svn-id: trunk@32849 -
2016-01-05 04:12:00 +00:00
Károly Balogh
288fa53694 m68k: is_calljmp cleanup
git-svn-id: trunk@32848 -
2016-01-05 04:07:00 +00:00