Commit Graph

21887 Commits

Author SHA1 Message Date
florian
5ece7cbc2f * first part of x86-64 assembler
git-svn-id: trunk@2824 -
2006-03-09 22:05:16 +00:00
Almindor
a365a18fe2 * Fixes a crash with epoll_event / epoll_data records
git-svn-id: trunk@2823 -
2006-03-09 20:35:38 +00:00
Jonas Maebe
1578af214a * darwin/i386 doesn't use function-relative addresses for stabs
git-svn-id: trunk@2822 -
2006-03-09 18:38:01 +00:00
Jonas Maebe
7cdf9bbaac * moved the indirect symbol stuff from nppcld to cgobj and ncgld, since
darwin/x86 needs the same code
  - removed now empty nppcld unit

git-svn-id: trunk@2821 -
2006-03-09 18:27:11 +00:00
Jonas Maebe
f868c80460 + i386-darwin support (use fpcmake from after 12 February 2006)
git-svn-id: trunk@2820 -
2006-03-09 15:26:49 +00:00
Jonas Maebe
d7b4ac73cf + darwin/x86 support for a_call_name
git-svn-id: trunk@2819 -
2006-03-09 15:02:55 +00:00
Jonas Maebe
ba6f1e4990 * factered WriteInstruction out of TGNUAssembler into its own class
* put Apple-specific GNU assembler stuff in its own class
  + darwin/x86 support to the assembler writer

git-svn-id: trunk@2818 -
2006-03-09 14:59:04 +00:00
Jonas Maebe
8a10afc29d * align symbol stubs on 16 bytes instead of 4
* removed some useless/wrong ".data" section directives in the symbol stubs

git-svn-id: trunk@2816 -
2006-03-09 10:36:57 +00:00
Jonas Maebe
cb94ba5457 * fixed compilation errors
git-svn-id: trunk@2815 -
2006-03-09 09:13:42 +00:00
Jonas Maebe
123951865c * darwin-i386 is little endian, not big endian :)
git-svn-id: trunk@2814 -
2006-03-08 22:40:20 +00:00
Jonas Maebe
1ef28da67b + initial implementation
git-svn-id: trunk@2813 -
2006-03-08 22:22:03 +00:00
Jonas Maebe
a0b62a1bc7 * fixed ppc "make cycle" on Mac OS X/x86
git-svn-id: trunk@2812 -
2006-03-08 21:32:19 +00:00
peter
ab1ec76962 Merged revisions 2805 via svnmerge from
http://svn.freepascal.org/svn/fpc/branches/linker/compiler

........
r2805 | peter | 2006-03-08 07:56:12 +0100 (Wed, 08 Mar 2006) | 2 lines

  * x86_64 compile fix

........

git-svn-id: trunk@2806 -
2006-03-08 06:56:41 +00:00
Károly Balogh
3b2fe2b622 * some more tiny m68k hacks...
git-svn-id: trunk@2804 -
2006-03-07 23:01:55 +00:00
tom_at_work
cb807cb2af * more fixes (to the optimizations) for range check code generation
git-svn-id: trunk@2803 -
2006-03-07 22:52:03 +00:00
tom_at_work
23fda6dc1c * fixed compilation
git-svn-id: trunk@2802 -
2006-03-07 20:15:26 +00:00
Almindor
11398b33ab Adds winsock2 support
git-svn-id: trunk@2801 -
2006-03-07 17:39:28 +00:00
peter
38c0ae73da Merged revisions 2775,2788-2789 via svnmerge from
http://svn.freepascal.org/svn/fpc/branches/linker/compiler

........
r2775 | peter | 2006-03-05 22:43:30 +0100 (Sun, 05 Mar 2006) | 2 lines

  * merge ppu changes to keep ppus the same

........
r2788 | peter | 2006-03-06 12:59:14 +0100 (Mon, 06 Mar 2006) | 2 lines

  * Add TFPList and TFPObjectList

........
r2789 | peter | 2006-03-06 13:01:37 +0100 (Mon, 06 Mar 2006) | 2 lines

  * fix powerpc

........

git-svn-id: trunk@2790 -
2006-03-06 12:04:44 +00:00
peter
492bc50fc2 * fix for bug #4962, fix by Marton Pap
git-svn-id: trunk@2787 -
2006-03-06 11:25:09 +00:00
yury
8a12d38862 * For wince external startup file is used and placed first, because ARM prolog structure must be located at the very beginning of code. Otherwise exceptions do not work properly.
git-svn-id: trunk@2786 -
2006-03-06 10:53:31 +00:00
florian
4443ce0d2a * typo fixed
git-svn-id: trunk@2785 -
2006-03-06 10:33:50 +00:00
Jonas Maebe
f6ad9bea87 * marked resetpass[12] override
git-svn-id: trunk@2784 -
2006-03-06 10:03:45 +00:00
peter
f1976eda5c Merged revisions 2782 via svnmerge from
http://svn.freepascal.org/svn/fpc/branches/linker/compiler

