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
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
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
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
peter
e176f81527
* check for empty objectfiles before writing INPUT()
...
git-svn-id: trunk@2727 -
2006-03-03 21:03:20 +00:00
peter
4c56a87d59
* integrate loaders in system unit
...
git-svn-id: trunk@2695 -
2006-02-26 18:21:35 +00:00
Jonas Maebe
23868147a6
- disable automatic adding of "splitfilename(libname)" to to-be-linked
...
libraries for darwin (accidentally committed in previous commit)
git-svn-id: trunk@2595 -
2006-02-15 14:59:38 +00:00
Jonas Maebe
5f3e0b5398
* link_allways -> link_always
...
git-svn-id: trunk@2594 -
2006-02-15 14:36:30 +00:00
Jonas Maebe
8808faf5c0
+ some darwin i386 support
...
git-svn-id: trunk@2589 -
2006-02-15 10:43:57 +00:00
florian
305d5c66ce
+ i386-darwin
...
git-svn-id: trunk@2555 -
2006-02-12 21:58:49 +00:00
Jonas Maebe
2435a7a93c
* finalization sections in shared libraries under Darwin are now run
...
* cleaned up the way the initialisation sections of shared libraries
under Darwin are run
git-svn-id: trunk@2470 -
2006-02-07 14:29:58 +00:00
peter
6b536c206a
* fix dll linking
...
git-svn-id: trunk@2464 -
2006-02-07 06:55:47 +00:00
florian
850188d5da
+ define sunos as well for Solaris/SunOS
...
git-svn-id: trunk@2463 -
2006-02-06 22:24:04 +00:00
florian
d26f004cdb
* solaris port doesn't need the startup files
...
git-svn-id: trunk@2460 -
2006-02-06 21:43:22 +00:00
mazen
bc18d6eb8a
+ added palmos support to makes files
...
+ added Makefile.fpc to palmos in rtl
+ added faked prt0 to plamos rtl
git-svn-id: trunk@2443 -
2006-02-05 19:22:12 +00:00
peter
54d4e9e4b9
* palmos patch from mazen
...
git-svn-id: trunk@2400 -
2006-02-02 07:12:43 +00:00
peter
0bbead8114
* use use_section_smartlink instead of af_smartlink_sections
...
git-svn-id: trunk@2336 -
2006-01-25 18:07:36 +00:00
peter
1e236c65b7
* fix order of libraries for -pg
...
git-svn-id: trunk@2321 -
2006-01-22 11:16:15 +00:00
florian
f5d790f9b6
* i386 uses dwarf cfi info on linux/win32, so even when omitting the stack frame, trace backs in gdb are correct
...
git-svn-id: trunk@2316 -
2006-01-21 14:30:57 +00:00
peter
abc49206fc
* section smartlink for win32 added, disabled by default because ld.exe
...
ignores the --gc-sections for pe-i38
git-svn-id: trunk@2305 -
2006-01-16 10:50:02 +00:00
marco
4fe8654fe4
* shared lib i_ and t_ changes. Some small comments cleanup to t_
...
git-svn-id: trunk@2297 -
2006-01-15 15:22:29 +00:00
florian
d525a3b162
+ set WINDOWS define on all Windows platforms (Win32,Win64,WinCE)
...
git-svn-id: trunk@2291 -
2006-01-15 11:00:35 +00:00
Károly Balogh
b0d7dd59e8
* fixed case sensitivity flags for Amiga & co
...
git-svn-id: trunk@2275 -
2006-01-13 16:26:39 +00:00
peter
66f8276445
* refactor booleans in systeminfo structure, they are now flags
...
* support for case aware filesystems (Windows), they do now only
one lookup if a file exists
* add -WI option to generate import section for DLL imports or
let the linker handle it. Default is still import section until
the Makefiles are fixed, then the generation can be left to the
linker
git-svn-id: trunk@2274 -
2006-01-13 15:13:26 +00:00
Tomas Hajny
6aced9e534
* fix for web bug #4182
...
git-svn-id: trunk@2238 -
2006-01-09 02:52:55 +00:00
Károly Balogh
cd38c236a0
+ made the compiler to know about PowerPC AmigaOS
...
git-svn-id: trunk@2201 -
2006-01-07 04:46:27 +00:00
florian
61e3b70cfa
* cleaned up segmented thread variables
...
git-svn-id: trunk@2135 -
2006-01-03 12:49:29 +00:00
florian
a11a177469
* generate pic'ed external jmps on 386 as well if necessary
...
git-svn-id: trunk@2092 -
2005-12-31 13:51:57 +00:00
florian
27f28eec1a
* use 16 byte procedure alignment on windows too
...
git-svn-id: trunk@1962 -
2005-12-15 19:50:58 +00:00
florian
a1189a9d64
* exports info handling refactored, -E will be passed to ld if necessary
...
git-svn-id: trunk@1922 -
2005-12-10 22:00:33 +00:00
marco
d2e7a4e587
* cross-darwin support
...
git-svn-id: trunk@1796 -
2005-11-20 22:13:23 +00:00
florian
dac22b4703
* fixed stupid typo in x86_64 pic code generation
...
git-svn-id: trunk@1731 -
2005-11-13 17:00:34 +00:00
tom_at_work
ff47ffb255
* quick fix for stack checking on Linux/PPC64
...
git-svn-id: trunk@1716 -
2005-11-10 15:15:26 +00:00
Jonas Maebe
41d2ba68fe
* use an absolute output path for the linker when creating shared libraries,
...
so they can be used regardless where the executable is located
git-svn-id: trunk@1588 -
2005-10-23 18:19:03 +00:00
florian
5907f99b6a
* fixed previous commit
...
git-svn-id: trunk@1580 -
2005-10-23 16:59:59 +00:00
florian
a21b79d316
+ plt for export jmps
...
git-svn-id: trunk@1579 -
2005-10-23 16:57:47 +00:00
florian
11e087e212
+ fixed some alignment settings
...
git-svn-id: trunk@1563 -
2005-10-22 15:40:36 +00:00
florian
e1b34a9e7b
* cleaning up sets for exports behaviour
...
+ allow exports from units
git-svn-id: trunk@1535 -
2005-10-19 19:06:45 +00:00
tom_at_work
4db863d076
* first shared library link path fixes
...
* PowerPC64/Linux signal handler now differs between different FP exceptions
git-svn-id: trunk@1452 -
2005-10-17 21:30:21 +00:00
peter
51b8a4a132
* move stabs generation to a single procedure call from pmodules
...
git-svn-id: trunk@1358 -
2005-10-12 10:35:46 +00:00
tom_at_work
28381b1287
* new assembler symbol type AT_LABEL needed for PowerPc64 target
...
+ added automatic definition of FPC_REQUIRES_PROPER_ALIGNMENT define for PowerPC64 target
git-svn-id: trunk@1278 -
2005-10-03 22:13:45 +00:00
florian
ab88e4b882
* if no dyn. linker is found on linux, assume glibc21
...
git-svn-id: trunk@1269 -
2005-10-03 17:10:39 +00:00
peter
89297d2c39
* move all stabs ($ifdef gdb) code to dbgstabs
...
git-svn-id: trunk@1255 -
2005-10-02 11:17:05 +00:00
Jonas Maebe
65dd7465ae
* some string -> TCmdStr fixes
...
git-svn-id: trunk@1225 -
2005-09-29 11:32:22 +00:00
Jonas Maebe
f3384bab09
+ some initial darwin/x86 stuff:
...
* align stack to 16 bytes
* extended takes 16 bytes
* <= 8 byte records are passed in registers
git-svn-id: trunk@1224 -
2005-09-29 11:31:26 +00:00
peter
1470fff825
* disable section smartlinking
...
git-svn-id: trunk@1222 -
2005-09-29 06:24:15 +00:00
peter
ec4d287fd8
* aktoutputformat removed, add new paraXX vars for target
...
assembler and debuginfo and use these vars to override
the defaults for the target after the parameters are read
* remove not-maintained and tested gdb code
git-svn-id: trunk@1201 -
2005-09-25 21:17:37 +00:00
peter
6bf3269b41
* powerpc64 port from Thomas Schatzl
...
git-svn-id: trunk@1193 -
2005-09-25 17:19:44 +00:00
peter
cde3b119ef
* enable section smartlinking by default for i386-linux
...
git-svn-id: trunk@1166 -
2005-09-23 13:46:31 +00:00