marco
bcfe5eb146
* large image aware PE flag value. Fixes Delphi programs that set peflags with constant.
...
git-svn-id: trunk@28737 -
2014-10-04 11:14:56 +00:00
marco
ff2186ce00
* OpenBSD gets no pie. (add -nopie)
...
git-svn-id: trunk@28736 -
2014-10-04 11:12:14 +00:00
Jeppe Johansen
e012b4fa23
Inline calls to FindSize which removes a lot of unnecessary calls.
...
git-svn-id: trunk@28735 -
2014-10-04 11:05:25 +00:00
pierre
d3755371fe
Regenerate after last commit: Add testppudump phony targets to packages and utils directory
...
git-svn-id: trunk@28734 -
2014-10-03 22:09:14 +00:00
pierre
227d983222
Add testppudump phony targets to packages and utils directory
...
git-svn-id: trunk@28733 -
2014-10-03 22:07:33 +00:00
pierre
aa6b62cf4c
Add new procedure option: po_syscall_has_libsym,
...
include this option only of libsym field
is non NIL.
Use this option to only write redef of libsym if needed.
Adapt ppudump source to this new procedure option.
git-svn-id: trunk@28732 -
2014-10-03 19:26:16 +00:00
sergei
de42f2f2f7
* Fixed handling of sign in constant expressions in Intel x86 assembler reader. Mantis #26668 .
...
git-svn-id: trunk@28731 -
2014-10-03 15:51:38 +00:00
sergei
d88e0df1ba
* Fixed another case of emitting data without defining a section. Mantis #26473 .
...
git-svn-id: trunk@28730 -
2014-10-03 11:19:25 +00:00
marco
b936b69730
* shlobj patch from Ocean with CMIC and BFFM constants as well as IShellDetails
...
Mantis #26806
git-svn-id: trunk@28729 -
2014-10-02 10:00:14 +00:00
pierre
fa8d44c523
Add missing generic/specialization parameter listing
...
git-svn-id: trunk@28728 -
2014-10-01 12:56:51 +00:00
nickysn
c3a58bf5a8
* fixed indentation in ptype.expr_type. Prevously it looked like the 'if' is
...
part of the 'else' clause of the previous 'if', but it actually isn't.
git-svn-id: trunk@28727 -
2014-09-30 21:42:35 +00:00
nickysn
d1ac1bf1e0
* fixed writing rtti published property getter/setter/stored proc info in the
...
i8086 far code/data memory models
git-svn-id: trunk@28726 -
2014-09-30 01:47:17 +00:00
nickysn
366dc179b6
* use tai_const.Create_int_code/dataptr(0) in tai_const.Create_nil_code/dataptr
...
git-svn-id: trunk@28725 -
2014-09-30 01:34:20 +00:00
nickysn
27a7c0863b
+ added constructors tai_const.Create_int_codeptr and .Create_int_dataptr. To be
...
used for emitting magic consts with the size of a code or data pointer (used
in e.g. rtti data).
git-svn-id: trunk@28724 -
2014-09-30 01:26:16 +00:00
nickysn
1e0a69fa7f
+ optimizations in SysTinyReAllocMem for the case when growing the heap block
...
and there is enough free space after the block
git-svn-id: trunk@28723 -
2014-09-29 09:48:45 +00:00
sergei
b70c5efa65
* SPARC peephole: check that result of GetNextInstructionUsingReg is actually an instruction, because GetNextInstruction can stop at a label. Resolves #26798 .
...
The same issue on MIPS targets was fixed by r28380, but I forgot to apply it also to SPARC.
git-svn-id: trunk@28722 -
2014-09-28 22:18:59 +00:00
nickysn
e9dc9735a0
+ check whether the pointer passed to SysTinyReAllocMem is within the heap area
...
(the same check used as in SysTinyFreeMem)
git-svn-id: trunk@28721 -
2014-09-28 15:27:44 +00:00
marcus
5fc019f31a
arosunits: Cybergraphics added
...
git-svn-id: trunk@28720 -
2014-09-28 10:26:43 +00:00
marcus
76b40cdcb7
arosunits: corrected some sycall offsets in amigados
...
git-svn-id: trunk@28719 -
2014-09-27 19:10:51 +00:00
marco
a8aa619228
* allow chmls extractall without second param. Patch by Reinier, mantis #26778
...
git-svn-id: trunk@28718 -
2014-09-27 12:21:05 +00:00
marcus
cfb73aede5
AROS: On ABIv0 AROS_FAST_BPTR must be set
...
git-svn-id: trunk@28717 -
2014-09-26 20:45:00 +00:00
sergei
beeb85f11c
* Don't force CORBA (unmanaged) interfaces to be returned in parameter. All managed types including Variant and COM interfaces are already checked by handle_common_ret_in_param, superfluous checks removed.
...
Mantis #26593 .
git-svn-id: trunk@28716 -
2014-09-26 16:03:13 +00:00
nickysn
e4f3f33692
+ optimization in SysTinyReAllocMem for the case of shrinking a memory block
...
git-svn-id: trunk@28714 -
2014-09-23 01:29:53 +00:00
Károly Balogh
a0d03d5f33
amunits: cleanup, removed the old amigasmartlinking define from icon
...
git-svn-id: trunk@28713 -
2014-09-23 00:02:50 +00:00
Károly Balogh
3f68c73a54
amunits: syscallified icon unit
...
git-svn-id: trunk@28712 -
2014-09-22 23:58:51 +00:00
sergei
a3c439c60f
- No longer insert BlockStart markers into asmlists. The presence of these markers disrupts peephole optimizations and require additional checks all over the place, causing various workarounds/hacks (like TAsmList.Create_without_marker) to start building up.
...
A more radical approach is to remove them altogether. Tested with i386-win32 (the oldest peephole optimizer), mips-linux (the newest one) and arm-linux (the most complex one) targets. The fallout was limited to two minor issues fixed in r28629 and r28708, respectively.
git-svn-id: trunk@28711 -
2014-09-22 21:33:50 +00:00
nickysn
a10c200090
* tdynarraytypedata.elSize changed from PtrUInt to SizeUInt; this fixes e.g.
...
setlength on dynarrays in the i8086 far data memory models
git-svn-id: trunk@28710 -
2014-09-22 20:18:07 +00:00
marcus
8c2a1ed026
Amiga: sockets, fcl-net, fcl-web included.
...
git-svn-id: trunk@28709 -
2014-09-22 18:12:43 +00:00
sergei
d37e72dbf9
* ARM: instructions do modify the base register of pre/postindexed references. Report this fact in spilling_get_operation_type_ref and RegModifiedByInstruction functions.
...
git-svn-id: trunk@28708 -
2014-09-22 16:18:16 +00:00
nickysn
2e0707f465
* fixed writing of dynarray rtti in the i8086 far data memory models
...
git-svn-id: trunk@28707 -
2014-09-22 16:12:11 +00:00
nickysn
782b033acd
* optimized SysTinyReAllocMem for the case when the new and old size are the
...
same after alignment to TinyHeapAllocGranularity
git-svn-id: trunk@28706 -
2014-09-22 12:48:12 +00:00
svenbarth
16774350d7
Fix for Mantis #26749 .
...
pgenutil.pas, generate_specialization:
* first check whether we can reuse the current specialization or another specialization and only /then/ retrieve the symtable to specialize to
+ added test
git-svn-id: trunk@28705 -
2014-09-21 19:15:37 +00:00
marcus
e7eb77a94a
Amiga: Video Unit ObtainBestPen instead of ObtainPen for low depth screens
...
git-svn-id: trunk@28704 -
2014-09-21 17:30:53 +00:00
marcus
34a726b89d
AROS: hooked the new debug stuff into the AROS RTL, to be compatible with MorphOS and Amiga
...
git-svn-id: trunk@28703 -
2014-09-21 17:05:48 +00:00
sergei
b08ffa0a87
* ARM: fixed detecting Thumb-style jump tables in insertpcrelativedata() after r28546.
...
git-svn-id: trunk@28702 -
2014-09-21 01:59:25 +00:00
Károly Balogh
27befd2375
amiga: reintroduced some of the exec debug functions, which were removed, but actually *DO* exist on classic Amiga and hooked the new SysDebug stuff into the Amiga RTL
...
git-svn-id: trunk@28701 -
2014-09-21 00:15:49 +00:00
nickysn
4e48190342
+ implemented Mark and Release for the tiny heap
...
git-svn-id: trunk@28700 -
2014-09-20 23:33:54 +00:00
Jonas Maebe
d26e6278ba
* don't free node before using its resultdef in an error message
...
git-svn-id: trunk@28699 -
2014-09-20 23:08:22 +00:00
marco
72b521e365
* fix result:=func(result) instead of result:=func(s). Mantis #26746
...
git-svn-id: trunk@28698 -
2014-09-20 12:08:53 +00:00
sergei
4a90d7e3de
+ ARM internal linker: very initial support for Thumb mode, helloworld-class programs compiled with "-Cparmv6m -CIthumb" can now run.
...
git-svn-id: trunk@28697 -
2014-09-19 22:33:37 +00:00
Károly Balogh
155ae9961e
MorphOS: hooked the new debug stuff into the MorphOS RTL
...
git-svn-id: trunk@28696 -
2014-09-19 21:18:33 +00:00
Károly Balogh
2fba1540c4
amicommon: removed the accidental leftovers of experiments for the last syscall fix for MorphOS
...
git-svn-id: trunk@28695 -
2014-09-19 21:17:37 +00:00
Károly Balogh
55d85fffad
amicommon: basic common debug facilities, influenced by Debug/DebugLn of the AROS port
...
git-svn-id: trunk@28694 -
2014-09-19 20:40:43 +00:00
sergei
ba324b1bf0
* Set default CPU type to cpu_pic32mx and FPU type to fpu_soft when compiling for mipsel-embedded, patch from Michael Ring.
...
git-svn-id: trunk@28692 -
2014-09-19 15:58:56 +00:00
marco
29e5418a4f
* remove construct with exception, mantis #26738 , patch by Alexander.
...
git-svn-id: trunk@28687 -
2014-09-18 11:34:29 +00:00
Károly Balogh
c22dd6f022
PowerPC: in MorphOS syscalls the explicit paraloc size should always be OS_ADDR
...
git-svn-id: trunk@28686 -
2014-09-18 10:25:28 +00:00
Károly Balogh
c0620d8ce0
amunits: syscallified bullet, colorwheel and zlib
...
git-svn-id: trunk@28685 -
2014-09-17 21:57:11 +00:00
marcus
8ec15cb6ba
AROS: some bugfixes for threading
...
git-svn-id: trunk@28684 -
2014-09-17 15:19:40 +00:00
Károly Balogh
26f8a732e8
aros: no executable flag in the SVN for source files
...
git-svn-id: trunk@28683 -
2014-09-16 22:22:03 +00:00
marcus
980abaa9ba
AROS: introduced threading without additional library
...
git-svn-id: trunk@28682 -
2014-09-16 19:32:56 +00:00