* generate AND for small set comparisons also when only set vars are involved using the cg class, so it works for arm thumb as well

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28569 3ad0048d-3df7-0310-abae-a5850022a9f2
  * ensure that sysutils.expandfilename() returns its result in
    DefaultRTLFileSystemCodePage instead of in DefaultFileSystemCodePage
    (mantis #26627)

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28570 3ad0048d-3df7-0310-abae-a5850022a9f2
  * let GetDirIO() return its result in DefaultFileSystemCodePage, as its only
    used internally and in combination with other strings in that code page

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28571 3ad0048d-3df7-0310-abae-a5850022a9f2
Fix for Mantis #26615.

htypechk.pas, tcallcandidates:
  * collect_overloads_in_struct: we need to check the deftyp of the extended def for record- or objectdef, not the deftyp of the helper which will always be objectdef anyway.

+ added test

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28572 3ad0048d-3df7-0310-abae-a5850022a9f2
amunits: syscall-ified keymap unit

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28573 3ad0048d-3df7-0310-abae-a5850022a9f2
amunits: syscall-ified timer, fixed keymap to build (oops...)

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28574 3ad0048d-3df7-0310-abae-a5850022a9f2
* Improved generic implementations of Bsf/Bsr. Existing ones were just ugly, BsfQword/BsrQWord producing total of 15 inline expansions 5 levels down and bloating into just a little less than a kilobyte of code (on MIPS). Now it is at most 3 expansions and 21 instructions (84 bytes), 16 and 32 bit routines are branchless.


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28575 3ad0048d-3df7-0310-abae-a5850022a9f2
 * Do not use sym.realname but sym.name in the mangledname for the Dwarf-3 debuginfo. This makes it possible to mix Dwarf-2 and Dwarf-3 debug info into one executable.

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28576 3ad0048d-3df7-0310-abae-a5850022a9f2
Amiga: do not use tagsarray in rtl-console/video

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28577 3ad0048d-3df7-0310-abae-a5850022a9f2
amunits: some random functions syscall-ified. Mostly things used by rtl-console and FV.

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28578 3ad0048d-3df7-0310-abae-a5850022a9f2
- MIPS: don't create reg.allocator for MM registers.

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28579 3ad0048d-3df7-0310-abae-a5850022a9f2
* implementation of tiny heap's GetMem changed, so that it doesn't use FreeMem
  internally.



git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28580 3ad0048d-3df7-0310-abae-a5850022a9f2
* MIPS: added a couple of important capabilities and made them available for big-endian targets as well.

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28581 3ad0048d-3df7-0310-abae-a5850022a9f2
m68k: support loading of refs to data registers, also when explicit paraloc is set and it's a register, use that directly, this fixes several syscall-related corner cases on Amiga

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28582 3ad0048d-3df7-0310-abae-a5850022a9f2
* improve ldr*/str* handling for arm thumb


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28583 3ad0048d-3df7-0310-abae-a5850022a9f2
Amiga: syscall-fied exec and intuition.library units

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28584 3ad0048d-3df7-0310-abae-a5850022a9f2
amunits: syscall-ified ASL

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28585 3ad0048d-3df7-0310-abae-a5850022a9f2
amunits: syscall-ified AGraphics, AmigaDos, Utility.library units

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28586 3ad0048d-3df7-0310-abae-a5850022a9f2
* MIPS: MOVE instruction cannot be changed into conditional move (MOVZ/MOVN) if it overwrites register used as condition.

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28587 3ad0048d-3df7-0310-abae-a5850022a9f2
* MIPS: fixed O_MOVE_SOURCE and O_MOVE_DEST constants (they were swapped, amazing that it ever worked with such a mistake).
+ Spilling for SEB and SEH
* Another attempt to get spilling of 3-operand form DIV/DIVU be done correctly.


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28588 3ad0048d-3df7-0310-abae-a5850022a9f2