........
r2782 | peter | 2006-03-06 10:59:35 +0100 (Mon, 06 Mar 2006) | 2 lines

  * fix arm compile

........

git-svn-id: trunk@2783 -
2006-03-06 10:00:14 +00:00
peter
48d7cfb2a5 * added ForEachCall
git-svn-id: trunk@2781 -
2006-03-06 09:48:56 +00:00
peter
33bd5edc31 * add TFPLIst.ForEachCall()
git-svn-id: trunk@2780 -
2006-03-06 09:29:08 +00:00
tom_at_work
5d6a002de0 * fixed compilation
git-svn-id: trunk@2779 -
2006-03-05 22:26:37 +00:00
Jonas Maebe
ab5f5ca15e * fixed ppc compilation
git-svn-id: trunk@2778 -
2006-03-05 22:06:44 +00:00
daniel
d772104ce7 * Send escape code to xterm to make alt+key send an escape prefix.
git-svn-id: trunk@2777 -
2006-03-05 22:00:20 +00:00
peter
5abe3dbe38 * fixed invalid typecast
git-svn-id: trunk@2776 -
2006-03-05 21:53:41 +00:00
Jonas Maebe
5fbc345674 + some simplify support for ttypeconvnode
git-svn-id: trunk@2774 -
2006-03-05 21:38:05 +00:00
peter
785550d7e3 Merged revisions 2669,2673,2677,2683,2696,2699-2702,2704,2708,2712-2715,2718,2722-2723,2728-2730,2740,2769 via svnmerge from
svn+ssh://peter@www.freepascal.org/FPC/svn/fpc/branches/linker/compiler

........
r2669 | peter | 2006-02-23 09:31:21 +0100 (Thu, 23 Feb 2006) | 2 lines

  * add compiler dir

........
r2673 | peter | 2006-02-23 17:08:56 +0100 (Thu, 23 Feb 2006) | 2 lines

  * enabled more code

........
r2677 | peter | 2006-02-24 17:46:29 +0100 (Fri, 24 Feb 2006) | 2 lines

  * pe stub and headers

........
r2683 | peter | 2006-02-25 23:13:24 +0100 (Sat, 25 Feb 2006) | 2 lines

  * section options cleanup

........
r2696 | peter | 2006-02-26 20:27:41 +0100 (Sun, 26 Feb 2006) | 2 lines

  * fixed typecasts

........
r2699 | peter | 2006-02-26 23:04:32 +0100 (Sun, 26 Feb 2006) | 2 lines

  * simple linking works

........
r2700 | peter | 2006-02-27 09:44:50 +0100 (Mon, 27 Feb 2006) | 2 lines

  * internal linker script

........
r2701 | peter | 2006-02-27 12:05:12 +0100 (Mon, 27 Feb 2006) | 2 lines

  * make elf working again

........
r2702 | peter | 2006-02-27 14:04:43 +0100 (Mon, 27 Feb 2006) | 3 lines

  * disable dwarf for smartlinking with .a
  * fix section start in new .a file

........
r2704 | peter | 2006-02-27 18:30:43 +0100 (Mon, 27 Feb 2006) | 2 lines

  * stab section fixes

........
r2708 | peter | 2006-02-28 19:29:17 +0100 (Tue, 28 Feb 2006) | 2 lines

  * basic work to merge stabs sections

........
r2712 | peter | 2006-02-28 23:17:48 +0100 (Tue, 28 Feb 2006) | 2 lines

  * unload tmodules before linking

........
r2713 | peter | 2006-02-28 23:18:51 +0100 (Tue, 28 Feb 2006) | 2 lines

  * fixed stabs linking

........
r2714 | peter | 2006-02-28 23:19:19 +0100 (Tue, 28 Feb 2006) | 2 lines

  * show code and data size

........
r2715 | peter | 2006-02-28 23:25:35 +0100 (Tue, 28 Feb 2006) | 2 lines

  * unload .stabs from objdata after it is merged

........
r2718 | peter | 2006-03-01 12:24:38 +0100 (Wed, 01 Mar 2006) | 3 lines

  * memsize/datasize cleanup
  * check for exports/resources when adding module to linker

........
r2722 | peter | 2006-03-03 09:12:20 +0100 (Fri, 03 Mar 2006) | 2 lines

  * new TObjSymbol splitted from TAsmSymbol

