Commit Graph

50 Commits

Author SHA1 Message Date
peter
d19c898b56 * remove obsolete generatesmartlib
git-svn-id: trunk@3341 -
2006-04-27 06:40:19 +00:00
peter
0ec2921bbe * split newasmsymbol to refasmsymbol and defineasmsymbol
git-svn-id: trunk@3057 -
2006-03-27 11:45:18 +00:00
peter
b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from
http://svn.freepascal.org/svn/fpc/branches/linker/compiler

........
r2921 | peter | 2006-03-15 08:35:00 +0100 (Wed, 15 Mar 2006) | 2 lines

  * pass ObjectWriter to ObjectOuput

........
r2922 | peter | 2006-03-15 12:40:30 +0100 (Wed, 15 Mar 2006) | 2 lines

  * refactor asmdata

........
r2925 | peter | 2006-03-15 16:09:39 +0100 (Wed, 15 Mar 2006) | 3 lines

  * add cfi to asmdata
  * move asmlist, asmcfi, asmdata to own unit

........

git-svn-id: trunk@2932 -
2006-03-16 08:52:22 +00:00
Jonas Maebe
638b2ecb2b * fix dynamic library compilation on darwin (both i386 and ppc)
git-svn-id: trunk@2875 -
2006-03-11 22:31:56 +00:00
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
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
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
marco
d2e7a4e587 * cross-darwin support
git-svn-id: trunk@1796 -
2005-11-20 22:13:23 +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
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
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
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
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
Jonas Maebe
6171499d15 * fixed creating shared libraries under Darwin/Mac OS X
git-svn-id: trunk@727 -
2005-07-22 10:09:52 +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
marco
8ab7863982 * $GCSECTIONS also added to else case 2005-04-27 21:47:08 +00:00
marco
174b729874 * tf_smartlink_sections and some shared lib pull-ups from t_linux 2005-04-27 14:47:54 +00:00
peter
e417e34496 * truncate log 2005-02-14 17:13:06 +00:00
peter
dc363f29bc * maybequoted() added 2004-12-22 16:32:45 +00:00
peter
1f6d2f6ece * fixed setting of mangledname when importing 2004-11-19 16:30:24 +00:00
marco
c1ee8eed7b * cycle fix. 2004-11-19 14:21:44 +00:00
peter
6458bd0ce1 * tvarsym splitted 2004-11-08 22:09:58 +00:00
peter
e7459f5466 * heap and heapsize removed
* checkpointer fixes
2004-10-25 15:38:41 +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
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
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
Jonas Maebe
13a1ca99ce * use -x instead of -s for stripping under Mac OS X (-s strips too much
sometimes)
2004-06-08 17:14:49 +00:00
Jonas Maebe
9b6e79e4f1 - disabled automatic adding of libraries from "external lib name 'xxx'"
for now (until we have proper framework support)
2004-06-02 07:03:49 +00:00
Jonas Maebe
174cea8023 * changed calling of external procedures to be the same as under gcc
(don't worry about all the generated stubs, they're optimized away
     by the linker)
    -> side effect: no need anymore to use special declarations for
       external C functions under Darwin compared to other platforms
       (it's still necessary for variables though)
2004-05-31 18:08:41 +00:00
marco
3221a5d75c * small c_r fix, also link plain libc (like for x11) 2004-04-04 10:53:21 +00:00
florian
6959430b83 * imported procedures are always made global (in the sense of the
assembler)
2004-03-29 21:19:33 +00:00
Jonas Maebe
e823822f49 * fixed importing of variables from shared libraries, but disabled
PIC support for now. You have to save/restore r31 when you us it! :)
    Also, it's not necessary to support the imported variables
2004-03-05 22:17:11 +00:00
olle
4fecc1a56f * big transformation of Tai_[const_]Symbol.Create[data]name* 2004-03-02 00:36:32 +00:00
florian
fabb9c33ac * top_symbol killed
+ refaddr to treference added
  + refsymbol to treference added
  * top_local stuff moved to an extra record to save memory
  + aint introduced
  * tppufile.get/putint64/aint implemented
2004-02-27 10:21:04 +00:00
marco
9a83a21c64 * pthread on -CURRENT related fixes. 2004-02-15 16:34:18 +00:00
marco
308ab35e63 * Copy and pasted some structures from Net- to OpenBSD (3.4+ ELF!) 2004-01-21 20:53:50 +00:00
Jonas Maebe
6d4561ec58 * fixed compilation problems under x86 2004-01-05 08:13:30 +00:00
Jonas Maebe
e55860fdd8 + Darwin support for routines imported from external libraries (not yet
ideal, we should generate stubs in all files where the routines are
    used -> these are automatically merged by the linker; now we generate
    one global symbol with a jump to a stub in unit where the routine is
    declared)
  + (not yet working) Darwin support for imported variables
  + Darwin support for linking
2004-01-04 21:26:31 +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
marco
925bc00623 * NetBSD target support. OpenBSD reserved in the enum, for future use. 2003-05-25 23:15:04 +00:00
florian
9de6468186 + basic darwin support added 2003-05-20 23:54:00 +00:00