Commit Graph

11567 Commits

Author SHA1 Message Date
marco
5d2a54136a * see also r31267, mantis #28289, change calculation.
git-svn-id: trunk@31381 -
2015-08-24 12:03:56 +00:00
nickysn
5dc42404cf * capitalize omf segment class names, as that's how other 16-bit compilers write them
git-svn-id: trunk@31371 -
2015-08-22 19:07:04 +00:00
nickysn
1643c5f073 * also capitalize 'DGROUP' in the msdos startup code as well after r31369
git-svn-id: trunk@31370 -
2015-08-22 18:56:36 +00:00
marco
f671c270b1 * new file belonging to previous commit
git-svn-id: trunk@31364 -
2015-08-22 12:24:07 +00:00
marco
f59b88f6f8 * Add support for libraries with C linking under Haiku
Patch by Olivier, mantis #28558

git-svn-id: trunk@31362 -
2015-08-22 12:23:15 +00:00
nickysn
536346a441 * use 'dw' instead of 'dd' to reference the stack, in order to prevent nasm from
generating a 32-bit fixup record

git-svn-id: trunk@31353 -
2015-08-20 21:51:23 +00:00
nickysn
3ee0fc22d9 * use 'dw' instead of 'dd' to reference the heap from the i8086-msdos startup
code, because 'dd' causes nasm to emit a 32-bit OMF relocation entry, which
  we won't support (at least initially) in our internal linker

