Commit Graph

42683 Commits

Author SHA1 Message Date
Károly Balogh
9ae38cdc1c back to more conservative sign extension. this really needs separate handling for ColdFire and normal 68k, because the CF executes 32bit arithmetics only while normal 68k will do any size happily.
git-svn-id: trunk@27289 -
2014-03-26 15:02:50 +00:00
pierre
153a7d7357 Revert previous unwanted change to Makefile: restore normal Makefile generated using Makefile.fpc
git-svn-id: trunk@27288 -
2014-03-26 14:23:20 +00:00
pierre
555dcfd84f Add dependency on rtl-objpas package
git-svn-id: trunk@27287 -
2014-03-26 14:20:00 +00:00
lacak
f77885eea0 fcl-db: mysql: use SET NAMES instead of SET CHARACTER SET, because SET CHARACTER SET does not sets character_set_connection_to given value (instead uses character_set_database)
character_set_connection is used to interpret string literals in sql statements.
This patch depends on rev.27260 !

git-svn-id: trunk@27286 -
2014-03-26 11:26:02 +00:00
nickysn
22acb2e44b * moved the i8086 specific code from tpointerconstnode.create to the i8086
descendant class

git-svn-id: trunk@27285 -
2014-03-25 22:00:23 +00:00
pierre
cdac1d23cd Avoid infinite recursion if symbols and gdb window are displayed while running debuggee
git-svn-id: trunk@27284 -
2014-03-25 17:07:07 +00:00
sergei
5c1f404631 * softfpu.pp: clean up.
git-svn-id: trunk@27283 -
2014-03-25 14:45:41 +00:00
sergei
14ee9d52aa * Made constants DP1,DP2,DP3 local to function rem_pio2, because their values are correct only for double-precision calculations.
git-svn-id: trunk@27282 -
2014-03-25 14:32:14 +00:00
pierre
1396e903a5 Fix ugly error causing troubles in go32v2 2.6.4 release IDE with GDB
git-svn-id: trunk@27281 -
2014-03-25 11:21:44 +00:00
sergei
d1348d3f9b - i386 and x86_64: Once softfloat stuff has been cleaned up, SysResetFPU and SysInitFPU end up doing exactly the same. Removed one of them.
git-svn-id: trunk@27280 -
2014-03-25 10:52:07 +00:00
nickysn
bd75abb64b + fill the treference.segment in tcgtypeconvnode.second_pointer_to_array when
the source type is a far (or huge) pointer

git-svn-id: trunk@27279 -
2014-03-25 01:46:45 +00:00
nickysn
a9f56d2714 * refactored tcgtypeconvnode.second_ansistring_to_pchar to use the high level
code generator and work in all i8086 memory models. Removed the i8086-specific
  overriden version.

git-svn-id: trunk@27278 -
2014-03-25 01:27:58 +00:00
nickysn
897802c7c4 + fill the treference segment correctly in the load node for localvarsyms and
paravarsyms that are passed by reference in a i8086 far data memory model

git-svn-id: trunk@27277 -
2014-03-25 00:50:18 +00:00
nickysn
122f66b11a + support passing far addresses in tcg8086.a_loadaddr_ref_cgpara
git-svn-id: trunk@27276 -
2014-03-25 00:45:22 +00:00
nickysn
ee7a6dfc2e * set the para sizes correctly for push_addr_params in i8086 far data memory
models. This breaks compilation of the system unit in the compact and large
  memory models once again, but the generated code wasn't correct in the first
  place, so it's not really a loss.

git-svn-id: trunk@27275 -
2014-03-25 00:40:48 +00:00
nickysn
3cd9cef182 + added a far pointer aware implementation of hlcg.getaddressregister for i8086.
This should allow writing memory model independent code in the FPC code
  generator.

git-svn-id: trunk@27274 -
2014-03-25 00:18:32 +00:00
florian
9464dad2b4 * handle vldr/vstr references with offsets correctly
git-svn-id: trunk@27273 -
2014-03-24 19:20:29 +00:00
florian
01b311f6cf * do not insert constant tables on arm thumb in it* sequences
git-svn-id: trunk@27272 -
2014-03-24 19:20:01 +00:00
nickysn
510fa9596f * add 'option quiet' to wlink to suppress its info messages
git-svn-id: trunk@27271 -
2014-03-24 18:13:29 +00:00
nickysn
eddab86312 * pass the -b option to wlib to avoid creating .bak files
git-svn-id: trunk@27270 -
2014-03-24 17:35:11 +00:00
nickysn
ab3b3ab169 + i8086 far data memory model support in Sptr and get_frame
git-svn-id: trunk@27269 -
2014-03-24 17:10:38 +00:00
florian
3309254474 * do not write a space before the condition for instructions without operands, not sure why this was there
git-svn-id: trunk@27268 -
2014-03-24 17:09:28 +00:00
florian
23c8517418 * applying opXYX2opsXY to ADD makes no sense on thumb-2 (at least as far as I can see)
git-svn-id: trunk@27267 -
2014-03-24 17:01:38 +00:00
Károly Balogh
7093efe4c4 fixed comment, no functional changes
git-svn-id: trunk@27266 -
2014-03-24 16:53:29 +00:00
nickysn
4a649c9b08 + i8086 far data memory model support in DebugWrite
git-svn-id: trunk@27265 -
2014-03-24 16:51:38 +00:00
nickysn
32c3f4e682 + added cld to DebugWrite
git-svn-id: trunk@27264 -
2014-03-24 15:41:29 +00:00
nickysn
25be2bc720 * define macros identifying the code and data model in each of the memory models
git-svn-id: trunk@27263 -
2014-03-24 14:02:57 +00:00
nickysn
0236c2823a + added startup modules for compact, large and huge model that define the
memory model and include the common startup code prt0comn.asm (which is not
  yet adapted for the new models, but eventually will be)

