Commit Graph

38668 Commits

Author SHA1 Message Date
lacak
a86c4af0d6 mssqlconn: implement missing methods CreateDB/DropDB
git-svn-id: trunk@22871 -
2012-10-29 07:46:58 +00:00
florian
6d055e71b9 * fix gdbint for mingw libgdb 7.2 we provide in the contribs dir
git-svn-id: trunk@22870 -
2012-10-28 21:28:40 +00:00
florian
99fbb83247 * increased IDE copyright year
git-svn-id: trunk@22869 -
2012-10-28 21:27:59 +00:00
marco
4d6b9540dd * changed all version numbers to 900044 for freebsd 9. Expanded script to deal with
all its incarnations.

git-svn-id: trunk@22868 -
2012-10-28 20:02:00 +00:00
tom_at_work
3d0dd28350 Improve memory barriers on ARM
- memory barriers are only needed on armv6 and up
 - DMB on ARMv6 is "mcr 15, 0, r0, cr7, cr10, {5}", not "mcr 15, 0, r0, cr7, cr10, {4}"
 - improve write barrier on armv7 by using "dmb st" instead of "dmb sy"
todo: The use of the correct barrier code should be determined during runtime.

git-svn-id: trunk@22867 -
2012-10-28 19:38:36 +00:00
florian
3143f0e1be * fix by Jeppe Johansen for bitscan which was broken by the last fix for normal arm code
git-svn-id: trunk@22866 -
2012-10-28 17:57:22 +00:00
tom_at_work
312e8b8ecc Add implementations for read/write barrier code for ARM
git-svn-id: trunk@22864 -
2012-10-27 22:53:44 +00:00
pierre
6d13176d9a Add support for GDB 7.5 release and change all packrecords to C
git-svn-id: trunk@22863 -
2012-10-27 22:41:19 +00:00
pierre
3915b8e7f9 Only consider -l option if -l is at start of argument
git-svn-id: trunk@22862 -
2012-10-27 21:58:24 +00:00
florian
1ecc2672bb * don't assembler or link test to avoid linker or assembler errors due to wrong architecture
git-svn-id: trunk@22861 -
2012-10-27 21:05:56 +00:00
florian
1520bcc4f0 * fix bsf for armv7+
git-svn-id: trunk@22860 -
2012-10-27 20:17:58 +00:00
florian
8221681871 + add spilling info for the RBIT instruction
git-svn-id: trunk@22859 -
2012-10-27 20:17:12 +00:00
sergei
499162ca50 * Internal linker: fixed alignment routines. Neither of existing ones is suitable for 64-bit targets: cutils.align() is 32-bit only and moreover signed, system.align() crashes on zero alignment values and handles only pointer size of source platform.
Therefore, added dedicated routines align_aword and align_qword that handle target platform size and 64-bit unsigned, respectively.
+ Also added TExeOutput.FixedSectionAlign boolean that, when set to False, ignores SectionDataAlign and SectionMemAlign and aligns every exe section to its own SecAlign value. This kind of alignment is used on ELF targets.

