Commit Graph

45835 Commits

Author SHA1 Message Date
nickysn
64cb865417 * check record type in TOmfRecord_THEADR.DecodeFrom
git-svn-id: trunk@30582 -
2015-04-14 12:04:49 +00:00
nickysn
03e8c3ae05 + support RELOC_RELATIVE relocations in the omf object writer, by using omf's
"self relative" (instead of "segment relative") fixups. "Hello world" and
  fpctris in the small memory model now work (under dosbox, at least) with the
  internal object writer.

git-svn-id: trunk@30581 -
2015-04-13 22:44:31 +00:00
nickysn
bd460eec43 * emit 16-bit addresses on i8086 for asm codes &64..&66 in the internal asm
git-svn-id: trunk@30580 -
2015-04-13 22:13:15 +00:00
florian
e559b9e3d6 + tavrshlshrnode.second_integer, does not convert the right operand to a bigger type, resolves #27841
git-svn-id: trunk@30579 -
2015-04-13 20:57:37 +00:00
florian
8b7a449cf1 * clear r1 after 8 Bit multiplication, resolves #27838
git-svn-id: trunk@30578 -
2015-04-13 20:15:30 +00:00
michael
1e365f341e * Reverted revision 30557
git-svn-id: trunk@30577 -
2015-04-13 19:45:25 +00:00
michael
10633da13b * Reverted revision 30575 (forgor -depth=immediate
git-svn-id: trunk@30576 -
2015-04-13 19:44:51 +00:00
michael
2cab4a9a73 * Reverted revision 30557
git-svn-id: trunk@30575 -
2015-04-13 19:43:43 +00:00
michael
0c76b8e656 * Patch from Anton Kavalenka to fix bug #17805 (load resources from libraries)
git-svn-id: trunk@30574 -
2015-04-13 19:05:54 +00:00
pierre
54621aec9a Use pascal style doubling of quote char instead of C style escaping for ini file
git-svn-id: trunk@30573 -
2015-04-13 16:40:27 +00:00
pierre
03ef994cc8 Add -G command line option to allow specification of GDB executable name
git-svn-id: trunk@30572 -
2015-04-13 16:39:27 +00:00
michael
1c067b755c * Fix memory leak reported by Graeme Geldenhuys
git-svn-id: trunk@30571 -
2015-04-13 10:21:46 +00:00
michael
0d1fc7fa97 * Add some context messages to tests
git-svn-id: trunk@30570 -
2015-04-13 08:29:36 +00:00
lacak
57965a2194 fcl-db: sdfdataset: cosmetic
git-svn-id: trunk@30569 -
2015-04-13 08:28:29 +00:00
lacak
c8740c6e3f fcl-db: sdfdataset: improve tests
git-svn-id: trunk@30568 -
2015-04-13 08:15:59 +00:00
lacak
1a5126081f fcl-db: sdfdataset: simplify tests, add comments
git-svn-id: trunk@30567 -
2015-04-13 08:05:47 +00:00
nickysn
22fb1a3e7e * converted all the magic nasm codes in the x86 internal asm writer from decimal
to octal in the compiler source, so they match the strings in x86ins.dat

git-svn-id: trunk@30566 -
2015-04-13 01:13:39 +00:00
Károly Balogh
68a25e154a Amiga/MorphOS: enabled resource support, to match AROS in features
git-svn-id: trunk@30565 -
2015-04-13 00:49:00 +00:00
Károly Balogh
37cc0988aa MorphOS: added some more calls supported by TinyGL
git-svn-id: trunk@30564 -
2015-04-13 00:42:02 +00:00
nickysn
fe30b53e95 * use 16-bit operand types for call/jmp immediate on i8086 in taicpu.create_ot
git-svn-id: trunk@30563 -
2015-04-12 23:53:15 +00:00
nickysn
a25a906d56 * i8086 internal asm fixes for the 0324 and 0361 asm codes
git-svn-id: trunk@30562 -
2015-04-12 22:56:28 +00:00
nickysn
38c17305d3 - removed tf_smartlink_sections flags from the msdos target
git-svn-id: trunk@30561 -
2015-04-12 22:11:21 +00:00
florian
fa6bea9bbb * all the cg/hlcg routines take normally tcgint constants, so replace aint constants and casts in ncgset by tcgint ones
git-svn-id: trunk@30560 -
2015-04-12 20:32:37 +00:00
florian
4d01271944 * due to avr's harvard architecture, loads of code labels need to use the gs(...) macro
git-svn-id: trunk@30559 -
2015-04-12 20:29:13 +00:00
florian
34c7f45637 + simple Move and FillChar pascal implementations for AVR
git-svn-id: trunk@30558 -
2015-04-12 18:06:05 +00:00
michael
56715d5d00 * Fix bug #27832
git-svn-id: trunk@30557 -
2015-04-12 17:34:13 +00:00
florian
1f20a52c85 * fix typo in comparison with constant code
git-svn-id: trunk@30556 -
2015-04-12 15:42:40 +00:00
michael
81fa382c42 * Rename WriteExceptionToStdErr -> WriteErrorsToStdErr
git-svn-id: trunk@30555 -
2015-04-12 15:37:46 +00:00
florian
bd803769b8 * fix compilation
git-svn-id: trunk@30554 -
2015-04-12 14:58:41 +00:00
nickysn
b0634d2cb3 * set svn mime type=text/plain and eol style=native to the *.cod files in the h2pas directory
git-svn-id: trunk@30553 -
2015-04-12 14:42:06 +00:00
michael
94e57aa463 * Moved WriteExceptionToStdErr to system unit, so it is observed even in absence of sysutils (bug ID 27708)
git-svn-id: trunk@30551 -
2015-04-12 13:58:49 +00:00
michael
4769a5407c * Rework header treatment, deprecated some calls/properties
git-svn-id: trunk@30550 -
2015-04-12 08:24:24 +00:00
florian
9559dabe51 * function result is in r24:r25
git-svn-id: trunk@30549 -
2015-04-11 21:25:05 +00:00
florian
e34bd746ed * patch by Jeppe Johanse to take care of the fact that push is post-decrement on avr
git-svn-id: trunk@30548 -
2015-04-11 20:59:27 +00:00
florian
886e3e8d02 * disable several complex procedures for avr with a newly introduced define: EXCLUDE_COMPLEX_PROCS. They
might compile with an improved register allocator in the future

git-svn-id: trunk@30546 -
2015-04-11 14:43:39 +00:00
florian
1ef7e36f3c * some fixes for handling parameters passed on the stack
git-svn-id: trunk@30545 -
2015-04-11 13:56:21 +00:00
florian
90e4581814 * update revision.inc
git-svn-id: trunk@30544 -
2015-04-11 13:55:26 +00:00
florian
276d97f653 * generate better code for comparisons with constants
git-svn-id: trunk@30543 -
2015-04-11 13:52:29 +00:00
florian
e0b27e1688 * unified typing and ppu reading/writing of setdef fields regarding aint/asizeint
git-svn-id: trunk@30542 -
2015-04-11 11:36:01 +00:00
florian
4b7ae00620 * fixes several issues with parameter handling on avr
git-svn-id: trunk@30541 -
2015-04-11 11:13:20 +00:00
florian
03fa8336de o several avr fixes
* handle function result of FPC_MUL_WORD correctly
  * use mov ...,r1 to load a register with zero instead of clr ..., this might enable the register allocator to 
    coalesce these moves in the feature
  * use tst/dec instead of cpi/sub in the shifting loops, this reduces register pressure on r16 and higher

git-svn-id: trunk@30540 -
2015-04-11 11:08:01 +00:00
Károly Balogh
1877ce5d07 rtl-console/amicommon: trying harder to not break this for AROS.
git-svn-id: trunk@30539 -
2015-04-11 01:55:01 +00:00
Károly Balogh
e6a73ed531 rtl-console/amicommon: use a friend bitmap to store our font for BltTemplate. This fixes IDE rendering on classic chipsets (AGA/ECS), because previously the blit source wasn't in Chip RAM. Disabled for AROS, because the bitmap poking seems to crash there. improvements welcomed.
git-svn-id: trunk@30538 -
2015-04-11 01:52:50 +00:00
Károly Balogh
363a24a038 amunits/morphunits: more planeptr type fixes
git-svn-id: trunk@30537 -
2015-04-11 00:08:05 +00:00
Károly Balogh
7e7f85c20a amunits/morphunits: fixes regarding planeptr to match the AROS units (and checked against the original headers)
git-svn-id: trunk@30536 -
2015-04-10 23:29:16 +00:00
florian
315d7d9725 + do_spill_replace for avr
git-svn-id: trunk@30535 -
2015-04-10 22:14:36 +00:00
florian
f95d5e0de6 + support 8 locations in gen_load_cgpara_loc
git-svn-id: trunk@30534 -
2015-04-10 20:33:11 +00:00
florian
6c19c18bc9 + support 8 locations in splitparaloc64
git-svn-id: trunk@30533 -
2015-04-10 20:32:22 +00:00
lacak
b5bac61409 fcl-db: sdfdataset: fix seting null value to Field, Buffer=nil
git-svn-id: trunk@30532 -
2015-04-10 07:04:53 +00:00
lacak
c8f610282d fcl-db: sdfdataset: fix seting/geting calculated fields. Offset is calculated using DataSize not Size and they should be stored in internal representation used by TField
git-svn-id: trunk@30531 -
2015-04-10 06:51:40 +00:00