git-svn-id: trunk@27262 -
2014-03-24 13:42:42 +00:00
nickysn
f4c463b6bd * prt0stm.asm renamed prt0comn.asm, as it will probably be used as the common
startup code for all memory models and not just for small, tiny and medium

git-svn-id: trunk@27261 -
2014-03-24 13:23:36 +00:00
michael
de1489f98c * Patch from Laco to initialize character set function
git-svn-id: trunk@27260 -
2014-03-24 12:34:59 +00:00
reiniero
77d74614cb fcl-db: cosmetic
git-svn-id: trunk@27259 -
2014-03-24 12:24:39 +00:00
reiniero
f005a65ce4 fcl-db:
* add logging support for TSQLConnection.ExecuteDirect

git-svn-id: trunk@27258 -
2014-03-24 12:10:15 +00:00
lacak
285d459801 fcl-db: sqldb: cosmetic
git-svn-id: trunk@27257 -
2014-03-24 10:57:36 +00:00
reiniero
e8de259b63 * fcl-db: cosmetic: debug output
git-svn-id: trunk@27256 -
2014-03-24 09:40:12 +00:00
reiniero
d9ba17b147 * fcl-db: cosmetic: debug output
git-svn-id: trunk@27255 -
2014-03-24 09:25:06 +00:00
reiniero
2cd94bcd8e * fcl-db: dbtestframework: database.ini template:
+ add mysql5.6 connector
+ resort db list; move descriptions below sections so GUI ini editor will not mess them up

git-svn-id: trunk@27254 -
2014-03-24 08:08:10 +00:00
lacak
0beac5834f fcl-db: postgres: PostgreSQL allows for TIME data type value ='24:00:00' and for INTERVAL data type >= '24:00:00'. Because we map both TIME, INTERVAL data types to ftTime fields, value can be >= TDateTime(1). Same for Params (if Param is of type ftTime value can be >= TDateTime(1) )
Fixes TestTimeParamQuery

git-svn-id: trunk@27253 -
2014-03-24 08:04:52 +00:00
reiniero
f7a7701f5c fcl-db: cosmetic
git-svn-id: trunk@27252 -
2014-03-24 07:36:20 +00:00
nickysn
71720533d7 * fixed the comparison of near pointers in i8086 far data memory models
+ added charfarpointertype and charnearpointertype to symdef
* the system unit compiles in the i8086 compact memory model now

git-svn-id: trunk@27251 -
2014-03-24 00:34:52 +00:00
nickysn
a0f08f3d5c * objpas.IntegerArray on 16 and 8-bit CPUs made as large as possible without
causing 'data element too large'

git-svn-id: trunk@27250 -
2014-03-24 00:01:13 +00:00
nickysn
a4ac2a3538 * fixed compilation of unit objpas in i8086 large memory model
git-svn-id: trunk@27249 -
2014-03-23 23:54:15 +00:00
nickysn
2b57a50233 * i8086 far data model implementation of typeconvnode.second_ansistring_to_pchar
git-svn-id: trunk@27248 -
2014-03-23 22:32:46 +00:00
nickysn
f6b18e9b8d * i8086 far data memory model fixes in defutil.def_cgsize
git-svn-id: trunk@27247 -
2014-03-23 22:14:09 +00:00
nickysn
97a3f50351 * use voidpointertype.size (supports i8086 far data memory models) instead of
sizeof(pint) to return the size of tabstractpointerdef

git-svn-id: trunk@27246 -
2014-03-23 20:34:19 +00:00
florian
7107e9d5ea * do cse on all const. intregable expressions
git-svn-id: trunk@27245 -
2014-03-23 20:11:15 +00:00
nickysn
043c0ba215 * use voidpointertype.size (which supports i8086 far data memory models) instead
of sizeof(pint) in tobjectdef.size and tobjectdef.alignment when returning the
  size and alignment of classes and interfaces

git-svn-id: trunk@27244 -
2014-03-23 19:36:33 +00:00
nickysn
5d9a193887 * use voidpointertype.size instead of sizeof(pint) in tarraydef in order to
determine the size of dynarrays correctly in the i8086 far data memory models

git-svn-id: trunk@27243 -
2014-03-23 18:33:14 +00:00
nickysn
149db35910 * i8086 far data memory model fix in ncgutil.new_exception
git-svn-id: trunk@27242 -
2014-03-23 18:11:50 +00:00
nickysn
ebdfbeaac8 * return voidpointertype.size instead of sizeof(pint) in tstringdef.size in
order to return the correct size in the far data i8086 memory models

git-svn-id: trunk@27241 -
2014-03-23 17:44:52 +00:00
nickysn
2556ada8da * instead of setting savesize in each of the tstringdef constructors, added an
tstringdef.size overriden method, which returns the proper size according to
  the string type

git-svn-id: trunk@27240 -
2014-03-23 17:29:10 +00:00