Commit Graph

36385 Commits

Author SHA1 Message Date
michael
b2ce6b2cab * Reinstated SetFound
git-svn-id: trunk@20884 -
2012-04-15 14:00:06 +00:00
florian
9e105677db * optimize mov/and sequences on x86-64
git-svn-id: trunk@20883 -
2012-04-15 12:58:02 +00:00
michael
86c8b19336 * Patch and testcase from Luiz Americo to fix ExtractFieldName (bug 21777)
git-svn-id: trunk@20882 -
2012-04-15 11:52:15 +00:00
michael
5219b118d8 * Fix checkconstraints initialization and property setter (by Luiz Americo)
git-svn-id: trunk@20881 -
2012-04-15 09:34:09 +00:00
michael
fcb4bf4854 * Solved name conflict parser.inc is used in classes unit
git-svn-id: trunk@20880 -
2012-04-15 09:27:53 +00:00
sergei
86f0a4177d * SAX cleanup: removed {$ifdef UseDynArrays}, left variant without dynarrays, they don't provide any significant advantage.
* Changed TList to TFPList, removed redundant FLength field.

git-svn-id: trunk@20879 -
2012-04-14 22:44:45 +00:00
Jonas Maebe
f0b7ce8afe * fix building for Haiku/BeOS after r20839 (patch by Olivier Coursière)
git-svn-id: trunk@20878 -
2012-04-14 20:36:02 +00:00
florian
ceb1becfa1 * align cmp byte loop
git-svn-id: trunk@20877 -
2012-04-14 20:09:51 +00:00
florian
4b7748ad11 * better suitable on x86_64-linux
git-svn-id: trunk@20876 -
2012-04-14 20:09:31 +00:00
florian
39ab9eceba * fix OpsEqual
git-svn-id: trunk@20875 -
2012-04-14 20:08:56 +00:00
florian
d24b70d22b * ported part of the i386 peep hole optimizer to x86-64 to see if it is possible to create a shared x86 peep hole optimizer
git-svn-id: trunk@20874 -
2012-04-14 19:08:02 +00:00
sergei
931a0f159c - Removed xmltextreader.TXMLReadState definition, it clashes with one from xmlreader.pp (this was not significant while the entire TXMLTextReader class was implementation-only).
git-svn-id: trunk@20873 -
2012-04-14 18:04:55 +00:00
sergei
18079355f5 * fcl-xml, going public with TXMLTextReader: moved most of the code from xmlread.pp to new unit xmltextreader.pp, auxiliary classes moved to xmlreader.pp.
git-svn-id: trunk@20868 -
2012-04-14 17:25:40 +00:00
michael
0aa0d3f584 * Applied cleanup patch from Luiz Americo (Bug 21771)
git-svn-id: trunk@20867 -
2012-04-14 14:52:33 +00:00
michael
1ee57d4edd * Applied cleanup patch from Luiz Americo
git-svn-id: trunk@20866 -
2012-04-14 14:49:01 +00:00
michael
f993b813b1 * Fixed case of range starting with negative identifier
git-svn-id: trunk@20865 -
2012-04-14 14:37:12 +00:00
michael
9e5081cd90 * Fixed bug #21252 (range type with identifiers)
git-svn-id: trunk@20864 -
2012-04-14 14:00:49 +00:00
michael
b0077a1155 * Removed some memory leaks
git-svn-id: trunk@20863 -
2012-04-14 13:38:33 +00:00
michael
b1f7f84b41 * Fixed parsing of set of range (bug 21642), removed some memory leaks
git-svn-id: trunk@20862 -
2012-04-14 13:38:00 +00:00
florian
59040465d8 + simple assembler implementation of CompareByte
* adapted copyright

git-svn-id: trunk@20861 -
2012-04-13 22:08:50 +00:00
pierre
bd1ae9bdf0 Regenerated after: Add -Xd option for FreeBSD OS
git-svn-id: trunk@20860 -
2012-04-13 21:53:50 +00:00
pierre
e59d692c5c + Add -Xd option for FreeBSD OS
git-svn-id: trunk@20859 -
2012-04-13 21:53:22 +00:00
florian
ce845bf97c * introduction of in_generic in r20699 was unneeded, replaced by parse_generic
git-svn-id: trunk@20858 -
2012-04-12 21:53:10 +00:00
florian
4c472a1569 * due to different result handling of integers and interfaces, GetInterfaceProp cannot use GetOrdProp, resolves #21684
git-svn-id: trunk@20857 -
2012-04-12 21:50:03 +00:00
sergei
ed9146f918 * Simplified CheckName() a bit.
* Replaced some checks for terminating #0 with checks against buffer end address.
* Fixed mistake in GetLocalName(), was referring to wrong FColonPos.
* Moved parsing PE references into StartPE, reduces code duplication.

git-svn-id: trunk@20856 -
2012-04-12 21:43:51 +00:00
Jonas Maebe
210eac085a * do not perform stabstr replacements on mangled names of typed constants
(fixes stabs after r20842)

git-svn-id: trunk@20855 -
2012-04-12 16:13:27 +00:00
Jonas Maebe
e9d52f7b95 * fixed copy/paste bug that caused the default target OS to be always set
to AIX on Linux PPC32/64 platforms

