nickysn
3ec1c02eee
+ added the win16api printing support functions
...
git-svn-id: trunk@31707 -
2015-09-16 12:27:19 +00:00
yury
df9d6db398
* Fixed instruction re-scheduler for ARM in case of PIC.
...
git-svn-id: trunk@31706 -
2015-09-16 11:54:12 +00:00
nickysn
0034e53445
- removed the win16 tiny memory model startup code loader - 16-bit windows
...
simply doesn't support the tiny memory model
git-svn-id: trunk@31705 -
2015-09-15 19:48:04 +00:00
yury
840803772c
* arm-android: Enable PIC by default.
...
git-svn-id: trunk@31704 -
2015-09-15 18:22:24 +00:00
yury
9f2ef7c546
* ARM assembler routines are PIC compatible now.
...
git-svn-id: trunk@31703 -
2015-09-15 18:06:36 +00:00
nickysn
45c75ae449
+ added the win16api metafile functions
...
git-svn-id: trunk@31702 -
2015-09-15 16:51:32 +00:00
nickysn
bccdafba1b
+ added the win16api bitmap functions, types and consts
...
git-svn-id: trunk@31701 -
2015-09-15 16:12:46 +00:00
nickysn
34766b82d8
+ added the win16api font support functions, types and consts
...
git-svn-id: trunk@31700 -
2015-09-15 15:03:37 +00:00
nickysn
aa57e7e835
* moved the i8086-specific threadvar generation code from
...
ti8086loadnode.pass_generate_code to ti8086loadnode.generate_threadvar_access
git-svn-id: trunk@31699 -
2015-09-15 13:02:25 +00:00
nickysn
e180814ea2
+ added the win16api text support functions
...
git-svn-id: trunk@31698 -
2015-09-15 12:37:53 +00:00
marco
1d609d552d
* patch from Denis Golovan with Opengl4.3 debug support. mantis #28670
...
git-svn-id: trunk@31697 -
2015-09-15 12:36:37 +00:00
Jonas Maebe
c7aabaa3b6
- removed FPC_OBJFPC_EXTENDED_IF-related code, FPC 2.6.4 has it
...
git-svn-id: trunk@31696 -
2015-09-15 11:52:02 +00:00
Jonas Maebe
28bc3bb294
- removed FPC_STRTOSHORTSTRINGPROC-related checks, FPC 2.6.4 has it
...
git-svn-id: trunk@31695 -
2015-09-15 11:51:58 +00:00
Jonas Maebe
ad66b06222
- removed FPC_STRTOCHARARRAYPROC-related checks, FPC 2.6.4 had it
...
git-svn-id: trunk@31694 -
2015-09-15 11:51:55 +00:00
Jonas Maebe
9ab80874cc
- removed FPC_REAL2REAL_FIXED-related checks, FPC 2.6.4 has it
...
git-svn-id: trunk@31693 -
2015-09-15 11:51:51 +00:00
Jonas Maebe
2afd8eb802
- removed FPC_HAS_STR_CURRENCY-related code, FPC 2.6.4 has it
...
git-svn-id: trunk@31692 -
2015-09-15 11:51:48 +00:00
Jonas Maebe
12030f904a
- removed FPC_HAS_VALGRINDBOOL-related checks, FPC 2.6.4 has it
...
git-svn-id: trunk@31691 -
2015-09-15 11:51:45 +00:00
Jonas Maebe
1c2bac7608
- removed FPC_HAS_VARSETS-related checks, FPC 2.6.4 has it
...
git-svn-id: trunk@31690 -
2015-09-15 11:51:42 +00:00
Jonas Maebe
858fd37483
- removed FPC_HASINTERNALOLEVARIANT2VARIANTCAST-related checks, FPC 2.6.4
...
has it
git-svn-id: trunk@31689 -
2015-09-15 11:51:38 +00:00
Jonas Maebe
da6382db2a
- removed FPC_HASFIXED64BITVARIANT-related checks, FPC 2.6.4 has it
...
git-svn-id: trunk@31688 -
2015-09-15 11:51:35 +00:00
Jonas Maebe
4494565a15
- removed RESSTRSECTIONS-related checks, FPC 2.6.4 has it
...
git-svn-id: trunk@31687 -
2015-09-15 11:51:32 +00:00
Jonas Maebe
555319ec15
- disabled x86-specific code when using llvm
...
git-svn-id: trunk@31686 -
2015-09-15 11:51:29 +00:00
Jonas Maebe
75992c1274
* don't allow records to be put in registers for the llvm target
...
git-svn-id: trunk@31685 -
2015-09-15 11:51:25 +00:00
Jonas Maebe
919bce9819
* also construct the high level code generator for high level targets; they
...
don't use it for creating interface stubs, but they do for the abstract
wrappers
git-svn-id: trunk@31684 -
2015-09-15 11:51:22 +00:00
Jonas Maebe
06feac07a5
+ support for the text/file types on the JVM platform
...
git-svn-id: trunk@31683 -
2015-09-15 11:51:19 +00:00
yury
30b8137994
* arm-android: PIC compatible library startup code.
...
git-svn-id: trunk@31682 -
2015-09-14 23:22:26 +00:00
yury
61c0448903
* Big fix for ARM GOT support to make it work:
...
- Fixed access to symbols with offset.
- Always use register R9 for GOT pointer to prevent bugs when free register limit is reached in a function.
- GOT is not needed for function calls by name.
git-svn-id: trunk@31681 -
2015-09-14 23:15:10 +00:00
Jonas Maebe
3dccdab911
* fixed wrong parameter to file permissions parameter (patch by temp4746,
...
mantis #28634 )
git-svn-id: trunk@31680 -
2015-09-14 16:11:00 +00:00
Jonas Maebe
5f7b242222
* fixed compilation with -Oodfa/-O3
...
git-svn-id: trunk@31679 -
2015-09-14 16:10:57 +00:00
Jonas Maebe
f8d9e70ec2
* converted tnodeutils.InsertMemorySizes() to the high level typed constant
...
builder and activated it for llvm
git-svn-id: trunk@31678 -
2015-09-14 16:10:54 +00:00
Jonas Maebe
fa7ebba80d
+ new tcalo_no_dead_strip flag for the high level typed const builder to
...
indicate symbols that should never be removed by the linker
o TODO for llvm, needs support for the @llvm.used array (only used for
the compiler ident, so it's not that important
git-svn-id: trunk@31677 -
2015-09-14 16:10:51 +00:00
Jonas Maebe
bf10ae45de
* only add the llvm "sret" attribute to "struct return" parameters if they
...
are the first parameter (as required by llvm)
o ensure that for AArch64, "struct return" the parameter always is the first
parameter, as it needs to be returned in a special register there
git-svn-id: trunk@31676 -
2015-09-14 16:10:48 +00:00
Jonas Maebe
4564bffb85
* use binutils 2.19+ linker script "augmentation" functionality to specify
...
how the fpc sections have to be linked *on Linux*. This prevents the
"did you forget -T" warnings from ld, and in general is more correct than
our previous approach of specifying a complete linker script without -T
and hoping that there won't be any unexpected interactions with ld's
built-in linker script (fixed version of r31664, thanks to Alan Modra)
o use the new -X9 command line option to generate linker scripts that
are compatible with binutils older than 2.19 (reverts to the old
behaviour)
git-svn-id: trunk@31675 -
2015-09-14 07:24:54 +00:00
florian
5595651816
* define avr => cpu8bitalu
...
git-svn-id: trunk@31673 -
2015-09-13 21:07:23 +00:00
florian
40a5f97239
- cclasses unit is not used
...
git-svn-id: trunk@31672 -
2015-09-13 21:07:21 +00:00
Tomas Hajny
a35c9978b8
* correct the highest possible number of items in tab/group and fix the LIBPATH information moved by one line in the dialogue box
...
git-svn-id: trunk@31671 -
2015-09-13 20:41:26 +00:00
Jonas Maebe
e06a759e20
- reverted r31664, it causes crashes with some ld versions :/
...
git-svn-id: trunk@31670 -
2015-09-13 20:14:46 +00:00
Tomas Hajny
fd579d3406
* make sure that no tab/group contains more than 32 items
...
git-svn-id: trunk@31669 -
2015-09-13 19:52:38 +00:00
Jonas Maebe
4d0c42ee23
- removed double calling of handlemanagedbyrefpara() for managed targets,
...
not sure why it didn't cause problems before
git-svn-id: trunk@31668 -
2015-09-13 19:06:29 +00:00
Jonas Maebe
b12bedb9f8
- disabled InsertResStrTablesTable and InsertResStrInits for the JVM target
...
(they were not functional, but now cause internalerrors due to
invocations of the high level typed constant builder rather than their
output gets ignored)
git-svn-id: trunk@31667 -
2015-09-13 19:06:25 +00:00
Jonas Maebe
f4c868b06a
* fixed infinite Java assembler writer create loop after r31625
...
git-svn-id: trunk@31666 -
2015-09-13 19:06:22 +00:00
Jonas Maebe
0ea38852ac
* fixed compilation of the jvm compiler after r31591 - r31593
...
git-svn-id: trunk@31665 -
2015-09-13 19:06:19 +00:00
Jonas Maebe
cd41bf672c
* use binutils 2.19+ linker script "augmentation" functionality to specify
...
how the fpc sections have to be linked *on Linux*. This prevents the
"did you forget -T" warnings from ld, and in general is more correct than
our previous approach of specifying a complete linker script without -T
and hoping that there won't be any unexpected interactions with ld's
built-in linker script
o use the new -X9 command line option to generate linker scripts that
are compatible with binutils older than 2.19 (reverts to the old
behaviour)
git-svn-id: trunk@31664 -
2015-09-13 19:06:14 +00:00
marcus
54961de266
AROS: complete rewrite ASL and MUI
...
git-svn-id: trunk@31663 -
2015-09-13 17:55:55 +00:00
nickysn
c7ecf84fc0
* fixed compilation of threadvars in i8086 far data memory models
...
git-svn-id: trunk@31662 -
2015-09-13 12:52:23 +00:00
Jonas Maebe
381270bf30
* changed the threadvars table count back from
...
tai_const.create_32bit_unaligned() into tai_const.create_32bit() after
r31649 (Lazarus autocompletion...) (fixes webtbs/tw3540.pp regression)
git-svn-id: trunk@31661 -
2015-09-13 07:56:12 +00:00
Jonas Maebe
06fc6ac491
* fixed threadvar support on linux/i386 and android/i386 after r31639
...
(mantis #28672 )
git-svn-id: trunk@31660 -
2015-09-13 07:46:31 +00:00
Jonas Maebe
75012405fa
* add some llvm function flags
...
o in particular, mark fpc_setjmp as "returns_twice" so calls to it are
never converted into tail calls
git-svn-id: trunk@31659 -
2015-09-12 23:34:04 +00:00
Jonas Maebe
faf4a9cb38
* moved the generation of the "main" stub for libc-based platforms from
...
hlcgobj to pmodules/symcreat/ngenutil, so that it also works for llvm
git-svn-id: trunk@31658 -
2015-09-12 23:34:01 +00:00
Jonas Maebe
6909523b70
* handle atan, sqrt, ln, sin and cos in the x86 RTL for llvm
...
o there are llvm intrinsics for all of these except for atan,
but these obey "the same rules as the equivalent libc functions"
and I first have to investigate whether these libc functions
behave the same as our FPC implementations
git-svn-id: trunk@31657 -
2015-09-12 23:33:57 +00:00