tom_at_work
496c31ac29
* DWARF debug info is now default on ppc64/linux
...
* disallow stabs debug info generation on ppc64/linux.
git-svn-id: trunk@2956 -
2006-03-18 20:48:04 +00:00
florian
a2f4e33bda
* fixed solaris compilation
...
git-svn-id: trunk@2955 -
2006-03-18 17:17:16 +00:00
Jonas Maebe
ac11ab43a2
* fixed wrong conversions from real to currency/int64 for x86
...
git-svn-id: trunk@2954 -
2006-03-18 13:20:58 +00:00
Jonas Maebe
f59d552ecb
* fixed web bug #4913 (don't allow indexing of strings/variants/pointers
...
with enums/chars/booleans)
git-svn-id: trunk@2952 -
2006-03-18 11:05:04 +00:00
Jonas Maebe
b2cdab26af
* automatically convert (wide)chararrays to p(wide)chars for C varargs
...
git-svn-id: trunk@2951 -
2006-03-18 09:20:18 +00:00
Jonas Maebe
4a6848269e
* fixed bug in sprintf of extended
...
git-svn-id: trunk@2950 -
2006-03-17 22:35:04 +00:00
Jonas Maebe
4db6e1ddb8
* moved type conversion of C varargs from tcallnode to
...
tarrayconstructornode.inset_typeconvs() and fixed them:
* integers < 32 bit are converted to 32 bit (this was previously
done in the code generator for some targets, and not for others)
* currency is also converted to double for targets where currency = int64
* single is converted to double, except for x86_64 (is at least
necessary on darwin/ppc, darwin/i386 and linux/i386)
* enums are converted to 32 bit ints
* procvars are converted to pointers
* proper errors are given for various unsupported types
NOTE: in C, floating point constants are by default double, while in
FPC they are of type extended. On platforms where extended <> double,
such constants when passed to C varargs are automatically converted
to double by default (gives warning). If you want to pass them as
single or extended or get rid of the warning, use an explicit typecast
* increased ppu version because of introduction of new node flag
(nf_cvarargs for tarrayconstructornode)
* fixed tests/test/cg/tprintf
* changed tests/test/cg/cdecl/taoc5 to use explicit typecasts for
floating point constants passed to C varargs functions.
git-svn-id: trunk@2949 -
2006-03-17 22:26:48 +00:00
Jonas Maebe
ab8f96f4cf
* disabled i386 createtempparaloc again because it generates wrong
...
code in case of nested function calls with lots of arguments
git-svn-id: trunk@2948 -
2006-03-17 22:01:25 +00:00
florian
1b5e2b67b1
* compilation fixed
...
git-svn-id: trunk@2947 -
2006-03-17 21:16:15 +00:00
florian
49c88c469c
* fixed some units to compile
...
git-svn-id: trunk@2946 -
2006-03-17 21:03:34 +00:00
florian
46a68c8a27
* fixed compilation
...
git-svn-id: trunk@2945 -
2006-03-17 21:01:50 +00:00
marco
b9e6cbb71b
* fix for bug #4900 . Probably result of tlargeinteger changing to int64, breaking alignment/padding
...
git-svn-id: trunk@2944 -
2006-03-17 20:17:15 +00:00
Jonas Maebe
f3ffa1400a
* regenerated for new ppc release optimizer settings
...
git-svn-id: trunk@2943 -
2006-03-17 17:54:28 +00:00
Jonas Maebe
73356964b0
* -O1r -> -O2 for ppc release
...
git-svn-id: trunk@2942 -
2006-03-17 17:52:43 +00:00
Jonas Maebe
8a6ebdf274
- disabled loop unrolling for level 3 optimizations since it only causes
...
crashes (and even if it didn't, on its own it mainly causes code
bloat)
git-svn-id: trunk@2941 -
2006-03-17 17:42:39 +00:00
Jonas Maebe
0232ab62cb
* fixed compilation
...
git-svn-id: trunk@2940 -
2006-03-17 17:26:58 +00:00
oro06
8c3cc6007d
*wince : api gdi update devmode
...
git-svn-id: trunk@2939 -
2006-03-17 14:00:27 +00:00
oro06
2dfd48497d
*wince : api commctl update tabctrl const
...
git-svn-id: trunk@2938 -
2006-03-17 08:51:28 +00:00
joost
ce902aedee
* fixed bug #4837 , as suggested by submitter Tomasz Łobejko
...
git-svn-id: trunk@2937 -
2006-03-16 23:30:19 +00:00
joost
f491452803
* Implemented EIBDatabaseError with the GDSErrorCode
...
git-svn-id: trunk@2936 -
2006-03-16 23:20:00 +00:00
joost
c6bfbcfa91
* Handle postgresql text fields as ftString
...
git-svn-id: trunk@2935 -
2006-03-16 22:03:56 +00:00
florian
2a48eacea7
+ standard assembler for x86-64
...
git-svn-id: trunk@2934 -
2006-03-16 19:54:18 +00:00
florian
38c132e8cb
+ added pass_left_right in second_mul, fixes the ie 200109092
...
git-svn-id: trunk@2933 -
2006-03-16 19:44:59 +00:00
peter
b7fe6797bf
Merged revisions 2921-2922,2925 via svnmerge from
...
http://svn.freepascal.org/svn/fpc/branches/linker/compiler
........
r2921 | peter | 2006-03-15 08:35:00 +0100 (Wed, 15 Mar 2006) | 2 lines
* pass ObjectWriter to ObjectOuput
........
r2922 | peter | 2006-03-15 12:40:30 +0100 (Wed, 15 Mar 2006) | 2 lines
* refactor asmdata
........
r2925 | peter | 2006-03-15 16:09:39 +0100 (Wed, 15 Mar 2006) | 3 lines
* add cfi to asmdata
* move asmlist, asmcfi, asmdata to own unit
........
git-svn-id: trunk@2932 -
2006-03-16 08:52:22 +00:00
peter
eb725d4e44
Merged revisions 2908,2911,2913-2917 via svnmerge from
...
http://svn.freepascal.org/svn/fpc/branches/linker/compiler
........
r2908 | peter | 2006-03-13 13:35:48 +0100 (Mon, 13 Mar 2006) | 2 lines
* merge trunk upto r2907
........
r2911 | peter | 2006-03-13 18:08:00 +0100 (Mon, 13 Mar 2006) | 2 lines
* rename values to make room for operand size codes
........
........
........
r2915 | peter | 2006-03-14 13:51:35 +0100 (Tue, 14 Mar 2006) | 2 lines
* check aktcputype
........
r2916 | peter | 2006-03-14 15:06:32 +0100 (Tue, 14 Mar 2006) | 3 lines
* merge 300 opcodes
* more 64bit versions of opcodes
........
r2917 | peter | 2006-03-14 17:34:03 +0100 (Tue, 14 Mar 2006) | 3 lines
* x86_64 tables
* convert movq with normal registers to mov
........
git-svn-id: trunk@2931 -
2006-03-16 08:09:28 +00:00
Jonas Maebe
7d88ba2831
* shell() now also uses vfork() instead of fork() on Darwin
...
git-svn-id: trunk@2930 -
2006-03-15 22:00:58 +00:00
Jonas Maebe
5155de6d61
* fixed webtbs/tw2514 for darwin/i386 (and a similar bug for win32):
...
you get an internalerror if you try to keep a 0-byte record in
a register (because the paramgr then tries to allocate a register
of size OS_NO)
git-svn-id: trunk@2929 -
2006-03-15 21:48:32 +00:00
Jonas Maebe
2a90c43cea
+ turn on fpu exceptions for darwin/i386
...
git-svn-id: trunk@2928 -
2006-03-15 21:32:50 +00:00
Vincent Snijders
7dfd96b59c
* fixed another typo
...
git-svn-id: trunk@2927 -
2006-03-15 20:42:14 +00:00
Vincent Snijders
594861974d
* fixed typo
...
git-svn-id: trunk@2926 -
2006-03-15 20:28:02 +00:00
oro06
432e81ebb9
*wince : api commctl update : propertysheet/tabsheet
...
git-svn-id: trunk@2924 -
2006-03-15 15:01:59 +00:00
michael
7f5b9e5c00
+ Changed Exception to EProcess
...
git-svn-id: trunk@2923 -
2006-03-15 12:31:50 +00:00
joost
c575771aee
+ start of TBufDataset.Locate
...
+ Do not allocate memory for bookmarks in TBufDataset-buffers
git-svn-id: trunk@2920 -
2006-03-14 21:30:02 +00:00
tom_at_work
6d9829da14
* fixed compilation
...
git-svn-id: trunk@2919 -
2006-03-14 20:30:31 +00:00
joost
59c4fe4057
+ Cache field buffer position
...
git-svn-id: trunk@2918 -
2006-03-14 17:22:15 +00:00
Jonas Maebe
e919e1f2fd
* fixed compilation
...
git-svn-id: trunk@2914 -
2006-03-14 08:38:13 +00:00
peter
bb7ff4b064
Merged revisions 2912 via svnmerge from
...
http://svn.freepascal.org/svn/fpc/branches/linker/compiler
........
r2912 | peter | 2006-03-14 07:45:15 +0100 (Tue, 14 Mar 2006) | 2 lines
* data and bss start and end symbols
........
git-svn-id: trunk@2913 -
2006-03-14 06:45:50 +00:00
peter
588cccb3ca
* remove some obsolete i386 specific code
...
* use a_optimize_const to remove useless opcodes
git-svn-id: trunk@2910 -
2006-03-13 16:37:08 +00:00
Almindor
2b9ccf6579
* adds comments to to-be-obsolete syscalls for future review
...
git-svn-id: trunk@2909 -
2006-03-13 14:26:28 +00:00
peter
d8dc5679e3
* aktcputype and aktoptimizecputype was missing in the previous optimization commits
...
git-svn-id: trunk@2907 -
2006-03-13 12:29:56 +00:00
peter
5a90c00aae
* stop linking if errors during symbol rsolving happen
...
git-svn-id: trunk@2906 -
2006-03-13 12:29:11 +00:00
peter
94d9a89774
* only set OT_SHORT if the source and target are in the same objsection
...
git-svn-id: trunk@2905 -
2006-03-13 12:28:22 +00:00
peter
2888a21593
* list supported optimization options in -i
...
* support $OPTIMIZATION and $O+
git-svn-id: trunk@2904 -
2006-03-13 11:17:56 +00:00
peter
17bc033747
Merged revisions 2791-2793,2798-2800,2806-2825,2829-2830,2833,2839,2898 via svnmerge from
...
http://svn.freepascal.org/svn/fpc/branches/linker/compiler
........
r2791 | peter | 2006-03-06 14:57:20 +0100 (Mon, 06 Mar 2006) | 3 lines
* disable internal linker if -s is used
* enable section smartlink by default for internal linker
........
r2792 | peter | 2006-03-06 14:58:23 +0100 (Mon, 06 Mar 2006) | 2 lines
* support long sectionnames
........
r2793 | peter | 2006-03-06 15:04:12 +0100 (Mon, 06 Mar 2006) | 2 lines
* register symbols in section also when reading .o files
........
r2798 | peter | 2006-03-07 10:08:07 +0100 (Tue, 07 Mar 2006) | 2 lines
* symbolrefs need to be loaded from relocations when loading a .o
........
r2799 | peter | 2006-03-07 16:17:52 +0100 (Tue, 07 Mar 2006) | 3 lines
* remove unreferenced sections
* set stacksize in peopthaeder
........
r2800 | peter | 2006-03-07 17:02:46 +0100 (Tue, 07 Mar 2006) | 2 lines
* objsection.fullname added
........
........
r2807 | peter | 2006-03-08 08:18:04 +0100 (Wed, 08 Mar 2006) | 2 lines
* powerpc64 fixes
........
r2808 | peter | 2006-03-08 08:35:53 +0100 (Wed, 08 Mar 2006) | 2 lines
* register x86_64_pecoff
........
r2809 | peter | 2006-03-08 11:26:38 +0100 (Wed, 08 Mar 2006) | 2 lines
* optimize and cleanup matches()
........
r2810 | peter | 2006-03-08 12:25:28 +0100 (Wed, 08 Mar 2006) | 2 lines
* small tweak to readdata to copy values direct without calling move()
........
r2811 | peter | 2006-03-08 15:55:21 +0100 (Wed, 08 Mar 2006) | 2 lines
* compile fix
........
........
........
........
........
........
r2817 | peter | 2006-03-09 14:20:52 +0100 (Thu, 09 Mar 2006) | 2 lines
* more readable with long secnames
........
........
........
........
........
........
........
........
r2825 | peter | 2006-03-10 09:52:05 +0100 (Fri, 10 Mar 2006) | 2 lines
* don't initialize/finalize external variables
........
r2829 | peter | 2006-03-10 10:58:08 +0100 (Fri, 10 Mar 2006) | 2 lines
* merge 64bit assembler
........
r2830 | peter | 2006-03-10 12:25:08 +0100 (Fri, 10 Mar 2006) | 2 lines
* TElfAssembler rename
........
r2833 | peter | 2006-03-10 15:22:27 +0100 (Fri, 10 Mar 2006) | 3 lines
* support & prefix to force identifier parsing, used to access fields that
have the names of a register
........
r2839 | peter | 2006-03-10 19:37:11 +0100 (Fri, 10 Mar 2006) | 2 lines
* merge stabs section flags
........
r2898 | peter | 2006-03-12 23:18:18 +0100 (Sun, 12 Mar 2006) | 2 lines
* reorder instructions for better first match
........
git-svn-id: trunk@2902 -
2006-03-13 09:29:57 +00:00
peter
b6e35a200e
* rewrite of optimizer options
...
git-svn-id: trunk@2901 -
2006-03-13 09:05:50 +00:00
peter
2fb94ece94
* use the setresourcestirng iterator
...
git-svn-id: trunk@2900 -
2006-03-13 09:05:07 +00:00
peter
0899f0fbf7
* added powerpc64 to dir targets
...
git-svn-id: trunk@2899 -
2006-03-13 08:25:10 +00:00
Vincent Snijders
cfcbd77133
* write caller address, even if no caller frame was found
...
git-svn-id: trunk@2897 -
2006-03-12 21:30:06 +00:00
Jonas Maebe
9125d0c189
* also align esp for all procedures/functions declared "assembler",
...
since they may do a call. If you don't want that to happen, use
the nostackframe directive (i386-darwin only)
git-svn-id: trunk@2896 -
2006-03-12 21:20:29 +00:00
Jonas Maebe
435aee2398
* fixed g_copyvaluepara_openarray/g_releasevaluepara_openarray for
...
use_fixed_stack (use generic code)
git-svn-id: trunk@2895 -
2006-03-12 21:04:59 +00:00