nickysn
8a831f4c7f
* always clear segments and groups in the beginning of TOmfObjOutput.writeData, because the same objects is used for creating multiple object files
...
git-svn-id: trunk@30516 -
2015-04-09 15:42:29 +00:00
nickysn
f66d8cfb7f
* create normal object files, instead of using the internal "ar" writer in TInternalAssembler.writetreesmart in case the af_needar flag is set on an internal assembler
...
git-svn-id: trunk@30515 -
2015-04-09 14:50:22 +00:00
nickysn
7ecb7f83e9
+ create omf fixups for external symbols (external symbol index not set yet)
...
git-svn-id: trunk@30514 -
2015-04-09 13:56:55 +00:00
lacak
5ba4a65fe3
fcl-db: sdfdataset: better RecNo testing.
...
git-svn-id: trunk@30513 -
2015-04-09 13:56:53 +00:00
nickysn
e1ae2d9387
+ create a symbol relocation for external symbols in TOmfObjData.writeReloc
...
git-svn-id: trunk@30512 -
2015-04-09 13:48:56 +00:00
nickysn
fb234e2149
+ check record type in TOmfRecord_COMENT.DecodeFrom
...
git-svn-id: trunk@30511 -
2015-04-09 13:08:45 +00:00
nickysn
713f12f3f3
+ implemented TOmfRecord_GRPDEF.DecodeFrom
...
git-svn-id: trunk@30510 -
2015-04-09 12:45:47 +00:00
lacak
ab689edadb
fcl-db: sdfdataset: SetRecNo should take into account FDataOffset (aka FirstLineAsSchema). Revealed by TestSetRecNo.
...
git-svn-id: trunk@30509 -
2015-04-09 11:38:40 +00:00
lacak
db4d95be64
fcl-db: sdfdataset: InternalPost should call inherited InternalPost, not UpdateRecord
...
git-svn-id: trunk@30508 -
2015-04-09 09:05:00 +00:00
lacak
befb6ae1ea
fcl-db: sdfdataset: fix false negative test TestInsertOnEmptyDataset. By signal in previous test, that test dataset is changed, so it can be restored to original state after test completion (ResetNDatasets).
...
git-svn-id: trunk@30507 -
2015-04-09 08:25:53 +00:00
Jonas Maebe
8fc562a2f8
* fixed def used for saving the result of fpc_setjmp() after r30497, fixes
...
cycle for x86-86 (mantis #27812 )
git-svn-id: trunk@30506 -
2015-04-09 07:36:45 +00:00
lacak
9568f728f7
fcl-db: sdfdataset: implement BookmarkValid; revealed by test TestBookmarkValid
...
git-svn-id: trunk@30505 -
2015-04-09 07:17:23 +00:00
lacak
8098612ffc
fcl-db: sdfdataset: remove unused Bookmark offset variable
...
git-svn-id: trunk@30504 -
2015-04-09 07:06:09 +00:00
lacak
0dd93f2384
fcl-db: sdfdataset: RecNo should return nonzero value for State=dsEdit if there is valid record; Compatible with other datasets + test
...
git-svn-id: trunk@30503 -
2015-04-09 05:16:37 +00:00
Jonas Maebe
9079227c56
* don't give an internalerror when trying to prefetch a regvar or even
...
something without a location at all; it's a hint/optional operation,
so if there's nothing to prefetch just don't do anything
(mantis #27811 )
git-svn-id: trunk@30502 -
2015-04-08 20:35:13 +00:00
Jonas Maebe
a8db5e3dfb
* fixed alignment of widestring on win64 after llvm branch merge (should use
...
packrecords 4) (mantis #27806 )
git-svn-id: trunk@30501 -
2015-04-08 19:08:43 +00:00
Jonas Maebe
6391794958
* fixed -Oodfa warnings
...
git-svn-id: trunk@30500 -
2015-04-08 19:08:39 +00:00
Jonas Maebe
af61923dc3
* don't write parameter attributes in procvardefs
...
git-svn-id: trunk@30499 -
2015-04-08 19:08:36 +00:00
Jonas Maebe
a8cefa8fcd
- removed aggas.pas leftovers
...
git-svn-id: trunk@30498 -
2015-04-08 19:08:33 +00:00
Jonas Maebe
a674804869
* made fpc_setjmp() code generic and fixed it for llvm
...
git-svn-id: trunk@30497 -
2015-04-08 19:08:30 +00:00
nickysn
23b95cc291
+ added classes for writing EXTDEF omf records
...
git-svn-id: trunk@30496 -
2015-04-08 14:13:35 +00:00
nickysn
470fb65e80
+ implemented aasmcpu.process_ea for i8086
...
git-svn-id: trunk@30495 -
2015-04-08 12:54:09 +00:00
lacak
b8f8e61957
fcl-db: sqldb: keep in synchro Database/Transaction when changing Database/Transaction, but only when NEW Database.Transaction or Transaction.Database is assigned. After discussion in DB-Core modifies rev. 30483. Bug #27805
...
git-svn-id: trunk@30494 -
2015-04-08 08:06:59 +00:00
lacak
63caee1cae
fcl-db: sqldb: cosmetic
...
git-svn-id: trunk@30493 -
2015-04-08 06:10:06 +00:00
nickysn
76da1db832
+ write all the public symbols in a PUBDEF record in the omf obj writer
...
git-svn-id: trunk@30492 -
2015-04-07 23:03:48 +00:00
nickysn
fb45d5e11b
* fixed some off-by-1 errors in TOmfRecord_PUBDEF.EncodeTo
...
git-svn-id: trunk@30491 -
2015-04-07 23:02:32 +00:00
nickysn
c4a8f22bc9
+ added classes for writing PUBDEF omf records
...
git-svn-id: trunk@30490 -
2015-04-07 22:18:46 +00:00
nickysn
35e008e44b
* TOmfRelocation modified to build the omf FIXUP subrecord later, during
...
writeData, when the ObjSection indexes are available; now we fill the proper
section/segment indexes, instead of hardcoded values.
git-svn-id: trunk@30489 -
2015-04-07 20:40:40 +00:00
nickysn
9e701454c6
+ add group "dgroup", this time built from the ObjSectionList, instead of hardcoded
...
git-svn-id: trunk@30488 -
2015-04-07 19:53:08 +00:00
Jonas Maebe
67be73afa5
* fixed type of size parameter of strn(case)cmp
...
git-svn-id: trunk@30487 -
2015-04-07 19:35:28 +00:00
Jonas Maebe
101fc3d4ec
* translate formaldef into "i8*", as intended, instead of "i8**" due to
...
the fact that this type is always passed by reference
git-svn-id: trunk@30486 -
2015-04-07 19:35:22 +00:00
Jonas Maebe
f94f9f44e4
* convert all arguments to integers in case of comparisons of pointers with
...
constants on llvm, as you can only compare with "null" in that case
* convert all arguments to integers in case of pointer subtractions,
as pointer subtractions are not supported by llvm
git-svn-id: trunk@30485 -
2015-04-07 19:35:08 +00:00
michael
c1935de563
* Patch from Laco to fix assigning transaction/database when database/transaction does not match
...
git-svn-id: trunk@30483 -
2015-04-07 13:09:56 +00:00
lacak
6a0afa1cc2
fcl-db: cosmetic
...
git-svn-id: trunk@30482 -
2015-04-07 09:38:28 +00:00
nickysn
068e3d93c7
* fixed warnings during compilation of an i8086 cross compiler
...
git-svn-id: trunk@30481 -
2015-04-07 09:33:22 +00:00
nickysn
13ed542f0c
+ also fill the "size" field in the SEGDEF records
...
git-svn-id: trunk@30480 -
2015-04-07 01:38:55 +00:00
nickysn
a0aa85f372
+ also fill "overlay name" in the SEGDEF records
...
git-svn-id: trunk@30479 -
2015-04-07 01:35:25 +00:00
nickysn
293ffda788
* build the list of SEGDEF records from the ObjSectionList, instead of using a
...
hardcoded list. Creation of dgroup temporarily disabled.
git-svn-id: trunk@30478 -
2015-04-07 01:33:11 +00:00
nickysn
1d236e8386
+ count omf sections and set their index starting with 1
...
git-svn-id: trunk@30477 -
2015-04-07 01:07:42 +00:00
nickysn
e87148c425
+ added property PrimaryGroup to TOmfObjSection; fill it with 'dgroup' if
...
section belongs to the group dgroup in the current memory model
git-svn-id: trunk@30476 -
2015-04-07 00:11:56 +00:00
nickysn
c7af648d69
+ added omf-specific properties to TOmfObjSection and fill them in the constructor
...
git-svn-id: trunk@30475 -
2015-04-06 23:48:39 +00:00
nickysn
38f8a942e2
+ added descendant class TOmfObjSection (empty for now) for storing omf sections' extra data
...
git-svn-id: trunk@30474 -
2015-04-06 23:26:52 +00:00
nickysn
a1bc36ab56
+ TOmfObjData.writeReloc: write the actual offset of the symbol in the section data
...
git-svn-id: trunk@30473 -
2015-04-06 21:43:06 +00:00
nickysn
6a7fff644a
* align non-code sections with zeros, instead of nops in the nasm asm output
...
writer, so they match the behaviour of the internal object writer (so it
becomes easier to compare to the binary output of the omf object writer)
git-svn-id: trunk@30472 -
2015-04-06 20:30:06 +00:00
florian
29c28fd710
+ define to be able to use epiktimer for time measurements
...
* write milliseconds correctly when not using epiktimer
git-svn-id: trunk@30471 -
2015-04-06 20:13:19 +00:00
florian
6e11efa664
- remove unneeded variable
...
git-svn-id: trunk@30470 -
2015-04-06 20:10:31 +00:00
Jonas Maebe
5d8483185f
* silence another warning from r30449
...
git-svn-id: trunk@30469 -
2015-04-06 16:42:27 +00:00
michael
5f1553c1e7
* Patch from Tony Whyman, adding DisplayWidth stored modified to TFIeld properties (bug 27768)
...
git-svn-id: trunk@30468 -
2015-04-06 16:36:31 +00:00
michael
2412a2faa2
* Fix for record no, recno tests pass
...
git-svn-id: trunk@30467 -
2015-04-06 16:33:26 +00:00
Jonas Maebe
640efba580
* fixed warnings after r30449/r30450
...
git-svn-id: trunk@30466 -
2015-04-06 14:24:09 +00:00