nickysn
28f7f16fc7
+ implemented reading of the LNAMES omf record
...
git-svn-id: trunk@30968 -
2015-06-01 14:25:51 +00:00
Károly Balogh
e5a05f2c27
amunits: syscallified AHI
...
git-svn-id: trunk@30967 -
2015-06-01 11:13:07 +00:00
Károly Balogh
b24db8a9c4
Amiga/MorphOS: enabled AThreads to build default for MorphOS and Amiga/68k. AROS might follow later.
...
git-svn-id: trunk@30966 -
2015-06-01 00:34:05 +00:00
nickysn
be57d4900d
+ started implementing TOmfObjInput.ReadObjData - we go through the expected
...
records and read them (without parsing them yet) and verify their checksums
git-svn-id: trunk@30965 -
2015-05-31 22:32:54 +00:00
florian
9216e561e2
+ make use of sbi/cbi
...
git-svn-id: trunk@30964 -
2015-05-31 21:11:53 +00:00
florian
a3553a7320
+ adds missing ct_atmega168 and ct_atmega368 symbols, thanks to mischi
...
git-svn-id: trunk@30960 -
2015-05-31 17:59:39 +00:00
Károly Balogh
0abb517ffb
amicommon: AThreads now supports calling suspend from the thread itself
...
git-svn-id: trunk@30959 -
2015-05-31 17:26:45 +00:00
Károly Balogh
6e6b00377f
amicommon: since system units now contain CREATE_SUSPENDED const, use that instead of a hardwired value
...
git-svn-id: trunk@30958 -
2015-05-31 17:25:31 +00:00
Jonas Maebe
337716d413
* fixed subscripting classes in llvm
...
* fixed subscripting an objectdef in llvm if the field belongs to a
parent type
git-svn-id: trunk@30957 -
2015-05-31 16:51:07 +00:00
Jonas Maebe
6c5f1327f4
* generate the correct llvm type description for classrefdef
...
git-svn-id: trunk@30956 -
2015-05-31 16:51:04 +00:00
Jonas Maebe
dd3d0ae5bc
* set the type of the hidden $vmt parameter to the correct classrefdef and
...
adjust the parameter comparison code to ignore types of $vmt parameters
when comparing (previously they were all voidpointer and hence also
equal)
git-svn-id: trunk@30955 -
2015-05-31 16:51:02 +00:00
Jonas Maebe
e9800ad3f9
* make the resultdef of left and right equal when comparing a procvar
...
with nil (for llvm)
git-svn-id: trunk@30954 -
2015-05-31 16:50:59 +00:00
Jonas Maebe
0d00c1a19d
* fixed type used when subscripting implicit pointer types (don't add
...
another indirection)
git-svn-id: trunk@30953 -
2015-05-31 16:50:56 +00:00
Jonas Maebe
26044b604f
* don't import org.freepascal.rtl.* as this also includes our System
...
class, which conflicts with java.lang.System in recent jdk javac's
(and we don't access any of the RTL classes explicitly in the
test program)
git-svn-id: trunk@30952 -
2015-05-31 16:50:53 +00:00
Jonas Maebe
a0a77f3105
* suppress (harmless) range error
...
git-svn-id: trunk@30951 -
2015-05-31 16:50:50 +00:00
Jonas Maebe
3f736f6114
* handle the loading of VMT entries at the node level, so it's done in a
...
type-safe way (for LLVM, and also internal consistency checking between
the VMT as generated in nobj.pas and ncgvmt.pas)
o also converted the VMT validity checking to the node level
git-svn-id: trunk@30950 -
2015-05-31 16:50:47 +00:00
Jonas Maebe
822b943d08
- removed most special handling of self (the self parameter has had the
...
correct type since quite a while)
o exceptions:
o objects/records (self is a "var" parameter there, and sometimes
we want to load it as a pointer to an object instead
o Objective-C class methods, where self has to be id (to have a signature
compatible with what Objective-C compilers generate), but when loading
it we want a classrefdef of the current class for type check and
method resolving
git-svn-id: trunk@30949 -
2015-05-31 16:50:44 +00:00
Jonas Maebe
fa9ba26cb4
* fixed the type of self in Objective-C category methods
...
git-svn-id: trunk@30948 -
2015-05-31 16:50:42 +00:00
Jonas Maebe
703e31512d
* moved JVM-specific code of tloadvmtaddrnode.pass_1 to njvmmem
...
* create separate nodes for Objective-C in tloadvmtaddrnode.pass_1
instead of implicitly relying on the fact that the Objective-C
ISA field is at the same offset as the VMT of Object-Pascal
classes
o translate the resulting loads of ISA field into direct pointer
accesses, so that even on non-fragile ABI platforms we don't
go via an indirection (like clang/gcc)
git-svn-id: trunk@30947 -
2015-05-31 16:50:39 +00:00
Jonas Maebe
033c28e5ac
* removed unnecessary and potentially wrong typecast
...
git-svn-id: trunk@30946 -
2015-05-31 16:50:36 +00:00
Jonas Maebe
48ffe7b033
* don't create RTTI for internally generated recorddefs (doing so can cause
...
undefined references to RTTI for some of the fields, and we don't need
it anyway because these types are not user-visible and we don't generate
variables of these types)
git-svn-id: trunk@30945 -
2015-05-31 16:50:33 +00:00
Jonas Maebe
0eab091e1a
* factored symansistr-define-conditional handling of fforcedprocname into
...
a property
git-svn-id: trunk@30944 -
2015-05-31 16:50:30 +00:00
florian
e9ef6347d2
* ATmega16 support by Anton Kavalenka, resolves issue #28217
...
git-svn-id: trunk@30943 -
2015-05-31 15:55:39 +00:00
Károly Balogh
0997122c4c
AThreads: less random Hungarian swearing as accidentally left in debug code :)
...
git-svn-id: trunk@30942 -
2015-05-31 10:06:36 +00:00
Károly Balogh
cdea58317e
classes: since AThreads supports suspended thread creation, enable resume code in AfterConstruction for Amiga-like platforms too
...
git-svn-id: trunk@30941 -
2015-05-31 09:37:43 +00:00
Károly Balogh
eacc41d3b3
AThreads: use ThreadInfo block pointer as ThreadID, instead of the ProcessPtr itself, because after the process exited that can be reused and leads to ID collisions in the list. Also added a small helper for Int to HexStr printing, so we could avoid a bunch of pointer casting all over the code.
...
git-svn-id: trunk@30940 -
2015-05-31 09:09:51 +00:00
florian
6a26268793
* correct number of interrupt vectors
...
git-svn-id: trunk@30939 -
2015-05-30 18:01:38 +00:00
florian
cf552b2a0b
+ ATmeag168/ATmeag368 support
...
git-svn-id: trunk@30938 -
2015-05-30 18:01:14 +00:00
florian
0cd521fc8b
+ ATmega48/ATmega88 support
...
git-svn-id: trunk@30937 -
2015-05-30 17:55:49 +00:00
florian
aadcf9f6bc
* do not convert JMP into RJMP in assembler blocks, resolves issue #280208
...
git-svn-id: trunk@30936 -
2015-05-30 16:17:24 +00:00
lacak
9f4333d20a
fcl-db: tests: Add sqlite3ds connector to db test suite. Patch from Luiz Americo. Bug #28200
...
git-svn-id: trunk@30935 -
2015-05-29 10:21:22 +00:00
Jonas Maebe
3634262437
+ Linux/AArch64 gprof-enabled startup code (patch by Edmund Grimley Evans)
...
git-svn-id: trunk@30934 -
2015-05-29 06:14:27 +00:00
Károly Balogh
24677c9309
amicommon: more work on AThreads
...
- reworked exit syncronization/waiting. now uses signalsemaphores instead of messaging. this avoids the requirement for an extra message port per thread, which caused signal shortages earlier.
- additional cleanups
- now try to free up "leaked" resources on exit
git-svn-id: trunk@30933 -
2015-05-29 02:07:37 +00:00
florian
d58d7b7838
* fixes breakage of r30930 (+ ATtiny24/ATtiny44/ATtiny84 support)
...
git-svn-id: trunk@30932 -
2015-05-28 21:15:00 +00:00
florian
e9d886cdfc
* cleanup
...
git-svn-id: trunk@30931 -
2015-05-28 21:10:58 +00:00
florian
0f73675354
+ ATtiny24/ATtiny44/ATtiny84 support
...
git-svn-id: trunk@30930 -
2015-05-28 21:10:39 +00:00
blikblum
a27cee5cfb
* Make GetRecNo return 0 on empty and closed datasets
...
git-svn-id: trunk@30929 -
2015-05-28 14:53:56 +00:00
blikblum
e8175ed0cf
* Revert undesired changes introduced in last commit
...
git-svn-id: trunk@30928 -
2015-05-28 14:29:35 +00:00
blikblum
2fff34b7b7
* Check for nil in BookmarkValid
...
git-svn-id: trunk@30927 -
2015-05-28 13:17:03 +00:00
blikblum
f1db1db8b9
* Move cursor forward instead of backward when deleting
...
git-svn-id: trunk@30926 -
2015-05-28 12:22:40 +00:00
Jeppe Johansen
36dfe750d8
Added Freescale MK20D7 controller support.
...
git-svn-id: trunk@30925 -
2015-05-28 11:46:22 +00:00
Károly Balogh
b4ce380cd4
amicommon/AThreads: use shared semaphores locks where possible for read-only access; preparations to be built in the RTL; code cleanups
...
git-svn-id: trunk@30924 -
2015-05-28 01:10:38 +00:00
Károly Balogh
6afcca7cd3
Amiga-likes: preparations for inclusion of AThreads into the RTL buildprocess
...
git-svn-id: trunk@30923 -
2015-05-28 00:47:35 +00:00
Károly Balogh
21a9b96e7e
amicommon: avoid SysUtils unit and AnsiStrings in AThreads
...
git-svn-id: trunk@30922 -
2015-05-27 22:37:50 +00:00
Károly Balogh
eb692e46d2
amicommon: added ShortString version of SysDebug family of functions
...
git-svn-id: trunk@30921 -
2015-05-27 22:25:22 +00:00
lacak
242d750ef5
fcl-db: sqldb: ExecuteDirect should call StartImplicitTransaction, when Transaction.Options contains stoUseImplicit (else it leads later to AV due to nil Transaction.Handle)
...
git-svn-id: trunk@30920 -
2015-05-27 05:06:01 +00:00
marco
b18365fb61
* part of mantis 028134, shlwapi unit with strlogical*
...
git-svn-id: trunk@30919 -
2015-05-26 17:56:59 +00:00
marco
c402bffc69
* part of mantis 028134, cleanup of NORM_ constants
...
git-svn-id: trunk@30918 -
2015-05-26 17:44:09 +00:00
Károly Balogh
2153420ca4
morphos: also fix MorphOS header erros in RTL
...
git-svn-id: trunk@30917 -
2015-05-25 23:52:09 +00:00
Károly Balogh
4261449aa1
morphunits: fix a field name typo in TMemEntry
...
git-svn-id: trunk@30916 -
2015-05-25 23:03:22 +00:00