........
r2723 | peter | 2006-03-03 14:08:55 +0100 (Fri, 03 Mar 2006) | 2 lines

  * coff fixes after recent objsymbol changes

........
r2728 | peter | 2006-03-03 22:43:04 +0100 (Fri, 03 Mar 2006) | 2 lines

  * fixed coff writer

........
r2729 | peter | 2006-03-04 01:10:32 +0100 (Sat, 04 Mar 2006) | 2 lines

  * fix read-only opening

........
r2730 | peter | 2006-03-04 01:11:16 +0100 (Sat, 04 Mar 2006) | 2 lines

  * Read edata from DLLs, basic work

........
r2740 | peter | 2006-03-04 21:13:43 +0100 (Sat, 04 Mar 2006) | 3 lines

  * deletedef added
  * don't remove defs from index when we are already clearing everything

........
r2769 | peter | 2006-03-05 21:42:33 +0100 (Sun, 05 Mar 2006) | 4 lines

  * moved TObj classes to ogbase
  * ObjSection.SymbolRefs and SymbolDefines list
  * DLL importing

........

git-svn-id: trunk@2771 -
2006-03-05 21:10:37 +00:00
yury
1d58b572b5 * Changed Win32 DLL entry point names (removed @12 at the end).
git-svn-id: trunk@2770 -
2006-03-05 20:44:23 +00:00
yury
d48f512146 * do not try to call cross compiler if host CPU was specified using -P parameter.
* tabs to spaces.

git-svn-id: trunk@2768 -
2006-03-05 20:36:16 +00:00
peter
ef36969ff6 * fixed xmlreg depends
git-svn-id: trunk@2767 -
2006-03-05 20:16:03 +00:00
peter
eef38f2264 Initialized merge tracking via "svnmerge" with revisions "1-2668" from
svn+ssh://peter@www.freepascal.org/FPC/svn/fpc/branches/linker/compiler

git-svn-id: trunk@2765 -
2006-03-05 19:14:35 +00:00
peter
08aea3b7fb * nested for loop with same counter
git-svn-id: trunk@2764 -
2006-03-05 18:58:55 +00:00
florian
79795d65b5 * fixed previous commit
git-svn-id: trunk@2763 -
2006-03-05 18:57:36 +00:00
florian
6952e63222 * test vmt only for classes and objects
git-svn-id: trunk@2762 -
2006-03-05 18:33:45 +00:00
daniel
08bf4afa30 * Add extra sequences for FreeBSD xterm
git-svn-id: trunk@2761 -
2006-03-05 18:27:17 +00:00
Jonas Maebe
69671a1a5c * increased ppu version because the ppu files are different since the
previous commit

git-svn-id: trunk@2760 -
2006-03-05 13:37:10 +00:00
marco
63e8d1062c * now first searches ppcross<target> if -P<target> is specified.
After that it still searches for ppc<target>

git-svn-id: trunk@2759 -
2006-03-05 13:36:31 +00:00
Jonas Maebe
e5ebc40446 * fixed crash with loading overridden properties of forward-declared
classes from ppu files

git-svn-id: trunk@2758 -
2006-03-05 13:34:43 +00:00
Jonas Maebe
6db9f7c3b7 * changed append_entry from a function in a procedure since its result
isn't set nor used anywhere

git-svn-id: trunk@2757 -
2006-03-05 13:32:47 +00:00
marco
a0573f1015 * a few type aliases added, capitalisation fixed
git-svn-id: trunk@2756 -
2006-03-05 13:28:27 +00:00
marco
8d2dd005c7 * tms and iovec structures
git-svn-id: trunk@2755 -
2006-03-05 13:01:24 +00:00
yury
c93aeb8e04 * Linker error fixed.
* DLL support for wince. Still one issue: DLLs can not do console i/o.
* StackTop support.

git-svn-id: trunk@2754 -
2006-03-05 12:38:56 +00:00
Tomas Hajny
21d7670a0b * StackTop now common and changed to pointer (remove duplicate declaration)
git-svn-id: trunk@2753 -
2006-03-05 10:41:47 +00:00
Tomas Hajny
237525c698 * StackTop now pointer
git-svn-id: trunk@2752 -
2006-03-05 10:41:12 +00:00
Tomas Hajny
b108f79236 * StackTop now common (remove duplicate)
git-svn-id: trunk@2751 -
2006-03-05 10:37:55 +00:00
yury
03ac7991e8 * fixed paszlib compiling in objfpc/delphi mode.
git-svn-id: trunk@2750 -
2006-03-05 09:48:31 +00:00