Commit Graph

22135 Commits

Author SHA1 Message Date
peter
5376d2d570 Merged revisions 3072-3073 via svnmerge from
http://svn.freepascal.org/svn/fpc/branches/linker/compiler

........
r3072 | peter | 2006-03-29 13:34:42 +0200 (Wed, 29 Mar 2006) | 4 lines

  * std_regname generate pair of registers for float doubles
  * don't call translate_register for regvars if -sr is passed
  * use std_regname in regalloc message

........
r3073 | peter | 2006-03-29 16:00:37 +0200 (Wed, 29 Mar 2006) | 2 lines

  * CMP instructions only read operands

........

git-svn-id: trunk@3079 -
2006-03-30 06:36:42 +00:00
peter
583668896a * rex is x86_64 only
git-svn-id: trunk@3078 -
2006-03-30 06:21:38 +00:00
tom_at_work
0845e7c217 - fixed build by forcing alignment of global constants to a minimum of four bytes. Addresses must be multiples of four on ppc64 in the used addressing mode.
git-svn-id: trunk@3077 -
2006-03-29 21:57:29 +00:00
tom_at_work
9b150ce30e - Syscall number update for Kernel 2.6.15
git-svn-id: trunk@3076 -
2006-03-29 21:42:44 +00:00
florian
8ba4fcaad9 * fixed handling of code 214
git-svn-id: trunk@3075 -
2006-03-29 20:24:36 +00:00
florian
b215196734 * fixed cto
git-svn-id: trunk@3074 -
2006-03-29 18:25:48 +00:00
peter
ecdb5df2d6 * fix alignment of tdoublearray by using a variant record
git-svn-id: trunk@3071 -
2006-03-29 06:40:47 +00:00
florian
2cfd698273 * sib is required for r12 based addressing too
git-svn-id: trunk@3069 -
2006-03-28 21:15:00 +00:00
peter
a3e0315a72 Initialized merge tracking via "svnmerge" with revisions "1-3066" from
http://svn.freepascal.org/svn/fpc/branches/linker/compiler

git-svn-id: trunk@3067 -
2006-03-28 13:50:34 +00:00
Jonas Maebe
6c62d6a647 + get_max_value in defutil
* use a linear cmp list instead of subtractions on ppc if low >=
    low(smallint) and high <= high(word), because a compare does not
    introduce any dependencies (and in those cases using subtractions
    does not save any instructions or bytes either)

git-svn-id: trunk@3065 -
2006-03-28 11:49:16 +00:00
florian
7a34d58a15 * encode new 8 bit registers correctly
git-svn-id: trunk@3064 -
2006-03-27 20:41:28 +00:00
florian
e1147755df * fixed cmp
* correct sign extension for 8 byte constants

git-svn-id: trunk@3063 -
2006-03-27 20:24:57 +00:00
florian
085fa03853 * fix for cmp
git-svn-id: trunk@3062 -
2006-03-27 19:42:59 +00:00
joost
9b7d7cb21f + updated to latest version from Luiz Camara
git-svn-id: trunk@3061 -
2006-03-27 18:14:02 +00:00
peter
dfd84c6fd3 * leb128 gets always a 64bit int
* fixed sleb128 encode

git-svn-id: trunk@3060 -
2006-03-27 13:42:06 +00:00
peter
f9ccac3f30 * alignment of dwarf sections
git-svn-id: trunk@3059 -
2006-03-27 12:51:05 +00:00
peter
64da63e4ec * minimum of 4 bytes alignment for const/data
git-svn-id: trunk@3058 -
2006-03-27 12:05:32 +00:00
peter
0ec2921bbe * split newasmsymbol to refasmsymbol and defineasmsymbol
git-svn-id: trunk@3057 -
2006-03-27 11:45:18 +00:00
peter
693d7e2463 * fix alignment broken by previous commit
git-svn-id: trunk@3056 -
2006-03-27 10:29:05 +00:00
peter
b2121dae20 * fix intf map resolving with for inherited intfs
git-svn-id: trunk@3055 -
2006-03-27 09:28:17 +00:00
peter
2ee71781a7 * openstring now uses a type in the system unit
git-svn-id: trunk@3053 -
2006-03-27 09:07:33 +00:00
marco
5d4300fd45 * PSysCharset.
git-svn-id: trunk@3052 -
2006-03-27 09:01:14 +00:00
peter
95be416b9d * don't allow stringconst+integer
* change booleans in arraydef to set
  * set option in arraydef to indicate a constant string so
    a nicer type can be shown instead of array[0..x] of char

