Commit Graph

109 Commits

Author SHA1 Message Date
peter
0bbead8114 * use use_section_smartlink instead of af_smartlink_sections
git-svn-id: trunk@2336 -
2006-01-25 18:07:36 +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
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
florian
dac22b4703 * fixed stupid typo in x86_64 pic code generation
git-svn-id: trunk@1731 -
2005-11-13 17:00:34 +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
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
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
6bf3269b41 * powerpc64 port from Thomas Schatzl
git-svn-id: trunk@1193 -
2005-09-25 17:19:44 +00:00
peter
82faa95118 * lineinfo fixed for binary writer
* add tai_directive to replace old tai_direct calls
    in powerpc

git-svn-id: trunk@1139 -
2005-09-19 11:47:30 +00:00
peter
c3727c29b2 * rename al_code to al_procedures, al_bss/al_data to al_globals
* more work for section smartlinking

git-svn-id: trunk@1083 -
2005-09-15 06:51:12 +00:00
michael
a578c9b7ed + Also take resources in main program source into account
git-svn-id: trunk@990 -
2005-08-31 14:12:41 +00:00
michael
69d44da006 + Patch from colin western to let linker use internal script
git-svn-id: trunk@975 -
2005-08-29 10:32:12 +00:00
michael
3392189fb0 + Implemented resources for ELF
git-svn-id: trunk@956 -
2005-08-28 09:35:35 +00:00
florian
1c9a8396b7 * commented linker script generation for linux out, causes problems on some machines,
see bug #4317

git-svn-id: trunk@945 -
2005-08-26 21:01:28 +00:00
peter
05a628447f * put typedconsts in own asmlist to prevent mixing
array and string data
  * added al_rodata
  * renamed tasmlist enum names to include al_ prefix

git-svn-id: trunk@899 -
2005-08-17 08:42:52 +00:00
florian
a3e330526d * exporting of symbols from linux programs, i.e. exports clause in
programs allowed

git-svn-id: trunk@855 -
2005-08-13 20:34:28 +00:00
peter
3b2868feaf * remove ld 2.16 specific line
git-svn-id: trunk@778 -
2005-08-01 10:23:28 +00:00
daniel
9916f784ce * Use a linker script to put threadvars at the right location
git-svn-id: trunk@767 -
2005-07-30 19:14:41 +00:00
daniel
d05f58b604 * Group asmlists into array to be able to add
some of them more comfortably.
  * x86_64 compilation was broken, fixed.
  * Sparc compilation was broken, fixed.

git-svn-id: trunk@731 -
2005-07-23 13:44:32 +00:00
daniel
d57c048696 * Remove ifdef 1_0
* Add expirimental 32-bit x86_64 target to systems

