Commit Graph

21868 Commits

Author SHA1 Message Date
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
tom_at_work
5e0ebb6139 * fixed opengl package compilation on Win32
git-svn-id: trunk@2749 -
2006-03-05 09:18:36 +00:00
tom_at_work
7f192e369e * changed library handle types to the correct TLibHandle
* avoid call of FreeLibrary() with zero, because it crashes on some linux versions

git-svn-id: trunk@2748 -
2006-03-04 23:40:43 +00:00
Tomas Hajny
88a8aa31d9 * Slight optimization (constant instead of variable in assignment)
git-svn-id: trunk@2747 -
2006-03-04 23:09:06 +00:00
Tomas Hajny
ccbc7717cc * Fix to allow / instead of " fexpand.inc
git-svn-id: trunk@2746 -
2006-03-04 23:05:24 +00:00
Jonas Maebe
5afe846580 * fixed simplifying
git-svn-id: trunk@2745 -
2006-03-04 22:04:53 +00:00
Jonas Maebe
e668ef560a * fixed bug in r2738
git-svn-id: trunk@2743 -
2006-03-04 21:37:19 +00:00
Jonas Maebe
b910a5da10 + problem when passing a typecasted class instance to a var parameter
with -CR

git-svn-id: trunk@2741 -
2006-03-04 20:17:29 +00:00
Jonas Maebe
b063d47aa1 * fixed web bug #4872
git-svn-id: trunk@2738 -
2006-03-04 20:04:35 +00:00
tom_at_work
a0bc256b8f * added syscall_nr_pwrite/read64 aliases for build
git-svn-id: trunk@2737 -
2006-03-04 18:40:17 +00:00
Jonas Maebe
07ce826be0 + added ability for (mainly 32bit) code generators to directly handle
32bit*32bit->64bit          
  + implemented the above for ppc32 (note: does not happen very often
    in practice, at least not in the compiler and rtl)       
  + test for the above

git-svn-id: trunk@2735 -
2006-03-04 15:09:09 +00:00
marco
6f0e817973 * pwrite/writev for *BSD + FPC_USE_LIBC. Requires IOVEC et al to be defined in ostypes.inc
git-svn-id: trunk@2734 -
2006-03-04 14:21:42 +00:00
Jonas Maebe
8f6b52d482 * don't set high register of 64 bit result for comparisons in case
one of the operands is a constant (missing begin/end after "if")

git-svn-id: trunk@2733 -
2006-03-04 14:14:39 +00:00
Vincent Snijders
b0a394edfc fixed typo
git-svn-id: trunk@2732 -
2006-03-04 13:34:07 +00:00
marco
24c0b496dd * commit of the syscall based linux support for pwrite/writev, still under
{$ifdef linux}. This to fix x86_64 breakage.

git-svn-id: trunk@2731 -
2006-03-04 12:40:45 +00:00
peter
e176f81527 * check for empty objectfiles before writing INPUT()
git-svn-id: trunk@2727 -
2006-03-03 21:03:20 +00:00
Jonas Maebe
dd03d5c997 * put jump tables in rodata
git-svn-id: trunk@2726 -
2006-03-03 19:33:17 +00:00
Jonas Maebe
ec486f0238 * also change labels starting with L to _L on darwin/x86
git-svn-id: trunk@2725 -
2006-03-03 19:31:46 +00:00
Jonas Maebe
2c01a6f77a + added extra info about when parser_e_illegal_assignment_to_count_var
can happen

git-svn-id: trunk@2724 -
2006-03-03 19:29:07 +00:00
daniel
df70410e9c - Remove usage of memory unit; things like the lowmemory function are
flawed for the same reason memavail is flawed.

git-svn-id: trunk@2720 -
2006-03-01 15:29:05 +00:00