git-svn-id: trunk@20854 -
2012-04-12 09:36:46 +00:00
michael
e74b6087b3 * Dataset.Modified should be read-only
git-svn-id: trunk@20853 -
2012-04-12 07:10:31 +00:00
Tomas Hajny
2cb7b4cf0f * fixed a silly bug from r20694
git-svn-id: trunk@20852 -
2012-04-11 21:12:03 +00:00
Jonas Maebe
135565e951 * enabled for AIX
git-svn-id: trunk@20851 -
2012-04-11 18:07:23 +00:00
Jonas Maebe
829062cd79 * fixed bootstrap rule for aix (why are all unix OSes hardcoded here?)
git-svn-id: trunk@20850 -
2012-04-11 18:07:16 +00:00
Jonas Maebe
a1e14210c2 * compile the lnfogdb unit for darwin
git-svn-id: trunk@20849 -
2012-04-11 18:07:11 +00:00
Jonas Maebe
29111f957e - don't include the lineinfo unit on AIX, because it doesn't have it; in
general, this is also wrong because it won't work on platforms using DWARF
    either

git-svn-id: trunk@20848 -
2012-04-11 18:07:06 +00:00
Jonas Maebe
ec1cceb3d1 + support for generating multiple script files (.sh/.bat/.cmd/...) with link
commands

git-svn-id: trunk@20847 -
2012-04-11 18:07:01 +00:00
Jonas Maebe
ebc542a48b * gcc does add a .file statement for AIX (but using different code than for
other platforms, which is where the confusion stemmed from)

git-svn-id: trunk@20846 -
2012-04-11 18:06:57 +00:00
Jonas Maebe
2174c6debc * fixed location of "end." in case "supported" is not defined
git-svn-id: trunk@20845 -
2012-04-11 18:06:53 +00:00
Jonas Maebe
347afa80fe * adapted so it also succeeds with the lnfogdb unit (gdb reports slightly
different line numbers: the line following the label, instead of the one
    preceding the label)

git-svn-id: trunk@20844 -
2012-04-11 18:06:48 +00:00
Jonas Maebe
07a65fed6b * adapted tests for aix (assembler code, -CN switch, library name suffix)
git-svn-id: trunk@20843 -
2012-04-11 18:06:43 +00:00
Jonas Maebe
247033cce1 + stabx support for AIX, which is a variant of stabs. Note that we only
support the stabx as understood by gdb, which is a mixture of regular
    stabs and stabx (e.g., class/object definitions are completely different
    in real stabx). This means that gdb can be used to debug aix programs,
    but the native dbx will complain about lots of debug information
    constructs

git-svn-id: trunk@20842 -
2012-04-11 18:06:38 +00:00
Jonas Maebe
adbad5ab96 + fcl-res support for xcoff/aix
+ compiler support for Delphi-style resources on aix

git-svn-id: trunk@20841 -
2012-04-11 18:06:33 +00:00
Jonas Maebe
3d03ac5aa2 - removed exeinfo, not used/supported on AIX
git-svn-id: trunk@20840 -
2012-04-11 18:06:27 +00:00
Jonas Maebe
1e9b92ee50 + AIX support for cwstring
o AIX-specific codepage names
   o AIX/ppc32 uses a 16 bit wchar_t
   o special support for handling cp866 on AIX: AIX only supports converting
     cp866 from/to ISO8859-5 -> always use that code page as an intermediate
     one on AIX (it's lossy, but better than completely failing)
  * in case the default system code page cannot be detected, fall back to
    UTF-8

git-svn-id: trunk@20839 -
2012-04-11 18:06:22 +00:00
Jonas Maebe
2c1f98320f * disable implicit exception frames, no exceptions are raised by this unit
git-svn-id: trunk@20838 -
2012-04-11 18:06:18 +00:00
Jonas Maebe
16692ff7c1 + support for AIX nm output
git-svn-id: trunk@20837 -
2012-04-11 18:06:13 +00:00
Jonas Maebe
1c91a555f4 + support for asd_reference, asd_weak_reference and asd_weak_definition
in AIX assembler writer

git-svn-id: trunk@20836 -
2012-04-11 18:06:09 +00:00
Jonas Maebe
5433db6a49 * also specify the section alignment with the section statements themselves
on AIX. Adding ".align" statements only align relative to the section
    start, but does not influence the alignment of the section itself

git-svn-id: trunk@20835 -
2012-04-11 18:06:05 +00:00
Jonas Maebe
cc4169ef68 * don't raise an internalerror when the the binding type of a weak external
symbol is changed to something else (binding a weak symbol to a real
    implementation in the current file is valid)

git-svn-id: trunk@20834 -
2012-04-11 18:06:00 +00:00
Jonas Maebe
d545a72f1a + lnfogdb unit that can use gdb to symbolicate backtraces on unix targets
(used for stabx/aix)

git-svn-id: trunk@20833 -
2012-04-11 18:05:56 +00:00
Jonas Maebe
7aa3b99fb5 + -CN/{$CHECKLOWADDRLOADS+/-} switch to enable explicit checks for accesses
to low addresses in case the target cpu/OS does not support this (enabled
    for reads on AIX/PPC because on AIX the first 16KB are readable)

git-svn-id: trunk@20832 -
2012-04-11 18:05:50 +00:00
Jonas Maebe
d7a12a01e8 * fixed c_truncf declaration (double -> single)
git-svn-id: trunk@20831 -
2012-04-11 18:05:45 +00:00