michael
4963306976
+ Fix for win32 cycle
2004-11-18 10:06:19 +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
87d2861f89
* fixes for win32 mangledname
2004-11-16 20:32:40 +00:00
peter
0c7e53bb81
* fixed compile of powerpc,sparc,arm
2004-11-11 19:31:33 +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
2eb3dfd077
linking with cygwin fixed
2004-11-04 17:12:52 +00:00
florian
e2a6678591
* fixed sparc <-> i386 mixture
2004-11-03 12:04:03 +00:00
peter
e7459f5466
* heap and heapsize removed
...
* checkpointer fixes
2004-10-25 15:38:41 +00:00
peter
d24241b008
* gc-sections added when section smartlinking is used
2004-10-24 13:36:26 +00:00
mazen
ad191865e3
- remove $IFDEF DELPHI and related code
...
- remove $IFDEF FPCPROCVAR and related code
2004-10-15 09:22:23 +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
marco
ef6c8dc443
* small updates to make playing with sparc/sunos easier
2004-10-01 17:41:21 +00:00
armin
80e621011a
* added define netware and netware_libc for target netwlibc, netware_clib for netware
2004-09-26 19:51:02 +00:00
florian
05ca833859
* fixed dyn. linker name for sparc
2004-09-25 18:44:12 +00:00
armin
384e2e4d43
* added GROUP for .a files to linker script
2004-09-24 10:48:31 +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
armin
014395198b
* added library support
2004-09-19 18:10:32 +00:00
armin
b9dd469ddc
* support library flag
...
* automaticly gernerate xdc data
2004-09-19 14:23:43 +00:00
olle
922a594dd8
+ When link on target, the script sets file type on link.res
2004-09-13 16:13:04 +00:00
olle
0bf14e759f
* Updated compiler status
2004-09-12 20:33:21 +00:00
michael
41f7fa8c37
+ Check if outputdir exists, Fix exitcode when displaying help pages
2004-09-08 11:23:30 +00:00
armin
354004d803
* target netwlibc added (libc is preferred for newer netware versions)
2004-09-04 21:18:47 +00:00
armin
5595281c4f
* added support for libc
2004-08-30 11:17:34 +00:00
peter
d30692b3b1
* enable case sensitive to support mixed case unit/filenames
2004-08-28 20:01:46 +00:00
olle
a06d889f52
+ made fpc work as an MPW tool, by itself calling asm and link.
2004-08-20 10:30:00 +00:00
florian
cf25a973f8
* fixed alignment of variant records
...
* more alignment problems fixed
2004-08-15 13:30:18 +00:00
armin
1d50f840f2
* changes to compile fpc on netware
2004-08-01 19:29:06 +00:00
armin
4a270e4c2f
changed path sep to /
2004-07-31 22:52:58 +00:00
armin
04e5a78e49
* typo in set_source_info
2004-07-30 19:22:14 +00:00
armin
8e3099d453
* removed -m for nlmconv, it is only valid for ld
2004-07-30 16:00:19 +00:00
daniel
9b08a42919
* Uclibc detection
2004-07-08 14:42:54 +00:00
olle
4b0b17a5aa
+ allow fileextension .p, in mode macpas
2004-07-05 21:26:28 +00:00
peter
230105093d
* only enable dwarf for supported platforms
2004-06-29 21:00:08 +00:00
florian
8a9758c5e2
* logs truncated
2004-06-20 08:55:28 +00:00
peter
0ac4983a9b
* remove obsolete cardinal() typecasts
2004-06-18 15:16:46 +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
Károly Balogh
e6ffa24866
* fixed stripping really this time
2004-06-08 15:04:23 +00:00
Károly Balogh
a73388cfb7
+ fixed stripping support
2004-06-07 23:44:37 +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
Tomas Hajny
f9141c8d5e
* fix for IE
2004-05-16 20:41:19 +00:00
olle
d5b3df22d6
+ added GUI apptype to MacOS
2004-05-11 18:24:39 +00:00
olle
8d67f439f3
* changed .pas back to .p
2004-05-03 09:48:15 +00:00
peter
3f222312e2
* add TList to cclasses, remove classes dependency from t_win32
2004-04-28 18:02:54 +00:00
florian
c68ea95074
+ syscall directive support for MorphOS added
2004-04-28 15:19:03 +00:00
peter
f6a28d1513
index number generation for mixed index-nonindexed fixed, patch by Pavel V. Ozerski
2004-04-24 17:32:05 +00:00
Károly Balogh
ce6dd73b46
* disable stripping in mos linking scripts.
2004-04-09 01:32:46 +00:00
Károly Balogh
b54d527d58
* added external linker support based on 1.0 amiga support
2004-04-08 17:11:02 +00:00
Károly Balogh
89705e0451
* mos uses sysv abi, not aix
2004-04-08 00:03:51 +00:00
olle
d8bb302b0f
+ Status checks in scripts
...
+ Scripts support apptype tool
+ Added some ScriptFixFileName
2004-04-06 22:44:16 +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
florian
5b337d75f7
* fixed dyn. lib extension on darwin
2004-03-29 21:17:39 +00:00
olle
a7f25327f6
* change AT_FUNCTION to AT_DATA where appropriate
2004-03-18 11:43:57 +00:00
Károly Balogh
27933af434
* added abi field into TSystemInfo to fix IE
2004-03-15 07:26:44 +00:00
peter
4801152fac
* max record aligment changed to 4
2004-03-14 20:09:27 +00:00
florian
10e765329d
* fixed arm compilation
...
* cleaned up code generation for exported linux procedures
2004-03-06 20:35:19 +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
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
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
peter
8bfb707401
* tf_need_symbol_size added
2004-02-22 16:51:50 +00:00
olle
dfa6403a70
+ Support for Link on target especially for MacOS
...
+ TLinkerMPW
+ TAsmScriptMPW
2004-02-19 20:40:15 +00:00
marco
9a83a21c64
* pthread on -CURRENT related fixes.
2004-02-15 16:34:18 +00:00
Károly Balogh
be67726f8f
* added powerpc-morphos target
2004-02-13 05:42:16 +00:00
Jonas Maebe
f121f1f7ec
* corrected first_param_offset for darwin
2004-02-08 20:03:05 +00:00
peter
221090453c
* x86_64 fixes for opsize
2004-02-05 18:28:37 +00:00
florian
828fab3da9
* fixed linker response file handling
2004-01-29 23:57:15 +00:00
florian
bfa26e5903
* tried to fix BeOS linking
2004-01-29 22:50:53 +00:00
marco
8e9339f073
* fix added as comment till I can test (8 byte C alignment on netbsd/ppc)
2004-01-29 15:48:10 +00:00
peter
8caaa7740d
* more record alignment fixes
2004-01-28 22:16:31 +00:00
florian
de4fa4e7e7
* fixed another couple of arm bugs
2004-01-28 15:36:46 +00:00
florian
35110d8ef5
* fixed several arm issues
2004-01-26 19:05:56 +00:00
marco
308ab35e63
* Copy and pasted some structures from Net- to OpenBSD (3.4+ ELF!)
2004-01-21 20:53:50 +00:00
peter
47f08937e4
* use localalign info for alignment for locals and temps
...
* sparc fpu flags branching added
* moved powerpc copy_valye_openarray to generic
2004-01-12 22:11:38 +00:00
peter
42c6e9323b
* sparc updates, mostly float related
2004-01-12 16:39:40 +00:00
daniel
a4086f7dde
* Commented out code removed
2004-01-09 13:37:17 +00:00
daniel
1f52387893
* Export table generation fixed according to instructions from Pierre
2004-01-09 13:36:26 +00:00
Jonas Maebe
c5409f2f8a
* fixed alignment constants for Darwin
2004-01-06 21:26:18 +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
Jonas Maebe
0f4ea52793
* use "as_darwin" assembler for Darwin
...
* Cprefix = '_' on Darwin
* use_function_relative_addresses must be false on Darwin
2004-01-04 21:19:57 +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
Jonas Maebe
4aba5c80f1
* fixed C record max alignment
2003-12-31 17:28:19 +00:00
florian
b5e4c01ef2
* sysv calling conventions enabled for powerpc-linux
2003-12-21 21:20:58 +00:00
florian
69dbf59679
* staticlib extension for powerpc fixed
2003-12-11 19:06:21 +00:00
marco
89a84c4d9d
* base-file instead of base_file
2003-12-09 19:54:59 +00:00
peter
b3bc562249
* base_file instead of b
2003-12-08 22:37:04 +00:00
florian
063fa364eb
* define UNIX and HASUNIX
2003-11-11 21:48:10 +00:00
marco
0ece242d9d
* minor fix
2003-11-11 16:46:40 +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
peter
fb81b7ebbb
* old trgobj moved to x86/rgcpu and renamed to trgx86fpu
...
* tregisteralloctor renamed to trgobj
* removed rgobj from a lot of units
* moved location_* and reference_* to cgobj
* first things for mmx register allocation
2003-10-10 17:48:13 +00:00
peter
94957bca12
* fix check for generatenasmlib
2003-10-09 16:14:49 +00:00
peter
d319f4f226
* removed paraalign
2003-10-03 22:09:49 +00:00
marco
487650ab51
* -XP<prefix> support
2003-10-03 14:16:48 +00:00
peter
4b89bdf738
* use as,ld,ar instead of asw,ldw,arw for win32
2003-10-02 21:17:08 +00:00
peter
519b74fe2c
* smartlink fix for dlls from Pavel
2003-09-30 20:10:12 +00:00
michael
953269fcff
+ Patch from Wiktor Sywula for watcom support
2003-09-30 08:39:50 +00:00
peter
9ef935b8a7
* recordminalign for sparc 0
2003-09-23 17:58:38 +00:00
olle
dea663850a
* reverted last change, linux on powerpc still uses aix abi
2003-09-07 09:08:26 +00:00
olle
ce46a4fe31
* linux on powerpc now uses sysv abi
2003-09-06 10:46:56 +00:00
florian
a13ce1dfb4
+ added *_watcom units
2003-09-06 10:01:11 +00:00
florian
220e05dd5e
* fixed arm concatcopy
...
+ arm support in the common compiler sources added
* moved some generic cg code around
+ tfputype added
* ...
2003-09-03 11:18:36 +00:00
peter
8cf0c122f4
* remove convert_registers
2003-08-21 14:47:41 +00:00
daniel
ff2c9d870b
* convert_registers call removed from t_win32.pas
2003-08-20 20:50:18 +00:00
olle
c2fe8dbd99
* merged macos entry/exit code generation into the general one.
2003-08-08 15:49:24 +00:00
florian
d2035fd6b4
* very basic stuff for the arm
2003-07-21 11:52:57 +00:00
peter
32d076480b
* framepointer fixes for sparc
...
* parent framepointer code more generic
2003-07-06 17:58:22 +00:00
olle
cb440f8f93
* changed .p to .pas to make the compiler compile
2003-06-18 10:19:07 +00:00
Jonas Maebe
8b60e1e414
* add default system for ppc
2003-05-31 18:14:06 +00:00
florian
a8eb2ab740
* started to fix and clean up the sparc port
2003-05-28 23:18:31 +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
florian
999b859bc8
* fixed calling sequence for subroutines using the aix abi
2003-05-19 12:15:28 +00:00
florian
b1b16c8f09
+ added abi field to tsysteminfo
2003-05-18 15:15:59 +00:00
peter
ff172b6b2d
* fixed import crash with explicit provided name
2003-05-13 15:15:25 +00:00
florian
de6916276a
* merged more x86-64/i386 code
2003-04-30 15:45:35 +00:00
florian
098caf591c
* aprocdef instead of aktprocdef must be used
2003-04-27 09:14:48 +00:00
florian
887d64f038
* another compile fix
2003-04-27 08:52:00 +00:00
peter
3bda511c4a
* compile fix
2003-04-27 08:50:45 +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
peter
2c5eee4c62
* convert registers for importssection
2003-04-12 15:43:40 +00:00
Tomas Hajny
8fd8093dff
+ platform extensions unified
2003-03-23 23:31:54 +00:00
Tomas Hajny
8e7124f9f8
+ emx target added
2003-03-23 23:11:17 +00:00
armin
4e96d34515
* support -k for additional nlmvonv headeroptions, -m i386nw for win32, support -sh
2003-03-22 14:51:27 +00:00
armin
47e09e0c87
* changed linking: now we will link all objects to a single one and call nlmconv with that one object file. This makes it possible to create nlms without debug info.
2003-03-21 22:36:42 +00:00
armin
c12ac41eb1
* search of .imp files was broken, debug only if -gg was specified
2003-03-21 19:19:51 +00:00
peter
dab938e084
* fix import linking under linux
2003-03-17 13:36:39 +00:00
mazen
9ad1d0ffe2
* fixing bug related to errornous program main entry stack frame
2003-02-06 22:36:55 +00:00
carl
59d3edeec7
* Several bugfixes for m68k target (register alloc., opcode emission)
...
+ VIS target
+ Generic add more complete (still not verified)
2003-02-02 19:25:54 +00:00
marco
c0547e20c5
* Small fix for netbsd
2003-01-18 16:16:13 +00:00
florian
d332ad8519
* changed ppu extentions from pput to ppu
2003-01-13 22:15:58 +00:00
olle
60431e6794
* Fixed typo
2003-01-13 17:16:44 +00:00
florian
2291912631
- fixed res entry for MacOS, I don't understand why it worked before :/
2003-01-13 13:03:56 +00:00
peter
71e2d34b5a
* m68k pathexist update from 1.0.x
...
* palmos res update from 1.0.x
2003-01-12 15:42:23 +00:00
marco
0af8d01204
* HASUNIX defined for now.
2003-01-11 16:35:15 +00:00
peter
e670479146
* use findutil
2003-01-06 20:19:52 +00:00
florian
b59b436130
* x86-64 compiles
...
+ very basic support for float128 type (x86-64 only)
2003-01-05 13:36:53 +00:00
peter
b1241ee6dc
* Use maybequote instead of getshortname
2002-12-24 15:55:51 +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
5c35de2252
* disable overflow checking in some parts to avoid problems
2002-12-01 18:57:34 +00:00