sergei
c5bf2ecb65
+ MIPS linker: added ELF header flags, TLS relocations and an utility procedure to handle endianness.
...
git-svn-id: trunk@24052 -
2013-03-29 14:11:27 +00:00
florian
40af7b2817
+ add msdos target to ppudump
...
git-svn-id: branches/i8086@24051 -
2013-03-29 10:46:34 +00:00
reiniero
09bee62013
* sqldb/dbf: remove deprecated status as it is maintained by FPC devs
...
git-svn-id: trunk@24050 -
2013-03-29 09:07:40 +00:00
nickysn
615d6e4a51
* internal compiler handling of Val() fixed for 16/8-bit CPUs
...
git-svn-id: branches/i8086@24049 -
2013-03-29 01:38:21 +00:00
nickysn
cac6ac38d0
+ added RTL helpers for Val() for longint/dword on 16/8-bit CPUs
...
git-svn-id: branches/i8086@24048 -
2013-03-29 01:19:14 +00:00
nickysn
8b6b832677
+ added helper functions for read/readln longint/longword on 16/8-bit cpus
...
git-svn-id: branches/i8086@24047 -
2013-03-28 23:56:47 +00:00
nickysn
9b79c52f32
* fixed bug in FPC_INTR and FPC_MSDOS
...
git-svn-id: branches/i8086@24046 -
2013-03-28 22:49:14 +00:00
nickysn
d8af51fdab
+ implemented do_read for i8086-msdos
...
git-svn-id: branches/i8086@24045 -
2013-03-28 22:22:47 +00:00
nickysn
1077093b08
+ added error checking to the dos file operations
...
git-svn-id: branches/i8086@24044 -
2013-03-28 22:03:13 +00:00
nickysn
c76b459324
* implemented the MsDos function with an asm prequel to the Intr function
...
git-svn-id: branches/i8086@24043 -
2013-03-28 21:41:55 +00:00
nickysn
7b578f3e9c
* reimplemented do_write and do_isdevice in Pascal, using the MsDos procedure
...
git-svn-id: branches/i8086@24042 -
2013-03-28 21:35:21 +00:00
nickysn
ceb76808e7
+ implemented the CSeg, DSeg and SSeg functions on the i8086
...
git-svn-id: branches/i8086@24041 -
2013-03-28 21:29:14 +00:00
nickysn
db07a990a9
* also save BP in FPC_INTR
...
git-svn-id: branches/i8086@24040 -
2013-03-28 21:26:44 +00:00
Jonas Maebe
9973a5737f
* don't give an error when calling a class method on an object typecasted
...
into a class reference (problem introduced by r23976)
git-svn-id: trunk@24039 -
2013-03-28 18:45:09 +00:00
Jonas Maebe
4daa40f480
* reorder register parameters to minimise the number of register conflicts,
...
which usually (but not always) results in better register allocation
git-svn-id: trunk@24038 -
2013-03-28 18:44:57 +00:00
nickysn
cd18b792ab
+ added Intr and MsDos implementations for i8086-msdos
...
git-svn-id: branches/i8086@24037 -
2013-03-28 18:17:25 +00:00
nickysn
1e28790e99
* fpc_PushExceptAddr's parameter Ft changed from LongInt to SmallInt on 16-bit CPUs for better efficiency
...
git-svn-id: branches/i8086@24036 -
2013-03-28 15:44:50 +00:00
nickysn
252903175c
* TExceptAddr.frametype changed to SmallInt on 16-bit CPUs, since the compiler allocates 3*sizeof(pint) for the whole structure (and using longints on 16-bit CPUs is wasteful anyway)
...
git-svn-id: branches/i8086@24035 -
2013-03-28 15:34:38 +00:00
nickysn
3b2ea4df6c
+ implmemented FPC_LONGJMP for i8086
...
git-svn-id: branches/i8086@24034 -
2013-03-28 14:59:57 +00:00
pierre
3ceac493eb
Commit go32v2 specific fix in 2.6.0 branch rev 20576
...
git-svn-id: trunk@24033 -
2013-03-28 13:04:54 +00:00
pierre
4f2691c729
+ Search CC, MAKE and AWK variables inside Makefile
...
+ Set CC_is_gcc to 1 if CC contains gcc substring
+ Use --verbose for LDFLAGS if using gcc
+ Create gdb_get_stdin.c source to avoid problems related to stdin
macro expansion on some targets. Add gdb_get_stdin.o object
to XM_ADD_FILES if compilation successful.
Set LIBGDB_HAS_GET_STDIN conditional in gdblib.inc on success.
* Rebuild libgdb.a with possible gdb_get_stdin.o added.
* Check for collect2 in make.log
+ Add libgdb.a manually if not use anymore on gdb executable command line.
* Try to avoid wrong parsing of library list.
git-svn-id: trunk@24032 -
2013-03-28 12:40:11 +00:00
pierre
2da4a7b3d9
* Add moe information about libgdb.a and examples from tests directory
...
git-svn-id: trunk@24031 -
2013-03-28 12:29:13 +00:00
pierre
d4ecf952f9
Basic GDB 7.6 support
...
git-svn-id: trunk@24030 -
2013-03-28 12:27:56 +00:00
sergei
1d32b107f5
* Made address comparison 64-bit safe.
...
* Referencing a section is basically referencing its AT_SECTION symbol, fixed reporting in map file.
git-svn-id: trunk@24029 -
2013-03-28 10:44:09 +00:00
svenbarth
3f79e75aaa
Applied patch from Reinier Olislagers. Fix for Mantis #24159 .
...
rtl/objpas/strutils.pp, ReplaceStr & ReplaceText:
Correctly assign the result value
git-svn-id: trunk@24028 -
2013-03-28 10:08:42 +00:00
paul
d80f47a601
rtl: apply similar to r24022-r24026 changes made by Jonas to other targets
...
git-svn-id: trunk@24027 -
2013-03-28 02:37:17 +00:00
Jonas Maebe
f17bd4d375
* register buildcollations as build unit so it doesn't get installed
...
git-svn-id: trunk@24026 -
2013-03-27 17:30:05 +00:00
Jonas Maebe
4992fd1c88
* prevent previously freed temp blocks from getting lost occasionally (can
...
significantly reduce the stack frame size, more than 3 times in one place
in the compiler)
git-svn-id: trunk@24025 -
2013-03-27 17:16:34 +00:00
Jonas Maebe
5104869d92
* let the character unit depend on buildcollations to prevent simultaneous
...
building of unicodedata by two different units (overwriting each other's
assembler/ppu output)
git-svn-id: trunk@24024 -
2013-03-27 17:16:30 +00:00
Jonas Maebe
477eeadaca
* made alloctemp more generic
...
git-svn-id: trunk@24023 -
2013-03-27 17:16:26 +00:00
Jonas Maebe
b08aa1ad75
* unicodedata and unicodeducet are also new implicit units (fixes installing)
...
* the collation units (via the unicode units) depend on sysutils (fixes
parallel building)
git-svn-id: trunk@24022 -
2013-03-27 16:04:27 +00:00
paul
fee6f4a5a6
rtl: enable collations build for darwin
...
git-svn-id: trunk@24021 -
2013-03-27 01:17:36 +00:00
paul
8e0c211b9a
rtl: enable collations build for linux
...
git-svn-id: trunk@24020 -
2013-03-27 01:03:54 +00:00
nickysn
5cda24a0b6
* fixed a lot of int64 const bugs on 16/8-bit CPUs by changing typecasts from aint to tcgint
...
git-svn-id: branches/i8086@24019 -
2013-03-27 01:01:15 +00:00
paul
3c0e11fa5a
utils: apply Inoussa patch Unicode utils (issue #0022909 ):
...
This patch fixes some memory overwrites that were causing the helpers crash.
It introduces the generation of the little endian and big endian files
regardless of the host endianess.
The patch also adds some new test cases. The cldrparser program now accepts a
"-t" switch to execute the test suite.
git-svn-id: trunk@24018 -
2013-03-27 00:57:50 +00:00
paul
c093297341
rtl: apply Inoussa patch to Unicode manager files (issue #0022909 )
...
git-svn-id: trunk@24017 -
2013-03-27 00:55:37 +00:00
nickysn
f1a974f3c9
* THandle type changed to Word for i8086-msdos
...
git-svn-id: branches/i8086@24016 -
2013-03-27 00:14:41 +00:00
nickysn
f780d37d5e
* proper defines of aitconst_ptr, aitconst_ptr_unaligned and aitconst_aint for 16-bit and 8-bit CPUs
...
git-svn-id: branches/i8086@24015 -
2013-03-27 00:01:30 +00:00
nickysn
b2fc6a2f6d
+ basic implementation of do_isdevice for msdos
...
git-svn-id: branches/i8086@24014 -
2013-03-26 18:58:00 +00:00
Jonas Maebe
7dfe1301c3
* fixed type in FloatToStrFIntl introduced in r23311 (mantis #24131 )
...
git-svn-id: trunk@24013 -
2013-03-26 18:53:37 +00:00
Jonas Maebe
262593c571
* "can not" -> "cannot"
...
git-svn-id: trunk@24012 -
2013-03-26 18:35:38 +00:00
nickysn
b79569ed2f
* Borland Pascal compatibility for 16-bit CPUs: int16 shl int32 now produces int32; this fixes writeln(longint) on the i8086-msdos target
...
git-svn-id: branches/i8086@24011 -
2013-03-26 00:59:04 +00:00
nickysn
e16e08b2b6
+ added CPU 286 nasm directive to the i8086 assembly output in order to catch 386+ instructions; the RTL now compiles without generating any 386+ instructions
...
git-svn-id: branches/i8086@24010 -
2013-03-26 00:57:38 +00:00
nickysn
53ad3fc662
+ Str() handling in the compiler fixed for 16/8-bit CPU support
...
git-svn-id: branches/i8086@24009 -
2013-03-25 23:58:09 +00:00
nickysn
4dfbf148f2
+ added Str() helpers for 32-bit ints for 16/8-bit CPUs
...
git-svn-id: branches/i8086@24008 -
2013-03-25 23:55:47 +00:00
nickysn
8fa9105151
+ 16-bit and 8-bit CPU support added in the internal handling of read/readln/write/writeln
...
git-svn-id: branches/i8086@24007 -
2013-03-25 23:23:48 +00:00
nickysn
697de721ef
+ added write/writeln helpers in the RTL for writing longints/longwords on 16/8-bit CPUs
...
git-svn-id: branches/i8086@24006 -
2013-03-25 23:21:42 +00:00
pierre
702effaad0
Force use of PIC compatible calling for register variable calls as procvars might be internal or external and thus require PIC
...
git-svn-id: trunk@24005 -
2013-03-25 21:53:31 +00:00
nickysn
44ef72e1a4
* use the generic implementation of abs for the i8086
...
git-svn-id: branches/i8086@24004 -
2013-03-25 21:43:47 +00:00
nickysn
8d75441b6e
* do not generate prefetchnt instructions on the i8086
...
git-svn-id: branches/i8086@24003 -
2013-03-25 19:18:18 +00:00