git-svn-id: trunk@729 -
2005-07-23 08:37:26 +00:00
daniel
31d3e72e56 * Force linker target
git-svn-id: trunk@376 -
2005-06-10 21:12:01 +00:00
fpc
790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
fpc
50778076c3 initial import
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
peter
748df1810f * use lib64 for x86_64 2005-03-07 17:10:00 +00:00
peter
e417e34496 * truncate log 2005-02-14 17:13:06 +00:00
peter
ee5cd11877 * generate export jmps in .text section 2005-01-10 15:56:13 +00:00
peter
dc363f29bc * maybequoted() added 2004-12-22 16:32:45 +00:00
florian
ce3f177339 * dyn. linker path fixed for x86_64 2004-12-19 14:03:16 +00:00
peter
14d25d278b mangledname setting moved to place after the complete proc declaration is read
import generation moved to place where body is also parsed (still gives problems with win32)
2004-11-17 22:21:35 +00:00
peter
6458bd0ce1 * tvarsym splitted 2004-11-08 22:09:58 +00:00
florian
7e778c5d78 * fixed dyn. linker handling 2004-11-05 12:27:27 +00:00
florian
aa23d79073 * path of dyn. linker on arm for linux fixed 2004-11-05 11:04:23 +00:00
peter
d24241b008 * gc-sections added when section smartlinking is used 2004-10-24 13:36:26 +00:00
mazen
e90d8a42e3 * USE_SYSUTILS merged successfully : cycles with and without defines
* Need to be optimized in performance
2004-10-14 18:16:17 +00:00
florian
05ca833859 * fixed dyn. linker name for sparc 2004-09-25 18:44:12 +00:00
mazen
da1c3fb6f0 * Fix error committing : previous version must be in branch USE_SYSUTILS 2004-09-22 15:25:14 +00:00
mazen
3b591c5575 * use SysUtils unit instead of Dos Unit 2004-09-22 15:14:37 +00:00
peter
33a834821f * paraloc branch merged 2004-09-21 17:25:12 +00:00
daniel
9b08a42919 * Uclibc detection 2004-07-08 14:42:54 +00:00
florian
8a9758c5e2 * logs truncated 2004-06-20 08:55:28 +00:00
florian
588e2c38bf * dwarf branch merged 2004-06-16 20:07:06 +00:00
florian
10e765329d * fixed arm compilation
* cleaned up code generation for exported linux procedures
2004-03-06 20:35:19 +00:00
peter
867f710d8d * misplaced $Ifdef 2004-03-04 16:32:59 +00:00
olle
4fecc1a56f * big transformation of Tai_[const_]Symbol.Create[data]name* 2004-03-02 00:36:32 +00:00
Jonas Maebe
2d40a5008b + support exported procedures for linuxppc
* refuse to compile systems/t_linux.pas if processor-specific  support
    for exported procedures is absent
  + generate .type and .size info for all currently defined linux-variants
    in aggas.pas
2004-01-03 13:51:05 +00:00
Jonas Maebe
e90bd0332a * default linker name for non-i386 and non-m68k 2004-01-01 15:34:50 +00:00
marco
0d72eee09e * librarysuffix + profiling 2003-10-30 18:35:30 +00:00
marco
d841f44994 * -Xd 2003-10-11 19:32:04 +00:00
marco
487650ab51 * -XP<prefix> support 2003-10-03 14:16:48 +00:00
florian
d2035fd6b4 * very basic stuff for the arm 2003-07-21 11:52:57 +00:00
peter
7f14891d66 * aktprocdef cleanup, aktprocdef is now always nil when parsing
a new procdef declaration
  * aktprocsym removed
  * lexlevel removed, use symtable.symtablelevel instead
  * implicit init/final code uses the normal genentry/genexit
  * funcret state checking updated for new funcret handling
2003-04-27 07:29:50 +00:00
peter
35801981d1 * .o files belonging to the unit are first searched in the same dir
as the .ppu
2003-04-26 09:16:07 +00:00
carl
9972293cee - remove extra ifdef i386 (avoir compilation errors) 2002-12-14 13:02:45 +00:00
peter
76f0990e8b * m68k library support 2002-12-06 17:51:43 +00:00
carl
64655be168 * memory optimization (3-4%) : cleanup of tai fields,
cleanup of tdef and tsym fields.
  * make it work for m68k
2002-11-17 16:31:55 +00:00
peter
bfd72ad5d5 * merged changes from 1.0.7 up to 04-11
- -V option for generating bug report tracing
    - more tracing for option parsing
    - errors for cdecl and high()
    - win32 import stabs
    - win32 records<=8 are returned in eax:edx (turned off by default)
    - heaptrc update
    - more info for temp management in .s file with EXTDEBUG
2002-11-15 01:58:45 +00:00
peter
a540ff122c * tdicationary.replace added to replace and item in a dictionary. This
is only allowed for the same name
  * varsyms are inserted in symtable before the types are parsed. This
    fixes the long standing "var longint : longint" bug
  - consume_idlist and idstringlist removed. The loops are inserted
    at the callers place and uses the symtable for duplicate id checking
2002-09-09 17:34:14 +00:00
carl
517c2566e8 * moved files to systems directory 2002-09-06 15:03:50 +00:00