pierre
b145028f35
Allow testing of delayed pi_needs_got by internal error generated if compiler compiled with -dCHECK_PIC
...
git-svn-id: trunk@22547 -
2012-10-05 14:59:18 +00:00
tom_at_work
f4ba47a1c8
Fixed --march parameter passed to GNU as for ARM processors
...
git-svn-id: trunk@22541 -
2012-10-04 21:47:28 +00:00
joost
b886d5d55c
* Issue a warning when a package-name is used twice
...
git-svn-id: trunk@22540 -
2012-10-04 20:10:23 +00:00
joost
a2534fc8c6
* Show in debug-output why a package or target is being recompiled
...
git-svn-id: trunk@22539 -
2012-10-04 20:05:28 +00:00
joost
fbac245004
* Replaced remaining usage of build option with package variant
...
git-svn-id: trunk@22538 -
2012-10-04 19:25:41 +00:00
pierre
fd63593ec3
Add mips cpu code and generate helpful message for unsupported cpu
...
git-svn-id: trunk@22532 -
2012-10-04 07:28:29 +00:00
pierre
f2087d01a1
Set register to value parameter of longjmp procedure
...
git-svn-id: trunk@22531 -
2012-10-03 22:32:21 +00:00
pierre
6b911b4e43
* MIPS CPU is also less precise for arctan, as arm cpu
...
git-svn-id: trunk@22530 -
2012-10-03 22:01:52 +00:00
pierre
a1a171d7e8
Fix problems introduced by unaligned patch rev 22516 for 64bit systems
...
git-svn-id: trunk@22529 -
2012-10-03 21:11:21 +00:00
marco
ee51ccced6
* fixes #23025 , 64-bit issue with timer functions, patch by Luiz Americo
...
git-svn-id: trunk@22526 -
2012-10-03 19:06:22 +00:00
pierre
ff78c930c5
Fix problem in 64bit substraction
...
git-svn-id: trunk@22521 -
2012-10-02 23:35:02 +00:00
pierre
7c1db10df9
Handle new unaligned constant types
...
git-svn-id: trunk@22520 -
2012-10-02 22:30:22 +00:00
Jonas Maebe
ae56841ee6
* do not apply node CSE to nested loads on high level cpu targets, because
...
their nested tree already contains the load (subscriptn) for the variable
itself and there is no clean/easy way to avoid that in a completely
portable way in ncgnstld + test
git-svn-id: trunk@22519 -
2012-10-02 18:12:24 +00:00
pierre
a34c1ff22d
Use only unaligned constants in dwarf debug info as specified by standard
...
git-svn-id: trunk@22516 -
2012-10-02 14:00:03 +00:00
pierre
42bd8d6bc1
Handle new unaligned ait_const
...
git-svn-id: trunk@22515 -
2012-10-02 13:58:32 +00:00
pierre
b041b3ad4a
Add unaligned 16,32 and 64 bit tai_const, needed for dwarf
...
git-svn-id: trunk@22514 -
2012-10-02 13:03:54 +00:00
pierre
4b7a6ecc14
move currentregloc setting to ncgutil to avoid sysym unit ependency in aasmtai unit
...
git-svn-id: trunk@22513 -
2012-10-02 09:25:49 +00:00
florian
420cd9bd27
+ support for <text>^ in iso mode
...
git-svn-id: trunk@22512 -
2012-10-01 17:18:51 +00:00
florian
01fcc389be
* load sysutils unit by command line parameter so the unsupported uses in iso mode is avoided
...
git-svn-id: trunk@22511 -
2012-10-01 17:18:46 +00:00
florian
c95cfa20ba
* disable non-iso tokens in iso mode
...
git-svn-id: trunk@22510 -
2012-10-01 17:18:42 +00:00
pierre
37a7c1fc25
Add Dwarf debug info generation by default for mips cpu
...
git-svn-id: trunk@22509 -
2012-10-01 14:23:14 +00:00
pierre
fcaff0489c
* psub.pas : translate tregister for registerhi also
...
(avoids imaginary register number in "# Var I in register .." assembler comments.
* dbgdwarf.pas : Support register variables as register pairs.
Does not yet handle case of changing registers.
* symsym.pas : add currentregloc field to tabstractnormalvarsym class,
to be able to track changing registers used for a given variable.
* aasmtai.pas : Update currentregloc field of tai_varloc.create sym parameter.
* ncgutil.pas : Only generate a tai_varloc if the new registers are different for the variable.
git-svn-id: trunk@22508 -
2012-10-01 14:21:13 +00:00
pierre
b851a5a065
Accept range/overflow for address computation inside unit
...
git-svn-id: trunk@22507 -
2012-10-01 14:20:54 +00:00
florian
f25f44605e
- get rid of m_all, use a set instead for tokens, this allows to disable/enable tokens depending on the language mode
...
git-svn-id: trunk@22506 -
2012-09-30 21:03:35 +00:00
Jonas Maebe
91e1bdb08c
* allow overriding the FPCMAKE used for installing by specifying FPCMAKE
...
on the make command line
git-svn-id: trunk@22505 -
2012-09-30 14:14:23 +00:00
marco
f7ac18f2a0
* a few dword->dword_ptr fixes. I only fixed a few that sb in a forum stumbled on, I didn't do a full audit.
...
git-svn-id: trunk@22504 -
2012-09-30 10:32:32 +00:00
florian
54d3d736f5
* patch by Jeppe Johansen to add support for handling different flags for xPSR regs,
...
and add usermode parsing of LDM/STM ops
This patch basically extends the ARM assembly reader a bit to properly parse CPSR and
SPSR flags for the MSR opcode, and allows the reader to understand
the ^ modifer for register lists for STMxx and LDMxx.
Previously the following combinations weren't possible in straight assembler:
MRS R0, CPSR
MRS R0, SPSR
MSR CPSR_CX, R0
LDMIA SP, {R0-R15}^
etc..
git-svn-id: trunk@22502 -
2012-09-29 08:23:40 +00:00
pierre
0a755be6fe
* Fix assembler fileinfo position for x86 readers
...
git-svn-id: trunk@22501 -
2012-09-28 22:26:41 +00:00
pierre
d88ef103bb
Fix IInterface virtual method helper code for PIC mode (no L7 needed)
...
git-svn-id: trunk@22500 -
2012-09-28 22:20:32 +00:00
marco
5866e2435c
* some potential rangecheck errors fixed, Mantis #22933 , suggested fixes
...
by Anton
git-svn-id: trunk@22499 -
2012-09-28 20:04:00 +00:00
marco
37ed624706
* Make validchar writable, Mantis #23002 , patch by Anton
...
git-svn-id: trunk@22498 -
2012-09-28 19:55:41 +00:00
pierre
4295cc417e
Fix PIC instruction for syscalls
...
git-svn-id: trunk@22497 -
2012-09-28 14:47:54 +00:00
pierre
d95ff52463
Add PIC code
...
git-svn-id: trunk@22496 -
2012-09-28 13:52:02 +00:00
Jonas Maebe
d40d207552
* workaround because "public,alias" isn't supported yet on JVM targets
...
git-svn-id: trunk@22495 -
2012-09-28 08:15:05 +00:00
Jonas Maebe
b4971c72d3
* partial fix for mantis #22912 (waiting on clarification from Unicode
...
consortium for the character.pas unit)
git-svn-id: trunk@22494 -
2012-09-28 07:57:45 +00:00
Jonas Maebe
21e162604c
* fixed "make install" for jvm targets
...
+ implemented top level "make (cross)zipinstall" for jvm targets
(mantis #23005 )
git-svn-id: trunk@22493 -
2012-09-27 21:35:17 +00:00
Jonas Maebe
8258b99c70
* regenerated with jvm support, so top level 'make clean' works for jvm targets
...
git-svn-id: trunk@22492 -
2012-09-27 21:35:11 +00:00
pierre
c2a6fbbae3
Fix error in previous commit
...
git-svn-id: trunk@22491 -
2012-09-27 16:05:31 +00:00
pierre
7ea11f0171
Use SUPPORT_SAFECALL conditional
...
git-svn-id: trunk@22490 -
2012-09-27 15:59:57 +00:00
pierre
18698bc93d
Fix safecall for cpus for which NR_FUNCTION_RESULT_REG is different from NR_FUNCTION_RETURN_REG
...
git-svn-id: trunk@22489 -
2012-09-27 15:59:31 +00:00
pierre
42586baa34
Use SUPPORT_SAFECALL conditional
...
git-svn-id: trunk@22488 -
2012-09-27 15:57:40 +00:00
pierre
f36c769c2f
+ Add SUPPORT_SAFECALL conditional
...
git-svn-id: trunk@22487 -
2012-09-27 15:56:20 +00:00
pierre
2f24527ea0
Enable gotvarsym for sparc cpu
...
git-svn-id: trunk@22486 -
2012-09-27 15:55:07 +00:00
pierre
e2f5e11778
Add tf_pic_uses_got for sparc linux and sparc solaris
...
git-svn-id: trunk@22485 -
2012-09-27 15:54:21 +00:00
pierre
20c9d19764
Add PIC specific code
...
git-svn-id: trunk@22484 -
2012-09-27 15:50:31 +00:00
pierre
62356c0e17
+ add support for unlimited PIC mode
...
git-svn-id: trunk@22483 -
2012-09-27 15:50:02 +00:00
pierre
abef064786
Adapt TSigContext to structure found by debugging
...
git-svn-id: trunk@22482 -
2012-09-27 15:49:13 +00:00
pierre
5deddaec8c
Adapt TSigContext to structure found by debugging
...
git-svn-id: trunk@22481 -
2012-09-27 15:48:54 +00:00
pierre
333dec347c
Regenerate after: Use "-K PIC" for assembler call if pic mode is selected
...
git-svn-id: trunk@22480 -
2012-09-27 15:47:47 +00:00
pierre
543cf7e78b
Use "-K PIC" for assembler call if pic mode is selected
...
git-svn-id: trunk@22479 -
2012-09-27 15:47:31 +00:00