git-svn-id: trunk@22858 -
2012-10-27 14:21:14 +00:00
ludob
a9e6baf5c9 TSQLite3Connection add support for adding/removing user-defined COLLATIONs; Mantis #22925 patch from Lacak2
git-svn-id: trunk@22857 -
2012-10-27 11:53:14 +00:00
Jonas Maebe
df7398977a * correctly calculate the number of words spanned by a packed aggregate
that does not start at a multiple of 8 bytes (mantis #23212)

git-svn-id: trunk@22856 -
2012-10-27 09:05:28 +00:00
Jonas Maebe
2f2f394bee * fixed wrong opcode size
git-svn-id: trunk@22855 -
2012-10-27 08:12:31 +00:00
Tomas Hajny
c5ad42e82f * fix for missing space in emxbind parameters for resource files linking
git-svn-id: trunk@22854 -
2012-10-26 20:52:53 +00:00
Tomas Hajny
9a935fb172 * fix for missing space in emxbind parameters for resource files linking
git-svn-id: trunk@22853 -
2012-10-26 20:52:11 +00:00
michael
520d51cf7c * Patch from Ludo brands to add IsLibraryLoaded sqlite/src/sqlite3.inc
git-svn-id: trunk@22852 -
2012-10-26 17:10:35 +00:00
reiniero
307b617372 * Deal with DataSize of TStringField being larger than dsMaxStringSize
Patch by Laco, mantis 19940

git-svn-id: trunk@22851 -
2012-10-26 12:24:57 +00:00
lacak
3aedcd11f3 fcl-db test: rename obsolete test plus comment why it is safe to remove him at all. See also bug #22124
git-svn-id: trunk@22850 -
2012-10-26 08:43:48 +00:00
florian
8c73b0b17b * disable broken MvnAnd2Bic optimization
git-svn-id: trunk@22847 -
2012-10-25 17:51:25 +00:00
sergei
4f201bb826 + Handle R_X86_64_PLTOFF64 relocation (same as R_X86_64_GOTOFF64 but requests creation of PLT entry).
git-svn-id: trunk@22846 -
2012-10-25 16:24:29 +00:00
florian
f142019343 * set default cpu type to armv7a when compiling for armhf
git-svn-id: trunk@22845 -
2012-10-24 19:09:16 +00:00
michael
1f3870cc84 * Added NGINX instructions
git-svn-id: trunk@22842 -
2012-10-24 07:14:54 +00:00
svenbarth
58d9b0853c * rtl/m68k/m68k.inc, move:
add a check for "count = 0" which happens e.g. inside of System.Assign if called with '' as filename (which is the case inside OpenStdIO)

git-svn-id: trunk@22841 -
2012-10-24 05:03:08 +00:00
svenbarth
842bb90283 * m68k/cgcpu.pas, tcg68k.a_load_ref_reg:
"sign_extend" expects the old size, not the new size. This fixes the handling of "InOutRes" which is a Word...

git-svn-id: trunk@22840 -
2012-10-24 05:01:27 +00:00
florian
5e1e42ec2b * fixes support for cpus with cpunodefaultint for unary minus nodes
git-svn-id: trunk@22838 -
2012-10-23 20:27:07 +00:00
florian
d1b2a7732a + GetOffsetReg64
git-svn-id: trunk@22837 -
2012-10-23 20:16:13 +00:00
florian
a3dff44489 + support of 64 bit operations on avr
git-svn-id: trunk@22836 -
2012-10-23 20:15:47 +00:00
florian
ecd0749d73 * class name in comment fixed
git-svn-id: trunk@22835 -
2012-10-23 20:14:34 +00:00
florian
f76ba05758 * avoid useless GetNextReg calls in second_cmp for avr
git-svn-id: trunk@22834 -
2012-10-23 20:13:28 +00:00
Jonas Maebe
fd8827d379 * prevent compiler crash caused by double freeing after reporting not
overloaded operator errors

git-svn-id: trunk@22833 -
2012-10-23 16:50:30 +00:00
sergei
6023f73e2a * ELF linker: improved dynamic symbol handling.
+ Read .gnu.version sections and ignore local symbols and symbols with non-current version.
  + Check that external symbols are actually present in dynamic objects.

git-svn-id: trunk@22832 -
2012-10-23 15:16:10 +00:00
sergei
f94ba86bb9 * ModulesLinkToLibc: another fix. We also have to look in ImportLibraryList because items contained there aren't yet merged into linkothersharedlibs when this function is called.
git-svn-id: trunk@22831 -
2012-10-23 14:51:35 +00:00
sergei
90d564e6a5 + ELF linker: handle R_386_GOTOFF and R_X86_64_GOTOFF64 relocations
git-svn-id: trunk@22830 -
2012-10-23 14:13:31 +00:00
svenbarth
65a4d8baa2 Revert 22814. While this revision might fix compiler linking for Coldfire it breaks running any Coldfire up during OpenStdIO... I prefer running apps instead of a linking compiler.
Seems that I need to think this "fixref" stuff for symbols through a bit more...

git-svn-id: trunk@22826 -
2012-10-23 05:14:17 +00:00
florian
eeef57a2a1 * merging more of Jeppe Johansen's arm-embedded branch
git-svn-id: trunk@22824 -
2012-10-22 21:12:29 +00:00
masta
e91b15b2a4 Disabled MulAdd2MLA and MulSub2MLS Peephole optimizers for thumb2
According to Jeppe Johansen these are currently broken and emit the
operands in the wrong order.

git-svn-id: trunk@22822 -
2012-10-22 15:30:24 +00:00
masta
b047a80b14 Small fixes to ARM-Embedded RTL from Jeppe Johansen
Added FSMC register definitions(from Anton Rieckert)
Fixed faulty NVIC definitions

git-svn-id: trunk@22820 -
2012-10-22 11:59:28 +00:00
michael
82f03f0e40 * added comment to explain the DefaultFileModuleClass purpose
git-svn-id: trunk@22819 -
2012-10-22 11:20:52 +00:00
masta
e327b4581c Use TRegNameTable instead of array[tregisterindex] of string[10]
TRegNameTable is defined in compiler/rgbase.pas and is an array of
strings, limited to the maximum length of the used register names.

r22792 added a long register name but did not scale the string-size
enough, resulting in the compiler built breaking for arm.

git-svn-id: trunk@22817 -
2012-10-22 10:23:21 +00:00
lacak
65a8b90356 Char-case is not guaranteed to be always upper-case, so use LowerCase like others sqlDB connections.
git-svn-id: trunk@22816 -
2012-10-22 08:07:07 +00:00
florian
7150832ec9 + Cortex-M3 special registers, resolves #23185
git-svn-id: trunk@22815 -
2012-10-21 20:06:07 +00:00
svenbarth
cb8db8fa23 * m68k/cgcpu.pas, tcg68k.fixref:
always handle the symbol if base is set

git-svn-id: trunk@22814 -
2012-10-21 19:46:41 +00:00
Jeppe Johansen
628d46f2d3 Fixed Bsf* functions on platforms that support RBIT
Fixed stackframe epilogue code for Thumb2 to allow proper processing of interrupts

git-svn-id: branches/laksen/arm-embedded@22813 -
2012-10-21 19:13:59 +00:00
florian
970405c0f3 o merging r22801 of Jeppe Johansen
git-svn-id: trunk@22812 -
2012-10-21 19:05:59 +00:00
Jonas Maebe
8097697362 * added jvm to fullcycle now that all warnings are fixed
git-svn-id: trunk@22811 -
2012-10-21 17:56:59 +00:00
Jonas Maebe
4dd2aff6c6 * explicitly disable overflow checking because that blows up the code far
beyond the 64kb per method limit (so that all tests can be compiled/run
    with the -Co command line parameter to check that functionality against
    false positives)

git-svn-id: trunk@22810 -
2012-10-21 17:56:50 +00:00
Jonas Maebe
027776a708 + test for range checking (and against false positives for overflow checking)
git-svn-id: trunk@22809 -
2012-10-21 17:56:42 +00:00