Commit Graph

367 Commits

Author SHA1 Message Date
yury
d8d25c2489 * fixed memory leaks in compiler.
git-svn-id: trunk@5369 -
2006-11-14 09:32:58 +00:00
yury
5f484a0f14 * section "fpc" was renamed to ".fpc".
* compiler version string is stored in .fpc.version section.
* debug start/end links are stored in .fpc.links section.
* fixed linking with eVC++ object files by internal linker.
* .fpc.links section is removed by internal linker before writing executable, because it is no longer needed.

git-svn-id: trunk@5305 -
2006-11-10 10:33:41 +00:00
peter
0557ddc342 * removed typed const, it is now handled by staticvarsym
* globalvarsym renamed to staticvarsym
  * fixed invalid regvar use in init when the finalize also uses the var

git-svn-id: trunk@5290 -
2006-11-08 21:04:22 +00:00
peter
2900d02f0b * add maybequoted for filenames
git-svn-id: trunk@5245 -
2006-11-05 13:27:29 +00:00
peter
35c21515a9 * fixed adding of .dll extension
git-svn-id: trunk@5243 -
2006-11-05 13:05:21 +00:00
florian
4cbb67aa00 * some fpu emulation code from arm to generic code generator moved
* several m68k fixes

git-svn-id: trunk@5218 -
2006-11-04 10:23:35 +00:00
peter
e17b424e28 * refactor procsym procdef list
git-svn-id: trunk@5210 -
2006-11-03 18:44:46 +00:00
florian
a8928cf22e * fixed linking against cgywin on win32
git-svn-id: trunk@5194 -
2006-11-03 09:08:53 +00:00
peter
55f9758c25 * only add resext if no extension was specified
* default resext for windows changed to .res

git-svn-id: trunk@5193 -
2006-11-03 08:51:23 +00:00
florian
6e2187c606 + windows uses now sysinit units as well
git-svn-id: trunk@5191 -
2006-11-02 23:20:35 +00:00
micha
12e8645889 * fix cross-compiling from i386/linux
git-svn-id: trunk@5186 -
2006-11-02 21:19:24 +00:00
micha
ad7d549965 + implement pascal inline asm start/halt code for linux/i386
git-svn-id: trunk@5181 -
2006-11-02 16:58:41 +00:00
yury
82b0e6df0b * More fixes for wince exceptions. Debugging also work with internal linker now for wince.
git-svn-id: trunk@5127 -
2006-10-31 16:06:44 +00:00
yury
d6bef899a5 * Fixed wince exceptions.
git-svn-id: trunk@5124 -
2006-10-31 15:03:16 +00:00
peter
7a2e0da7bd * extra parameter for file searching functions
that indicate if the cache shall be used or not
  * fixed compile of non-x86 targets

git-svn-id: trunk@5115 -
2006-10-31 10:56:58 +00:00
Jonas Maebe
07d2ecb78b * fixed compilation
git-svn-id: trunk@5113 -
2006-10-31 09:46:47 +00:00
peter
9f5d69ce31 * make win32 compile
git-svn-id: trunk@5103 -
2006-10-30 23:46:28 +00:00
peter
cb246eb781 * Remove dos,strings units, use SysUtils instead
* replace split* functions with Extract* functions
  * Add Directory caching

git-svn-id: trunk@5102 -
2006-10-30 23:29:35 +00:00
florian
85d63d9fa9 * settings refactored
git-svn-id: trunk@5094 -
2006-10-30 18:02:58 +00:00
florian
efa4967d37 + compiler has the linker script now embedded
+ gba linker takes care of binutilsprefix
+ objcopy is called by the compiler

git-svn-id: trunk@4938 -
2006-10-15 21:29:59 +00:00
micha
d704af7216 fix compilation for {$T+} linux/win
git-svn-id: trunk@4794 -
2006-10-04 20:43:55 +00:00
Marc Weustink
48340d291e * splitup dwarf2/dwarf3
* changed cpu64bit define into isdwarf64 boolean
* generate info for methods

git-svn-id: trunk@4759 -
2006-09-30 15:21:17 +00:00
Jonas Maebe
2000c7d3e3 * used "gas" instead of "as" for Solaris (both sparc and x86)
and not for linux/sparc

git-svn-id: trunk@4659 -
2006-09-19 13:38:44 +00:00
Jonas Maebe
17e61456c6 * support for creating smartlinkable files under darwin. Don't turn on
smartlinking (-XX) yet though, it doesn't work because of bugs in the
    current darwin linker regarding dealing with multiple symbols referring
    to the same address.

