sergei
b497d53a98
* Fixed GOT address calculation (must take 'pop ecx' instruction into account)
...
git-svn-id: trunk@21758 -
2012-07-02 14:28:37 +00:00
joost
c02351da63
* Implemented autoincremental fields for TBufDataset
...
git-svn-id: trunk@21757 -
2012-07-02 11:42:05 +00:00
joost
ec67f10680
* Fixed CreateDataset when TBufDataset.Filename is set
...
* Clear old fielddefs before reading TBufDataset from file
* Call bindfields while reading a dataset from file while there are
(calculated) fields present + test
git-svn-id: trunk@21756 -
2012-07-02 10:28:37 +00:00
michael
bc3bf09c92
* Patch from Silvio Clecio to implement httponly cookie property
...
git-svn-id: trunk@21755 -
2012-07-02 07:33:14 +00:00
florian
3f14f2b61b
+ be able to turn off warning -> error conversion on the command line (with -)
...
git-svn-id: trunk@21754 -
2012-07-01 18:47:45 +00:00
florian
7df1403849
* fix releasing of shortstring temps. in arrayconstructor nodes
...
git-svn-id: trunk@21753 -
2012-07-01 18:46:54 +00:00
florian
c62a2c8bb5
+ write temptype when printing tempdelete nodes
...
git-svn-id: trunk@21752 -
2012-07-01 18:46:13 +00:00
florian
e59861a5a3
* fix directories for ports unit
...
git-svn-id: trunk@21751 -
2012-07-01 17:34:01 +00:00
marco
cbb9e3b077
* Improved pqconnection error reporting. Patch by Ludo, Mantis #22336
...
git-svn-id: trunk@21750 -
2012-07-01 15:50:13 +00:00
marco
2c3787d415
* properly initialize FPipeBuffersize. Follow up to Mantis #22327
...
git-svn-id: trunk@21749 -
2012-07-01 15:42:59 +00:00
sergei
1c5fa5448e
* Do not dereference null pointer, 'real' (not script-provided) common symbols don't have objsection assigned at this point.
...
git-svn-id: trunk@21748 -
2012-07-01 13:42:25 +00:00
masta
504a0ce0ca
Fix for Mantis #22326
...
This fixes 64bit shifts on arm with a constant shift value of 0.
The old code would have emitted something like this
mov r0, r0, lsl #32
as 32 is an invalid shift value (and would be wrong anyway) the
assembler declined to assemble the produced source.
The new code will just not emit any code for a shift value of 0.
tests/test/tint642.pp now tests shl/shr 0 on 64 bit values.
tests/webtbs/tw22326.pp is also added as an additional test.
git-svn-id: trunk@21746 -
2012-07-01 08:09:00 +00:00
florian
b83948b009
* rules updated
...
git-svn-id: trunk@21745 -
2012-07-01 07:50:16 +00:00
marco
b616fca354
* Mantis #22249 Mysql BIT type support.
...
git-svn-id: trunk@21743 -
2012-06-30 17:57:29 +00:00
marco
c4ec774c4c
* Fixes Sql parsing problems with spaces lacking between keyword and expression
...
(like where(id=0) ) Mantis #21965 , patch by Ludo, updated by Lacak2.
git-svn-id: trunk@21742 -
2012-06-30 17:53:42 +00:00
sergei
65e701a198
* Fixed operation of 'PROVIDE' link script directive (all symbols were incorrectly put into .bss section, instead of locations given by placement of the directive).
...
* Changed type of symbols created by link script from AT_FUNCTION to AT_DATA. This isn't significant for COFF, but matters for ELF targets.
* Changed alignment of .gnu_debuglink section from 0 to 1, this matches behavior of ld.
git-svn-id: trunk@21741 -
2012-06-30 17:32:45 +00:00
marco
e5f0c75efe
* make pipesize a property. Mantis #22327 , patch by Cyrax.
...
git-svn-id: trunk@21740 -
2012-06-30 15:47:24 +00:00
marco
b603182f1a
* (runcommand), fix for corruption of outputstring if command fails with
...
an exception. Patch by Ludo #22328
git-svn-id: trunk@21739 -
2012-06-30 13:27:20 +00:00
marco
1a3d8f483e
* crtwrite didn't handle buffer writes > 255 chars properly, and the textrec buffer is 256 currently (and has been since svn history start). Mantis #22334
...
git-svn-id: trunk@21738 -
2012-06-30 13:23:26 +00:00
sergei
c65abdeeae
* Implemented link map generation without involving TObjSection.ObjSymbolDefines, and removed the latter because it isn't used otherwise. The new approach uses CPU/memory only when map generation is requested.
...
git-svn-id: trunk@21737 -
2012-06-30 07:51:45 +00:00
Jonas Maebe
b0462d27cc
* by default, no longer initialize enumeration fields of classes/objects
...
with the enum instance corresponding to ordinal 0 in JVM constructors,
because a virtual method called by a parent constructor may already
have assigned a different value (see tests/test/jvm/tenum2.pp). This
will result in null pointer exceptions when using such fields without
first explicitly assigning a value to them though.
The old behaviour can be restored with the new -CTenumfieldinit command
line parameter
git-svn-id: trunk@21736 -
2012-06-29 21:24:35 +00:00
joost
4151e3f2c1
* Stream TBufdataset fmtBcd fields (xml)
...
* Stream TBufdataset blob and memo-fields (xml)
* Refactored code to recognize xml-fieldtypes
* ftVarBytes fields do not have the 'Binary' subtype (delphi compat)
* Use fielddefs instead of fields to stream dataset (fixes problems with
calculated fields)
* Added basic blob-tests
git-svn-id: trunk@21735 -
2012-06-29 16:04:55 +00:00
Jonas Maebe
bb28a7cd08
* decrease the fpu stack position counter after explicitly inserted
...
fist(t)pq instructions (mantis #22331 )
* also internalerror in case the internal fpu stack position counter
becomes larger than 7, so we don't have to wait for the entire
byte to overflow before we detect a problem
git-svn-id: trunk@21734 -
2012-06-29 09:52:35 +00:00
svenbarth
378dd7d6ab
fppu.pas, tppumodule.readsourcefiles:
...
set "temp" string to a useful value if "sources_avail" is "false" as otherwise
garbage is printed if "-vu" is given
git-svn-id: trunk@21733 -
2012-06-29 06:36:26 +00:00
sergei
32e399159f
* Factored common parts that can be/should be reused in the internal linker.
...
git-svn-id: trunk@21732 -
2012-06-28 20:21:17 +00:00
sergei
1284be72ea
* Fixed alignment of '.data' section, which got accidentally changed from 16 to 8 by r21374, causing e.g. tests/test/tasm3.pp to crash if compiled without -Cg and on target without tf_smartlink_sections. The root problem is not here, however: if appending data with higher alignment to a section with lower alignment, we likely need to raise the alignment of section.
...
git-svn-id: trunk@21731 -
2012-06-28 18:35:34 +00:00
sergei
346fbef445
* Factored a common linker script building block into separate method.
...
git-svn-id: trunk@21730 -
2012-06-28 17:18:02 +00:00
Jonas Maebe
fdbe35aadf
* only try to call procvars while choosing overloads in case they don't
...
require any parameters (mantis #22320 )
git-svn-id: trunk@21729 -
2012-06-28 14:41:31 +00:00
Jonas Maebe
ea516b59b0
* extended test
...
git-svn-id: trunk@21728 -
2012-06-28 14:39:16 +00:00
sergei
80bbd388f9
* Made removal of unused ExeSymbols a separate procedure, call it earlier and regardless of presence of the 'SYMBOLS' directive in the linker script.
...
git-svn-id: trunk@21727 -
2012-06-27 20:26:49 +00:00
sergei
185e34915c
- Removed level 2 comments and control characters in comments.
...
git-svn-id: trunk@21726 -
2012-06-27 20:04:39 +00:00
sergei
335d9346dd
* Fixed unclosed comment causing the test to fail for a completely unrelated reason.
...
git-svn-id: trunk@21725 -
2012-06-27 18:20:52 +00:00
Jonas Maebe
595f28e6fa
+ AnsistringClass.Create(unicodestring) constructor that implicitly selects
...
the DefaultSystemCodePage for use from Java code
git-svn-id: trunk@21724 -
2012-06-27 16:13:47 +00:00
pierre
0cea493014
* Fix hidden parameter for fpsigprocmask for mips cpu (16 instead of 8)
...
git-svn-id: trunk@21723 -
2012-06-26 23:13:27 +00:00
pierre
a3bc5eaa3f
* Fix spelling error in last commit
...
git-svn-id: trunk@21722 -
2012-06-26 22:49:34 +00:00
pierre
ef3bbf4c4a
Really use get_fsr set_fsr functions
...
git-svn-id: trunk@21721 -
2012-06-26 22:43:19 +00:00
Jonas Maebe
d472a6d5d0
* changed tregset into tcpuregisterset so it's faster and uses less memory
...
git-svn-id: trunk@21717 -
2012-06-26 19:01:11 +00:00
florian
3733a000a4
* fix compilation with -dextdebug
...
git-svn-id: trunk@21716 -
2012-06-26 17:22:09 +00:00
Jonas Maebe
571b3feab1
* fixed internalerror on win64 after r21696 (source register size depends on
...
the platform, mantis #22316 )
git-svn-id: trunk@21715 -
2012-06-26 17:01:34 +00:00
pierre
5597af2279
* Try to adapt sigcontext record to MIPS linux system
...
git-svn-id: trunk@21714 -
2012-06-26 16:23:06 +00:00
pierre
262bf0fe6e
* Fix Sigcontext field order for MIPS CPU
...
git-svn-id: trunk@21713 -
2012-06-26 16:21:57 +00:00
pierre
ba4122fda8
* Add fpu_XXX constants and use them for fpc_cpuinit procedure
...
git-svn-id: trunk@21712 -
2012-06-26 16:20:59 +00:00
pierre
3a082f8c29
Add defautl mips name and use mips instead of mipseb
...
git-svn-id: trunk@21711 -
2012-06-26 07:20:12 +00:00
sergei
0c32756ef3
- removed TCoffObjData.afteralloc, calculating MemPos there is useless because every call to afteralloc is immediately followed by call to TObjData.resetsections that resets all MemPos back to zero.
...
- PE_FILE_RELOCS_STRIPPED flag is meaningless for object files.
- Don't write PE_FILE_BYTES_REVERSED_LO as well, it is deprecated and GNU tools don't write it either.
- Don't set PE_FILE_32_BIT_MACHINE flag in x86_64 object files.
git-svn-id: trunk@21710 -
2012-06-25 23:26:07 +00:00
pierre
022d842b06
* Fix SIGXXX constants for mips CPU
...
git-svn-id: trunk@21709 -
2012-06-25 23:15:34 +00:00
pierre
48597c64ee
* get_caller_stackinfo: set framebp to nil if addr is nil
...
git-svn-id: trunk@21708 -
2012-06-25 22:43:08 +00:00
pierre
f340ef87e3
* get_addr function renamed to get_pc_addr
...
+ get_caller_stackinfo procedure added.
git-svn-id: trunk@21707 -
2012-06-25 22:17:49 +00:00
florian
117c083003
* call inherited Destroy in TAsmOptimizer to avoid memory leak
...
git-svn-id: trunk@21706 -
2012-06-25 20:19:19 +00:00
florian
6ae2a43161
* fix compilation with extdebug
...
git-svn-id: trunk@21705 -
2012-06-25 20:01:35 +00:00
sergei
8c8883cc35
* Once TExeOutput is accessible in TObjSection.fixuprelocs, its ImageBase can be used directly, without a need to have a copy in every TObjSection.
...
* Also simplified COFF symbol loading, separate array of symbol sizes is not needed because these sizes never change during the load.
git-svn-id: trunk@21704 -
2012-06-25 18:39:46 +00:00