Commit Graph

385 Commits

Author SHA1 Message Date
Jonas Maebe
1b25984563 + new tf_dwarf_relative_addresses target flag for platforms where all
addresses which are specified as relative offsets in the dwarf
    spec must actually be emitted as relative offsets by the compiler
    (only set for Darwin currently, not yet used)

git-svn-id: trunk@6298 -
2007-02-02 13:49:26 +00:00
tom_at_work
106fe68ce6 * renamed TStringList to TCmdStrList, in general use TCmdStr instead of shortstrings to fix bug #6351
git-svn-id: trunk@6215 -
2007-01-26 22:29:39 +00:00
Jonas Maebe
4d1f213889 * fixed gprof support for darwin/ppc32 (although the output from gprof
isn't very useful, since it discards all symbols which contain a '$')

git-svn-id: trunk@6080 -
2007-01-19 21:43:12 +00:00
Jonas Maebe
ea5a5ad02c * added missing abi field initialisation
git-svn-id: trunk@6072 -
2007-01-19 13:59:17 +00:00
pierre
903d6db366 * avoid redefinition of source OS
git-svn-id: trunk@6062 -
2007-01-19 01:38:29 +00:00
peter
fc63672012 * forgot to add files
git-svn-id: trunk@6054 -
2007-01-18 20:30:58 +00:00
peter
323fc850b9 * fixed duplicate alias check
git-svn-id: trunk@6003 -
2007-01-16 18:31:27 +00:00
peter
c9703d43d5 * check also procedure aliases for duplicate names when
generating an export stub

git-svn-id: trunk@5993 -
2007-01-15 17:45:37 +00:00
florian
d4b4cb3096 * linux libraries must be build with -Bsymbolic to avoid symbol shadowing
git-svn-id: trunk@5833 -
2007-01-06 23:40:22 +00:00
florian
881fb4d392 * working linker script for x86_64 libraries
git-svn-id: trunk@5827 -
2007-01-06 18:39:09 +00:00
florian
481b3c5175 * amd64 linker script
git-svn-id: trunk@5825 -
2007-01-06 17:36:10 +00:00
yury
1044e84ea3 * fixed i386-wince flags.
* enabled internal linker for i386-wince.

git-svn-id: trunk@5742 -
2006-12-29 20:50:43 +00:00
Legolas
5f81d9e656 * arm9 binaries are automatically patched
git-svn-id: trunk@5634 -
2006-12-18 18:43:51 +00:00
florian
fd2032dab2 + start of embedded rtl
+ feature support in the compiler

git-svn-id: trunk@5628 -
2006-12-17 18:40:36 +00:00
Legolas
96e1c482bc * compiler part of first Nintendo DS port
git-svn-id: trunk@5592 -
2006-12-14 17:32:16 +00:00
pierre
f7da7486a3 * Avoid memory leak in TExportLibWin.preparelib
git-svn-id: trunk@5546 -
2006-12-05 22:51:04 +00:00
Legolas
086b4cf7ee * libc and libgcc linking enabled
git-svn-id: trunk@5542 -
2006-12-05 18:24:56 +00:00
micha
09c8d571a6 * fix shared library linking for linux (issue #7849, patch from Dominique Leducq)
git-svn-id: trunk@5433 -
2006-11-20 19:24:20 +00:00
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