Commit Graph

45612 Commits

Author SHA1 Message Date
Károly Balogh
bbecfeed9e Amiga: manually semaphore-protect the heap Pool, because classic Amiga has no MEMF_SEM_PROTECTED
git-svn-id: trunk@30356 -
2015-03-29 00:18:19 +00:00
Károly Balogh
0bccf5f09f morphos: use MEMF_SEM_PROTECTED flag for semaphore protect our memory pool. this is required for the future threading (concurrent accesses to the same pool from separate threads).
git-svn-id: trunk@30355 -
2015-03-28 22:58:49 +00:00
nickysn
6b0a19c0ab * fixed getting the address of a far proc on i8086 after the hlcgllvm branch merge
git-svn-id: trunk@30354 -
2015-03-28 17:31:52 +00:00
nickysn
0162b199f7 * fixed the i8086 g_intf_wrapper after the hlcgllvm branch merge
git-svn-id: trunk@30353 -
2015-03-28 14:33:22 +00:00
nickysn
003b283e55 * fixed thlcgcpu.g_exception_reason_save_const always generating a 286+ push
instruction on i8086, regardless of current cpu level

git-svn-id: trunk@30352 -
2015-03-28 13:59:10 +00:00
Jonas Maebe
8558624641 * reintegrated hlcgllvm branch. Note that llvm support is NOT complete yet
and won't be for quite some time. This merge is mainly to get the
    high level typed constant builder into trunk, and to avoid conflicts
    when code is modified that was moved/refactored in the hlcgllvm branch

git-svn-id: trunk@30351 -
2015-03-28 13:09:36 +00:00
Jonas Maebe
a30f0bc289 * fixed -Oodfa warnings
git-svn-id: branches/hlcgllvm@30350 -
2015-03-28 12:28:21 +00:00
Jonas Maebe
201121d7c9 * synchronised with trunk till r30345
git-svn-id: branches/hlcgllvm@30349 -
2015-03-28 12:28:15 +00:00
Jonas Maebe
f631430775 * made the allocation of labels for internal data in typed const builders
overridable, and implement those routines for llvm

git-svn-id: branches/hlcgllvm@30348 -
2015-03-28 11:34:04 +00:00
Jonas Maebe
e12bd99b59 * fixed compilation with -dllvm after r30343
git-svn-id: branches/hlcgllvm@30347 -
2015-03-28 11:34:02 +00:00
Jonas Maebe
5a2609933f * fixed crash in r30244 (we only have to get a new elementdef if we didn't
already initialise the location, and we won't get a new elementdef if
    the location is already assigned)

git-svn-id: branches/hlcgllvm@30346 -
2015-03-28 11:33:59 +00:00
nickysn
131422b594 + added methods for calculating and verifying the omf record checksum and
properties for accessing it

git-svn-id: trunk@30345 -
2015-03-28 01:55:03 +00:00
nickysn
359eaa4152 + added class for encapsulating an omf raw record
git-svn-id: trunk@30344 -
2015-03-28 01:37:57 +00:00
Jonas Maebe
25e6eaf07f * store the to be used recordalignmin and maxcrecordalign settings inside
(abstract)recordsymtables, so that these settings don't depend on the
    current user settings when internally creating record definitions

git-svn-id: branches/hlcgllvm@30343 -
2015-03-27 21:25:56 +00:00
Jonas Maebe
419a97cce8 * changed emit_ansistring_const() and emit_unicodestring_const() into
instance methods that make use of the internal data builder
    functionality so they automatically place all string data in the
    same section if possible

git-svn-id: branches/hlcgllvm@30342 -
2015-03-27 21:25:53 +00:00
Jonas Maebe
6ed273eec5 * support specifying the name of an internal data section
git-svn-id: branches/hlcgllvm@30341 -
2015-03-27 21:25:50 +00:00
Jonas Maebe
a76aba4a20 * converted a number of string data generators to the internal data builder
functionality

git-svn-id: branches/hlcgllvm@30340 -
2015-03-27 21:25:47 +00:00
Jonas Maebe
158116392c + ttai_typedconstbuilder.start_internal_data_builder() and
ttai_typedconstbuilder.finish_internal_data_builder() to generate data
    will only be referenced by the typed const that we are currently
    generating. Takes care of creating an appropriate label/section for
    this data, avoiding needless global symbols and sections.