git-svn-id: trunk@4613 -
2006-09-12 12:05:38 +00:00
Jonas Maebe
9b33012fe9 * fixed compilation
git-svn-id: trunk@4551 -
2006-09-04 11:34:02 +00:00
peter
bf1c390027 * refactor import library generation
* support variable imports in internal linker

git-svn-id: trunk@4544 -
2006-09-03 19:22:31 +00:00
Jonas Maebe
889f564aa3 * use "ld -s" instead of "ld -x" on darwin, since the ld-bug which broke
"ld -s" was fixed a long time ago (and "ld -x" results in larger
    binaries)

git-svn-id: trunk@4398 -
2006-08-09 15:57:00 +00:00
Jonas Maebe
e52ff8bbcf * used gar instead of ar on solaris
git-svn-id: trunk@4393 -
2006-08-08 17:11:46 +00:00
Károly Balogh
94f3f07a97 + first attempt to have linking support for AmigaOS/PowerPC
git-svn-id: trunk@4349 -
2006-08-04 20:05:22 +00:00
Jonas Maebe
a530c3e611 * defined HASUNIX for Solaris
git-svn-id: trunk@4347 -
2006-08-04 13:07:37 +00:00
Károly Balogh
b77a51f67d + first somewhat-valid AmigaOS/PowerPC support (no linking yet)
git-svn-id: trunk@4329 -
2006-08-02 18:47:25 +00:00
peter
1a596dfc7b * disable internal linker
git-svn-id: trunk@4301 -
2006-07-29 14:33:27 +00:00
florian
6235118f06 * use dwarf by default on x86_64-linux
git-svn-id: trunk@4219 -
2006-07-16 08:46:29 +00:00
Jonas Maebe
2429cdce1b * removed/conditionalised several unused variables
git-svn-id: trunk@4197 -
2006-07-14 20:05:46 +00:00
Jonas Maebe
9b48d424ff * fixed use of uninitialised variables
git-svn-id: trunk@4195 -
2006-07-14 19:45:14 +00:00
Jonas Maebe
ff4a00244f * increased *align_max to 8 bytes for darwin/i386 (needed for mmx/sse)
git-svn-id: trunk@4177 -
2006-07-14 13:20:40 +00:00
yury
0fcb76dc89 * cprefix is empty for arm-wince.
git-svn-id: trunk@4076 -
2006-07-02 14:05:58 +00:00
yury
5aef17adae * Internal linker now creates .reloc section for DLLs.
git-svn-id: trunk@4046 -
2006-07-01 21:45:54 +00:00
marco
2aadf05093 * link reordering
git-svn-id: trunk@4016 -
2006-06-30 20:14:01 +00:00
peter
a57ea4a656 * fix typo in previous commit
git-svn-id: trunk@4005 -
2006-06-29 21:22:47 +00:00
peter
83a5f38b92 * fixed x86_64 build
git-svn-id: trunk@3994 -
2006-06-29 18:32:24 +00:00
oro06
3afad32966 *arm: TPECoffLinker is TInternalLinkerWin
+arm : InterlockedCompareExchangePointer

git-svn-id: trunk@3993 -
2006-06-29 07:39:54 +00:00
peter
f5c1839ff0 * support static library (.a) linking
* move win linker script to t_win
  * rename some win32 to win in t_win

git-svn-id: trunk@3991 -
2006-06-28 20:26:53 +00:00
florian
dc2bef3875 + implemented directives $setpeflags, $maxstacksize, $minstacksize and $imagebase, fixes #6349 and #6714
git-svn-id: trunk@3935 -
2006-06-25 10:22:42 +00:00
peter
6a4ee03913 * change edatalabel to string references. The edatalabel is not available anymore after a unit is compiled
git-svn-id: trunk@3920 -
2006-06-22 06:02:58 +00:00
marco
0dc6fb52ea * linkordering for Linux
git-svn-id: trunk@3911 -
2006-06-21 15:49:39 +00:00
peter
de201caa8e * elf64 by default
git-svn-id: trunk@3902 -
2006-06-20 18:58:32 +00:00
marco
2a5332e3bd * Link ordering working FreeBSD implementation
git-svn-id: trunk@3894 -
2006-06-19 14:17:45 +00:00
peter
9998099a05 * range error
git-svn-id: trunk@3891 -
2006-06-19 06:33:29 +00:00
yury
8bef50f29f * fixed import by ordinal number for all Windows targets when using external linker.
git-svn-id: trunk@3830 -
2006-06-09 20:02:03 +00:00