git-svn-id: trunk@31345 -
2015-08-19 14:33:56 +00:00
Jonas Maebe
dc1f5f1a13 * Haiku use UTF-8 from day one, so it make sense to use the corresponding
code page as the default one (patch by Olivier Coursière, mantis #28520)

git-svn-id: trunk@31333 -
2015-08-16 13:22:57 +00:00
Jonas Maebe
356703f479 * regenerated after enabling fpwidestring
git-svn-id: trunk@31331 -
2015-08-16 13:22:51 +00:00
Jonas Maebe
f19d978f3d + add support for fpwidestring under Haiku (and a few other units) patch by
Olivier Coursière, mantis #28521)

git-svn-id: trunk@31330 -
2015-08-16 13:22:48 +00:00
Jonas Maebe
7f61cf5519 * Modify CODESET value according to the corresponding declaration in
langinfo.h under Haiku (patch by Olivier Cousière, mantis #28523)

git-svn-id: trunk@31329 -
2015-08-16 13:22:45 +00:00
Jeppe Johansen
5a302dfabb Fix some addresses that were missing a zero in CortexM7 unit.
Change all .word directives to .long in stm32f7xx headers.

git-svn-id: trunk@31325 -
2015-08-15 12:23:08 +00:00
marco
8cf0c3bcb6 * camel case paramcount as per mantis #28503
git-svn-id: trunk@31307 -
2015-08-10 08:17:46 +00:00
michael
e5fba07668 * Fix bug #0028486
git-svn-id: trunk@31299 -
2015-08-07 12:00:40 +00:00
Jonas Maebe
eda52f81cd * fixed the type of the "count" parameter of the int_FinalizeArray() forward
declaration

git-svn-id: trunk@31289 -
2015-08-05 21:06:07 +00:00
florian
a797c2fc46 * calculate middle element P correctly if (L+R>=2^31), resolves #28289
git-svn-id: trunk@31267 -
2015-08-03 20:09:50 +00:00
Jeppe Johansen
4e646cca60 Forgot to add Cortex-M7 unit to previous commit.
git-svn-id: trunk@31258 -
2015-07-31 22:25:08 +00:00
Jeppe Johansen
2b80d46492 Added STM32F7xx controller units and types.
git-svn-id: trunk@31257 -
2015-07-31 22:21:16 +00:00
Jeppe Johansen
55669f62b1 Added most AVR controllers.
Made absolutevarsym use PUint instead of AWord for its offset to fix range errors.

git-svn-id: trunk@31242 -
2015-07-29 21:01:21 +00:00
florian
42ea874bb1 * avr version corrected for several controllers
git-svn-id: trunk@31237 -
2015-07-27 19:49:02 +00:00
michael
8600940c26 * Initialize and finalize
git-svn-id: trunk@31224 -
2015-07-23 18:52:33 +00:00
Károly Balogh
eb3bd4648c amicommon: actually, not all filesystems (FTPMount, for example) support the ExamineFH method, so fall back to double-seek in that case
git-svn-id: trunk@31223 -
2015-07-23 18:43:37 +00:00
marco
4e6f673a6d * patch from #27919, enabling resources for gba, fixing fcl-base build.
git-svn-id: trunk@31221 -
2015-07-23 11:32:07 +00:00
pierre
f08fa883e2 Pipe syscall for DragonFly also uses EAX:EDX for result, like FreeBSD
git-svn-id: trunk@31209 -
2015-07-14 21:58:27 +00:00
pierre
b67b407d2d Add call to _init_tls and _rtld_call_init functions for x86_64 DragonFly target startup
git-svn-id: trunk@31208 -
2015-07-14 21:56:55 +00:00
florian
ba1297b1ab + provide also 8 and 16 bit div/mod helper
* tmoddivnode.first_moddivint does not force a 32 bit helper, the used helper depends now on the resultdef type set by tmoddivnode.pass_typecheck

git-svn-id: trunk@31195 -
2015-07-05 20:16:50 +00:00
michael
0958ff80de * Fix bug #28364
git-svn-id: trunk@31185 -
2015-07-01 19:57:10 +00:00
michael
770ad238f4 * Added Fail and TypeOf routines
git-svn-id: trunk@31182 -
2015-07-01 19:42:02 +00:00
Károly Balogh
7eb05ba2ab AROS: use BPTR type as filehandle. BPTR is now PtrInt instead of a Pointer, because it's usually not directly referenceable, and that allows interoperability with THandle type
git-svn-id: trunk@31181 -
2015-06-29 23:11:02 +00:00
Károly Balogh
77bdd83bfc AROS/x86_64: regenerated Makefiles
git-svn-id: trunk@31177 -
2015-06-29 00:09:06 +00:00
Károly Balogh
32120a47f4 amicommon/sysutils: use THandle instead of Longint
git-svn-id: trunk@31175 -
2015-06-28 23:38:37 +00:00
Károly Balogh
c704b4b918 amicommon/sysfile.inc: use THandle instead of LongInt
git-svn-id: trunk@31174 -
2015-06-28 23:36:09 +00:00
Károly Balogh
51a6c217c7 amicommon/dos: some warning fixes - use PtrInt instead of LongInt; do not check for less than zero values in unsigned variables
git-svn-id: trunk@31173 -
2015-06-28 23:12:41 +00:00
marcus
627d63e7af AROS: Startup code for x64
git-svn-id: trunk@31165 -
2015-06-28 14:51:50 +00:00
Károly Balogh
cdfe930c31 Amiga-likes: fix the same header issues in Amiga and AROS, which was fixed for MorphOS in r30917
git-svn-id: trunk@31151 -
2015-06-23 23:22:22 +00:00
Károly Balogh
df0ac8cb02 powerpc: MorphOS recently started supporting the G5s, and it runs the G5s in non-G4-compatible mode much like Linux, therefore the DCBZ code seems to fail on them. So disable DCBZ usage for MorphOS as well.
git-svn-id: trunk@31132 -
2015-06-20 22:51:53 +00:00
Jonas Maebe
d57a85a2de * fixed compilation on non-Windows systems after r31035
git-svn-id: trunk@31043 -
2015-06-13 22:05:50 +00:00
Jonas Maebe
e54d0a41af * fixed ppoll for infinite timeouts (patch by Edmund Grimley Evans)
git-svn-id: trunk@31042 -
2015-06-13 21:02:02 +00:00
florian
ab43e07320 * reduce code size after r31031
git-svn-id: trunk@31041 -
2015-06-13 17:00:32 +00:00
michael
d9fec2035a * Add some compiler intrinsics
git-svn-id: trunk@31037 -
2015-06-13 16:44:32 +00:00
michael
b9fa0d0934 * Mimic minfloat for fpdoc
git-svn-id: trunk@31036 -
2015-06-13 16:37:33 +00:00
michael
633c8c7118 * Make sure TSystemTime is seen by fpdoc
git-svn-id: trunk@31035 -
2015-06-13 16:36:37 +00:00
michael
bb7e0f645f * Fake some types when running under FPDOC
git-svn-id: trunk@31034 -
2015-06-13 16:23:56 +00:00
michael
ebf465a42b * Default intrinsic and some base types added
git-svn-id: trunk@31033 -
2015-06-13 16:16:14 +00:00
Jeppe Johansen
353682db67 Enable SUBARCH directive for avr-embedded target.
git-svn-id: trunk@31032 -
2015-06-13 12:40:31 +00:00
Jeppe Johansen
ab9c8bb569 Fixed startup assembler code for the case where there's no data in .bss and/or in .data.
Fixed _stack_top symbol calculation so it works for all controllers.
Added ATTINY2313 controller.

git-svn-id: trunk@31031 -
2015-06-13 12:30:50 +00:00
svenbarth
b0fa341006 Fix for Mantis #28271.
rtl/objpas/classes/classes.inc:
  + new variable ExternalThreadsCleanup to keep track whether ExternalThreads list is currently cleared
  * TExternalThread.Create: add the thread instance to the external thread list
  * TExetrnalThread.Destroy: remove the thread instance from the external thread list (if not in system cleanup anyway)
  * CommonCleanup: set ExternalThreadsCleanup to true so that the threads don't remove themselves from the list anymore

+ added test

git-svn-id: trunk@31028 -
2015-06-12 13:39:31 +00:00
michael
1ec8a3bde9 * Small corrections to previous patch from Denis Kozlov (bug ID 13518)
git-svn-id: trunk@31026 -
2015-06-12 07:17:37 +00:00
michael
a3e542eba4 * Patch for incomplete backtraces on error
git-svn-id: trunk@31025 -
2015-06-12 07:12:53 +00:00
michael
b36386baf0 * TStreamReader (TTextReader) implementation by Sylvio Clecio (bug ID 28075)
git-svn-id: trunk@31022 -
2015-06-10 21:38:55 +00:00