* tcgtypeconvnode.second_proc_to_procvar converted to the high level code
  generator, so it can now handle i8086 near and far pointers generically
- removed almost all of t8086typeconvnode.second_proc_procvar, since it's no
  longer needed. Only a few assertions are left there to ensure that we don't
  accidentally attempt to take the address of a near procedure in a far code
  memory model, because the calling conventions are incompatible.



git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27677 3ad0048d-3df7-0310-abae-a5850022a9f2
* converted tcgtypeconvnode.second_nil_to_methodprocvar to the high level code
  generator, so it handles i8086 near and far pointers generically
- removed t8086typeconvnode.second_nil_to_methodprocvar, since it's no longer
  necessary



git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27678 3ad0048d-3df7-0310-abae-a5850022a9f2
* i386-*bsd: cleaned out handwritten assembler threadvar access from syscall code.

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27679 3ad0048d-3df7-0310-abae-a5850022a9f2
* pas2jni: Suppress unused import warnings. Fix system unit parsing.

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27680 3ad0048d-3df7-0310-abae-a5850022a9f2
* pas2jni: Revert "Suppress unused import warnings" since it produce other warnings. 


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27681 3ad0048d-3df7-0310-abae-a5850022a9f2
* fcl-db: limit allowed blob types to real blob types only. Provide ftBlobTypes to third party code useful for determining blob types instead of TBlobType.



git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27682 3ad0048d-3df7-0310-abae-a5850022a9f2
* fixed array to pointer conversion in i8086 far data memory models

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27683 3ad0048d-3df7-0310-abae-a5850022a9f2
* pas2jni: Type cast support. nil objects support.

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27684 3ad0048d-3df7-0310-abae-a5850022a9f2
* tobjectvmt.size and .msize in the rtl changed to sizeuint, because ptruint is
  not the correct size type in the VMT in i8086 far data memory models

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27685 3ad0048d-3df7-0310-abae-a5850022a9f2
* Some cosmetic mistakes in previous commit fixed. Thanks Laco!



git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27686 3ad0048d-3df7-0310-abae-a5850022a9f2
+ remove the segment prefix in make_simple_ref on i8086, in case it is the same
  as the default segment for the reference (SS for BP-relative, DS for all
  others)



git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27687 3ad0048d-3df7-0310-abae-a5850022a9f2
+ support near pointers, bound to a segment register in hlcg.reference_reset_base
  on i8086



git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27688 3ad0048d-3df7-0310-abae-a5850022a9f2
+ parentfpvoidpointertype changed to a near 'ss' pointer on i8086



git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27689 3ad0048d-3df7-0310-abae-a5850022a9f2
* tcgloadparentfpnode.pass_generate_code converted to the high level code
  generator. This fixes nested access to parentfp in i8086 memory models where
  DS<>SS.



git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27690 3ad0048d-3df7-0310-abae-a5850022a9f2
fcl-db: base: use type casting of StrPLCopy parameter to call right ansi version instead of unicode version.
Affect all TStringFields with DataSize>8192 !

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27691 3ad0048d-3df7-0310-abae-a5850022a9f2
+ fixed tcgtypeconvnode.second_class_to_intf for i8086 far data memory models

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27692 3ad0048d-3df7-0310-abae-a5850022a9f2
* use def_cgsize(parentfpvoidpointertype) instead of OS_ADDR in
  tcgloadparentfpnode.pass_generate_code (should've been part of r27690)



git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27693 3ad0048d-3df7-0310-abae-a5850022a9f2
  * check whether file/text is assigned in erase/rename (mantis #25932)

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27694 3ad0048d-3df7-0310-abae-a5850022a9f2
  * moved to correct directory

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@27695 3ad0048d-3df7-0310-abae-a5850022a9f2
  * allow the "then" part of an if-statement to be terminated by any endtoken,
    instead of only by "else" (mantis #25781)

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