Jonas Maebe
9804fd527b
* don't add a thousands separator in FormatFloat if there are no digits
...
before it because the value is too small, regardless of what the format
pattern sepcifies (patch by Bart Broersma, mantis #13076 )
git-svn-id: trunk@23095 -
2012-12-02 16:57:41 +00:00
sergei
c4d8396158
* Function RelocName made a member of TElfTarget, so it can be used outside of TElfExeOutput class.
...
* Methods ReportNonDSOReloc and ReportRelocOverflow moved to TElfExeOutput, they are applicable to all target-specific descendants.
git-svn-id: trunk@23094 -
2012-12-02 13:05:53 +00:00
svenbarth
5adb28a935
m68k/aasmcpu.pas, taicpu.spilling_get_operation_type:
...
+ NEGX is a readwrite instruction
git-svn-id: trunk@23093 -
2012-12-02 11:48:57 +00:00
michael
053fd43324
* Small observer demo from Graeme Geldenhuys (bug ID 23329)
...
git-svn-id: trunk@23092 -
2012-12-02 11:24:42 +00:00
michael
5419d06a96
* Speed optimization similar to tpersist and tlist
...
git-svn-id: trunk@23091 -
2012-12-02 11:19:20 +00:00
sergei
d79761c607
* Changed TElfTarget from class to record, so it can contain data members while remaining statically allocated.
...
* Moved target-dependent constants into ElfTarget records, eliminates a lot of $ifdef's in ogelf.pas.
+ Added TElfTarget.loadsection hook and pass unknown sections to it.
git-svn-id: trunk@23090 -
2012-12-02 11:15:35 +00:00
michael
66553a253e
* Applied and expanded patch from Luiz Americo to implement faster notifyobservers (bug ID 23419)
...
git-svn-id: trunk@23089 -
2012-12-02 11:14:49 +00:00
michael
e3b48d6eb2
* Simplified observer/observed GUIDs, patch from Luiz Americo (Bug ID 23420)
...
git-svn-id: trunk@23088 -
2012-12-02 11:09:51 +00:00
sergei
006d795797
* Moved TElfsechdr into interface and cleaned up some ugliness in TElfObjInput code caused by TElfsechdr being not publicly available. Providing target-specific section loading becomes easier now as well.
...
git-svn-id: trunk@23087 -
2012-12-02 10:02:21 +00:00
sergei
8688f5e7b9
* Moved ELF definitions into a separate unit, which can be reused by CPU back-end units.
...
git-svn-id: trunk@23086 -
2012-12-02 09:50:15 +00:00
sergei
eb13da9355
* ognlm.pas cleanup:
...
- removed redundant assigned() checks before .Free
- removed DataPos_ExeSection method which only calls inherited
- removed all references to RelocSections variable, it's safe because TExeOutput doesn't handle it since r21971.
git-svn-id: trunk@23085 -
2012-12-01 15:25:34 +00:00
sergei
73030ddb57
+ Support smart-linked .rdata section with external linker for Windows targets after r23025.
...
git-svn-id: trunk@23084 -
2012-12-01 15:04:23 +00:00
sergei
129d737523
+ Allow TObjRelocation to be created without a symbol, such relocations are being used to tag specific positions on non-x86 targets.
...
* Write relocation format dependent dynamic tags based on actual sh_type of dynamic relocation sections, instead of global relocs_use_addend flag.
* Don't write DT_REL[A]COUNT tag if .rel[a].dyn section is not present.
git-svn-id: trunk@23083 -
2012-12-01 13:38:28 +00:00
lacak
816bee9198
fcl-db: tests: formatting + comments
...
git-svn-id: trunk@23082 -
2012-11-30 08:36:18 +00:00
pierre
93b2c1a717
Use dwarf2 as default debug format for Win64 target OS
...
git-svn-id: trunk@23081 -
2012-11-29 14:20:13 +00:00
michael
217679843e
* IFPObserver methods made public
...
git-svn-id: trunk@23080 -
2012-11-29 13:28:11 +00:00
michael
b774bbb681
* Use sender when notifying observers
...
git-svn-id: trunk@23079 -
2012-11-29 13:22:51 +00:00
pierre
4a9dcfe0b8
Fix condition for compilation and running of gdbver executable
...
git-svn-id: trunk@23078 -
2012-11-29 09:56:42 +00:00
sergei
a730830c19
* Factored code for allocating GOT slots into TElfExeOutput.AllocGOTSlot.
...
* Changed signature of GOTRelocPass1 to pass relocation index instead of relocation itself, because sometimes (e.g. when doing TLS relaxation) we need to process several subsequent relocations at once.
git-svn-id: trunk@23077 -
2012-11-29 06:37:28 +00:00
Jonas Maebe
d37c790ee6
+ tests for mantis #21505 (bug already fixed in r21975/21983)
...
git-svn-id: trunk@23076 -
2012-11-28 21:25:28 +00:00
lacak
6d8ac30a19
fcl-db: tests:
...
* add new method CommitDDL to TSQLDBConnector. There is often used in tests "if SQLConnType=interbase then TSQLDBConnector(DBConnector).Transaction.CommitRetaining;" so move this to separate method and use it.
* TODBCConnection in auto commit mode does not work well for Firebird/Interbase, so switch to manual commit mode.
git-svn-id: trunk@23075 -
2012-11-28 12:47:09 +00:00
lacak
595e413950
fcl-db: tests: use SQLServerType instead of SQLConnType.
...
To allow correctly testing TODBCConnection.
(we need know remote DB server to setup some tests)
git-svn-id: trunk@23074 -
2012-11-28 11:12:09 +00:00
pierre
18d6e113b6
Do not search sub-directories in library directory list,\n list all found libraries, but use the first one
...
git-svn-id: trunk@23073 -
2012-11-28 10:32:59 +00:00
lacak
7bd0c1df19
fcl-db: ibconnection: small cleanup
...
git-svn-id: trunk@23072 -
2012-11-28 07:33:54 +00:00
lacak
502ed76da2
fcl-db: base: add AsLargeInt for TFloatField
...
git-svn-id: trunk@23071 -
2012-11-28 06:47:33 +00:00
Jonas Maebe
a1923f02f8
* always mark symbols referenced by properties as "used"; in case the
...
property is private, the "used" tracking of the property itself will
indicate whether the symbol is actually used (mantis #22155 )
git-svn-id: trunk@23070 -
2012-11-27 16:40:51 +00:00
lacak
d53b5371bb
fcl-db: tests: adapt some tests for Interbase XE
...
(Interbase and Firebird are not the same; f.e. Interbase does not support BIGINT data type, CTEs, Execute block, insert returning etc.)
git-svn-id: trunk@23069 -
2012-11-27 12:35:06 +00:00
lacak
cf5bd7e5c1
fcl-db: base: add AsLargeInt for TFMTBCDField
...
git-svn-id: trunk@23068 -
2012-11-27 11:47:57 +00:00
reiniero
f7037fe06a
- fcl-db: removed faulty sdfdataset test against sdf spec as sdfdataset must comply with the RFC4180 CSV format, see issue #22980
...
git-svn-id: trunk@23067 -
2012-11-27 10:24:20 +00:00
reiniero
2ba03a9df7
+ fcl-db: Firebird/Interbase: add some metadata support: GetConnectionInfo and ODS major version
...
git-svn-id: trunk@23066 -
2012-11-27 08:31:32 +00:00
lacak
60602bfb34
fcl-db: tests: add TestSmallIntParamQuery
...
(plus small cleanup)
git-svn-id: trunk@23065 -
2012-11-27 07:19:15 +00:00
lacak
f6e23e07f1
fcl-db: postgresql: fixes loading of field data of type FLOAT4
...
(revealed by test TestSQLReal)
git-svn-id: trunk@23064 -
2012-11-26 13:28:53 +00:00
lacak
f58150e3fd
fcl-db: tests: improve testing for approximate numeric data types. SQL standard defines DOUBLE PRECISION (tested in TestSupportFloatFields), FLOAT (tested in TestFloat) and REAL (added new test TestSQLReal (single precision floating point values))
...
git-svn-id: trunk@23063 -
2012-11-26 13:08:39 +00:00
lacak
f3e071493f
fcl-db: test: adapt one test, which was MySQL specific to run on all sqlDB connectors.
...
(removed unused columns with DOUBLE data type, which is MySQL specific and prevents successful test table creation + add to GROUB BY clause column which is not part of aggregate function)
git-svn-id: trunk@23062 -
2012-11-26 10:58:11 +00:00
lacak
b1fa17411a
fcl-db: tests: formatting
...
(removes unneeded spaces in table definitions + adds comments to some tests where is not clear at first look what they tests)
git-svn-id: trunk@23061 -
2012-11-26 09:52:04 +00:00
lacak
030287d5d8
fcl-db: tests: add TestLargeIntParamQuery
...
git-svn-id: trunk@23060 -
2012-11-26 09:02:31 +00:00
lacak
5d6d67ac70
fcl-db: tests: use SQLServerType instead of SQLConnType.
...
To allow correctly testing TODBCConnection.
(we need know remote DB server to setup some tests)
git-svn-id: trunk@23059 -
2012-11-26 08:47:29 +00:00
Jonas Maebe
2dac1c445a
- disabled Stabs support on 64 bit targets (mantis #23365 )
...
* show a warning if an unsupported debug format is selected
git-svn-id: trunk@23056 -
2012-11-24 13:15:58 +00:00
Jonas Maebe
d749ac5354
* make ansistring unique before starting to change it using a pchar
...
git-svn-id: trunk@23055 -
2012-11-24 13:15:54 +00:00
Jonas Maebe
c7255f153e
* sets with the same base/range can still have a different size (and hence
...
not be equal) due to different packset settings -> still need conversion
(mantis #23204 )
git-svn-id: trunk@23054 -
2012-11-24 12:32:57 +00:00
michael
8535da3e99
* Use actual class instead of hard-coded base class in class methods
...
git-svn-id: trunk@23053 -
2012-11-23 22:25:55 +00:00
michael
9f054632a1
* Added some convenience methods
...
git-svn-id: trunk@23052 -
2012-11-23 22:13:35 +00:00
michael
8e67bf6e15
* Fix (adapted) from bug #23372
...
git-svn-id: trunk@23051 -
2012-11-23 20:00:58 +00:00
marco
d4ac343e3a
* LE and BE streamhelpers for tstream. Simplifies writing stream formats in a different endianness. (mostly CHM)
...
git-svn-id: trunk@23050 -
2012-11-23 17:17:16 +00:00
lacak
9e17ba4102
fcl-db: odbc: fix error when loading blobs.
...
(revealed by TestSQLClob)
git-svn-id: trunk@23049 -
2012-11-23 13:01:10 +00:00
lacak
b91969c407
fcl-db: tests: use SQLServerType instead of SQLConnType.
...
To allow correctly testing TODBCConnection.
(we need know remote DB server to setup some tests)
git-svn-id: trunk@23048 -
2012-11-23 12:52:42 +00:00
masta
e982f4789d
Removed unused register allocation in tarminlinenode.second_abs_long
...
git-svn-id: trunk@23047 -
2012-11-22 19:20:39 +00:00
pierre
d956808080
Fix bug introduced by myself for win32 dwarf info generation Bug #23365 and 23330
...
git-svn-id: trunk@23046 -
2012-11-22 13:49:21 +00:00
Jonas Maebe
631fa329e5
- disabled assembler implementations for darwin/i386 because they don't
...
work on i386 targets that require a 16-byte aligned stack
git-svn-id: trunk@23045 -
2012-11-22 13:34:21 +00:00
Jonas Maebe
dfe3ca5328
* prevent invalid typecast on targets using nestedfpstruct functionality
...
in case of type errors in the source (the compiler will already have
printed an error at this point)
git-svn-id: trunk@23044 -
2012-11-22 12:22:00 +00:00