git-svn-id: trunk@3051 -
2006-03-27 07:22:02 +00:00
peter
79ec67806d * remove svn:executable
git-svn-id: trunk@3050 -
2006-03-27 07:20:35 +00:00
peter
e7a419cbff * leb128 support for binary writers
git-svn-id: trunk@3049 -
2006-03-26 21:12:33 +00:00
florian
8a71767125 * movsql fixed in x86_64 assembler writer
git-svn-id: trunk@3048 -
2006-03-26 20:48:05 +00:00
florian
73e22f1919 * one byte inc/dec aren't allowed for x86_64
git-svn-id: trunk@3047 -
2006-03-26 20:27:02 +00:00
peter
870be04a3f * use dwarf_reg()
git-svn-id: trunk@3046 -
2006-03-26 20:15:32 +00:00
florian
56dc874476 * rsp based addressing fixed
git-svn-id: trunk@3045 -
2006-03-26 20:14:17 +00:00
peter
3e074126f4 Merged revisions 3005 via svnmerge from
svn+ssh://peter@www.freepascal.org/FPC/svn/fpc/branches/linker/compiler

r3005 (peter)
  * fix stab relocation for local symbols

git-svn-id: trunk@3044 -
2006-03-26 18:55:09 +00:00
peter
e0a62c1bf2 Merged revisions 3009 via svnmerge from
svn+ssh://peter@www.freepascal.org/FPC/svn/fpc/branches/linker/compiler

r3009 (peter)
  * support public name for typed consts

git-svn-id: trunk@3043 -
2006-03-26 18:54:19 +00:00
florian
87da67129c * rtl compilation with x86_64 binary writer fixed
git-svn-id: trunk@3042 -
2006-03-26 18:32:15 +00:00
florian
5d243f665a * fixed <instr> reg,reg with regs>=r8
* fixed section naming
* fixed relocations

git-svn-id: trunk@3041 -
2006-03-26 17:54:02 +00:00
Almindor
c6d929a5ab * removes useless "uses winsock" from sockets.pp in win32
git-svn-id: trunk@3040 -
2006-03-26 17:31:32 +00:00
florian
42fab68bc8 * fixed disp32 and rip relative addressing
git-svn-id: trunk@3039 -
2006-03-26 13:38:21 +00:00
florian
4c9a08b12b * more x86_64 assembler support, rtl compilation works, executables don't work yet
git-svn-id: trunk@3038 -
2006-03-26 09:38:05 +00:00
florian
5519158dff + no rex.w prefix support
git-svn-id: trunk@3037 -
2006-03-25 19:45:09 +00:00
marco
6184785fe4 * fix for 4643
git-svn-id: trunk@3035 -
2006-03-25 16:07:36 +00:00
florian
dfacac4657 * fixed SOCK_* for SunOS
git-svn-id: trunk@3034 -
2006-03-25 15:23:23 +00:00
florian
68a096aec6 * fixed AF_* constants
git-svn-id: trunk@3033 -
2006-03-25 15:22:58 +00:00
marco
dd063d920d * currentyear (bug 4904)
git-svn-id: trunk@3031 -
2006-03-25 15:07:54 +00:00
marco
371aa0d78e * fixed small bug as result from last fixed to stringlist.text. Reported as 4901
git-svn-id: trunk@3029 -
2006-03-25 14:50:07 +00:00
Jonas Maebe
9c14f95ce9 + added
git-svn-id: trunk@3028 -
2006-03-24 22:57:50 +00:00
Jonas Maebe
e8c2c4abb2 * fixed test (mainly for little endian systems)
git-svn-id: trunk@3027 -
2006-03-24 22:51:55 +00:00
Jonas Maebe
77d20627dc * removed duplicate EVariant class from varutils and incorporated
its implementation details in the EVariant class of sysutils
  + added conversions of variant error codes to exception messages
   (together these fix tw4704)

git-svn-id: trunk@3026 -
2006-03-24 22:47:15 +00:00
Jonas Maebe
2c3d8af195 * fixed typo (invalid type case -> invalid type cast)
git-svn-id: trunk@3025 -
2006-03-24 22:19:47 +00:00
Jonas Maebe
9d893195b5 * fixed potential buffer overflow in fpc_Write_Text_Char/
fpc_Write_Text_WideChar (bug 4919)

git-svn-id: trunk@3024 -
2006-03-24 21:08:51 +00:00
Jonas Maebe
822e41689d fixed Do_IsDevice()
git-svn-id: trunk@3022 -
2006-03-24 19:53:32 +00:00
peter
2d3c01d83a * basic work to make Move() and FillChar() internal under ifdef INTERNALMOVEFILLCHAR
git-svn-id: trunk@3021 -
2006-03-24 17:32:39 +00:00
peter
4e5319a581 * fixed $MAP for DLL linking
git-svn-id: trunk@3020 -
2006-03-24 09:15:33 +00:00