git-svn-id: branches/hlcgllvm@30339 -
2015-03-27 21:25:43 +00:00
Jonas Maebe
be2f63aa97 + tasmlabel.createstatic() constructor for creating static data labels
(object-local, but not starting with (.)L, so they're still treated as
    the start of a subsection by Darwin's linker when dead-stripping)
  + tasmdata.getstaticdatalabel() that uses the above

git-svn-id: branches/hlcgllvm@30338 -
2015-03-27 21:25:40 +00:00
Jonas Maebe
560fe24c44 + getlocaldatalabel()
git-svn-id: branches/hlcgllvm@30337 -
2015-03-27 21:25:37 +00:00
Jonas Maebe
687bb15299 * renamed getdatalabel() to getglobaldatalabel
git-svn-id: branches/hlcgllvm@30336 -
2015-03-27 21:25:34 +00:00
Jonas Maebe
5e1bb8e408 + tcalo_make_dead_strippable to indicate that a typed constant data block
should be dead-strippable; may imply the creation of a separate section
    (on platforms that dead-strip data based on sections), but does not
    require it
  * replaced all existing tcalo_new_section uses with
    tcalo_make_dead_strippable, as that is their meaning/purpose

git-svn-id: branches/hlcgllvm@30335 -
2015-03-27 21:25:30 +00:00
Jonas Maebe
e924dbed90 * moved the specification of the options for a ttai_typedconstbuilder from
get_final_asmlist() to the constructor, in preparation of supporting the
    creation of internal builders for local data that will ignore some of the
    irrelevant flags (at creation time)

git-svn-id: branches/hlcgllvm@30334 -
2015-03-27 21:25:27 +00:00
pierre
97b4a68e98 * Use C default packing for TStatFS type (fixes errors for x86_64 CPU)
git-svn-id: trunk@30333 -
2015-03-27 11:13:59 +00:00
pierre
c4d3286d69 'size_t' system type is also 64-bit wide on OpenBSD for x86_64 CPU.
This change reduces testsuite failure count from 49 downto 30.

git-svn-id: trunk@30332 -
2015-03-27 07:18:56 +00:00
nickysn
49d501a798 + added unit omfbase for omf definitions; currently contains all the omf record
type constants

git-svn-id: trunk@30331 -
2015-03-27 00:44:01 +00:00
nickysn
f9d3e0c8d6 + the beginnings of an i8086-msdos internal obj writer
git-svn-id: trunk@30330 -
2015-03-27 00:01:11 +00:00
marco
c0e22fd89b * fix for #27723, ImmGetCompositionStringW returns long (signed)
git-svn-id: trunk@30327 -
2015-03-26 09:50:34 +00:00
michael
72180d1010 * Fix bug #26612, parsing of descendent of specialized class
git-svn-id: trunk@30326 -
2015-03-26 07:32:18 +00:00
lacak
b9b253dd02 fcl-db: tests: apply test for RecordCount for closed DataSet introduced in rev.30295 (only for TBufDataSet in TestSpecificTBufDataset) also to other datasets (in TestDBBasics, which covers all TDataSet descendants)
git-svn-id: trunk@30325 -
2015-03-26 06:50:11 +00:00
michael
cf6c07df4f * Small test program for xmlconf
git-svn-id: trunk@30324 -
2015-03-25 17:53:14 +00:00
michael
273b945473 * Added regular loadfromstream/saveToStream methods (bug 26003)
git-svn-id: trunk@30323 -
2015-03-25 17:52:18 +00:00
michael
63405dbfdd * Default is to run all tests, plain format
git-svn-id: trunk@30322 -
2015-03-24 18:42:57 +00:00
michael
9523fc3d33 * Added ExpectException call, to avoid creating a new method
git-svn-id: trunk@30321 -
2015-03-24 18:42:25 +00:00
michael
1768e35daa * Patch from Graeme Geldenhuys to fix changed output format in case of error
git-svn-id: trunk@30320 -
2015-03-24 15:53:04 +00:00
michael
759549168f * Output new error address, unit and line info
git-svn-id: trunk@30319 -
2015-03-24 15:46:16 +00:00
michael
5271c7674a * Patch from Graeme Geldenhuys to add exception address to addfailure/adderror
git-svn-id: trunk@30318 -
2015-03-24 13:47:14 +00:00
michael
83728983f3 * Patch from Graeme Geldenhuys to Fix compiler hint about signed/unsigned values
git-svn-id: trunk@30317 -
2015-03-24 13:44:33 +00:00
michael
0e1cc092f2 * Patch from Graeme Geldenhuys: New fail method with address pointer
git-svn-id: trunk@30316 -
2015-03-24 13:43:15 +00:00
michael
e227d76b7d * Patch from Graeme Geldenhuys to move FailNotEquals to main interface
git-svn-id: trunk@30315 -
2015-03-24 13:40:56 +00:00
michael
1f868aac8b * Patch from Graeme GeldenHuys: Allow to set an address in Fail calls
git-svn-id: trunk@30314 -
2015-03-24 13:38:37 +00:00
michael
cadb67e90b * Patch from Graeme geldenhuys: Additional ComparisonMsg (added overload)
git-svn-id: trunk@30313 -
2015-03-24 13:34:02 +00:00
michael
20aeb0e0ad * TTestFailure now has address information
git-svn-id: trunk@30312 -
2015-03-24 13:32:35 +00:00
michael
8ee96289fc * Patch from Graeme Geldenhuys: Some helper functions
git-svn-id: trunk@30311 -
2015-03-24 13:31:10 +00:00
michael
d540c77660 * Patch from Graeme Geldenhuys to use common consoletestrunner app
git-svn-id: trunk@30310 -
2015-03-24 13:27:33 +00:00
michael
0faf7d4435 * Patch from Graeme Geldenhuys to avoid compiler warning
git-svn-id: trunk@30309 -
2015-03-24 13:24:49 +00:00
michael
e21ed02d09 * Patch from Graeme Geldenhuys to remove duplicate output strings
git-svn-id: trunk@30308 -
2015-03-24 13:17:44 +00:00
michael
d9a205de45 * Patch from Graeme Geldenhuys so fpcunit can be compiled with 2.6.4
git-svn-id: trunk@30307 -
2015-03-24 13:15:32 +00:00
michael
23ca31480c * Fix bug ID #26571
git-svn-id: trunk@30306 -
2015-03-24 13:09:42 +00:00
lacak
d193c51dbd fcl-db: cosmetic
git-svn-id: trunk@30305 -
2015-03-24 12:41:54 +00:00