pierre
b0a77480cf
rlinkpath and initfini fixes
...
git-svn-id: trunk@14285 -
2009-11-28 07:08:53 +00:00
pierre
7a21770ead
* Add solaris to the -Xr option list
...
git-svn-id: trunk@14284 -
2009-11-28 07:08:05 +00:00
pierre
100e7c4d76
fix shared lib native linknig
...
git-svn-id: trunk@14283 -
2009-11-27 23:16:06 +00:00
pierre
6bead44bdf
* fix solaris ld version mapfile (option -M)
...
git-svn-id: trunk@14282 -
2009-11-27 22:38:19 +00:00
pierre
2354c0d43a
* avoid trailing spaces in solaris ld call
...
git-svn-id: trunk@14281 -
2009-11-27 21:23:25 +00:00
florian
9b4be66260
+ first patches to support mips/mipsel in the compiler makefile
...
git-svn-id: trunk@14279 -
2009-11-27 15:22:15 +00:00
florian
28ac4a8dda
* several mips/mipsel related stuff fixed
...
* regenerated linux makefile to support mipsel
git-svn-id: trunk@14278 -
2009-11-27 15:10:56 +00:00
pierre
b52df81a2c
+ commit Jonas' changes for init/fini for libraires
...
git-svn-id: trunk@14275 -
2009-11-26 16:53:11 +00:00
pierre
1fffaf627e
* fix -Xn option
...
git-svn-id: trunk@14274 -
2009-11-26 13:44:34 +00:00
pierre
679309704a
* fix compilation error
...
git-svn-id: trunk@14273 -
2009-11-25 16:58:25 +00:00
pierre
f5938d771f
* Implement use of solaris linker for libraries
...
git-svn-id: trunk@14272 -
2009-11-25 16:07:06 +00:00
pierre
ca11bcd6cb
+ Use of native Solaris linker
...
git-svn-id: trunk@14270 -
2009-11-24 22:49:56 +00:00
pierre
728899606b
+ New option -Xn to use native linker, used for solaris targets
...
git-svn-id: trunk@14269 -
2009-11-24 22:49:06 +00:00
Jonas Maebe
5fa1e1cee2
* escaped special characters in latex descriptions
...
git-svn-id: trunk@14263 -
2009-11-23 21:46:03 +00:00
Jonas Maebe
d644fc87a1
* handle loc_jump/loc_flags in for-loop upper bound (mantis #15169 )
...
git-svn-id: trunk@14261 -
2009-11-23 21:11:16 +00:00
Jonas Maebe
2c3c6d27d3
* fixed range checking for inc/dec when mixing unsigned and signed types
...
(mantis #14841 )
-> this also makes it impossible now to use constructs such as
inc(qword_var,-1) with range checking enabled, because that would require
a conversion to 128 bit for proper evaluation
git-svn-id: trunk@14260 -
2009-11-23 20:01:07 +00:00
paul
c6c15f6533
compiler: revert r14244
...
git-svn-id: trunk@14257 -
2009-11-23 01:43:42 +00:00
marco
b3ec68e2e1
* when "all" target is not used, unit dir was not created.
...
Added a msg2inc$(exeext) target that forces unitdir creation
mantis 15116
git-svn-id: trunk@14253 -
2009-11-22 11:36:36 +00:00
florian
4123e0425c
* don't generate instruction alignment fill bytes in non exectuable sections
...
git-svn-id: trunk@14251 -
2009-11-21 22:34:46 +00:00
florian
44c6ff898b
* mipsel compiler builds
...
git-svn-id: trunk@14249 -
2009-11-21 22:17:34 +00:00
Jonas Maebe
80499a1732
* don't align entries in string sections, gcc doesn't either
...
git-svn-id: trunk@14246 -
2009-11-21 21:24:27 +00:00
paul
5684e3acc7
compiler: speedup tdynamicarray.read, tdynamicarray.write
...
git-svn-id: trunk@14244 -
2009-11-21 18:27:37 +00:00
paul
f0c57aa76e
compiler: fix is_visible_for_object for nested specialization
...
git-svn-id: trunk@14243 -
2009-11-21 17:57:32 +00:00
pierre
b19f79bc58
* Set solaris default for x86_64 compiler if on solaris system
...
git-svn-id: trunk@14241 -
2009-11-21 16:30:25 +00:00
pierre
30161fdc04
* Use as_ggas for x86_64 solaris
...
git-svn-id: trunk@14240 -
2009-11-21 16:26:25 +00:00
pierre
ff25f1797c
+ Add gas for x86_64 solaris
...
git-svn-id: trunk@14239 -
2009-11-21 16:21:10 +00:00
Jonas Maebe
af85e45b67
+ support for id.anyobjcmethodinscope() calls for Objective-Pascal code,
...
using standard FPC overload selection logic
* fixed detection of references to static symbol tables for class
helpers
git-svn-id: trunk@14234 -
2009-11-21 00:14:21 +00:00
Jonas Maebe
9d5b597105
* don't push/pop the unit/program's static symtable on/off the symtable stack
...
before parsing the main begin/end, because that symtable is already on the
symtable stack at that point
git-svn-id: trunk@14233 -
2009-11-21 00:11:39 +00:00
florian
f54365db94
* adapted more fpc-mips stuff to trunk
...
git-svn-id: trunk@14230 -
2009-11-20 21:13:53 +00:00
florian
0c8546f94c
* more MIPS code of David Zhang integrated
...
git-svn-id: trunk@14228 -
2009-11-20 14:46:45 +00:00
Jonas Maebe
2ef18ba527
* use pipes instead of temporary files by default for assembling under
...
Darwin
git-svn-id: trunk@14227 -
2009-11-20 13:20:01 +00:00
Jonas Maebe
e244acad77
* set default cpu type to pentiumm for darwin/i386 (since the first Macs
...
with an Intel cpu had a Core Solo)
git-svn-id: trunk@14226 -
2009-11-20 13:07:45 +00:00
pierre
a93c468518
* Revert wrong commit for fpcfg.inc
...
git-svn-id: trunk@14225 -
2009-11-20 11:09:19 +00:00
pierre
0687f16a04
* Accept weak for Solaris targets
...
git-svn-id: trunk@14224 -
2009-11-20 11:06:50 +00:00
pierre
db8f8e2637
+ Register x86_64 Solaris
...
git-svn-id: trunk@14223 -
2009-11-20 11:05:55 +00:00
pierre
7686c36a62
+ Register Solaris
...
git-svn-id: trunk@14222 -
2009-11-20 11:05:09 +00:00
pierre
57b0a1b0da
+ Add target_x86_64_solaris constant
...
git-svn-id: trunk@14221 -
2009-11-20 10:51:02 +00:00
florian
e5ebb2a26e
* started to integrate the code of David Zhang's MIPS code from fpc-mips on sf into fpc trunk
...
git-svn-id: trunk@14219 -
2009-11-19 22:07:10 +00:00
Jonas Maebe
671f8a1d30
* always immediately reset isdbgwritten for syms in the parasymtable,
...
because they have to be written multiple times in case the procdef
is also written multiple times (such as with DWARF on
tf_dwarf_only_local_labels systems)
git-svn-id: trunk@14214 -
2009-11-18 22:31:08 +00:00
Jonas Maebe
b495fbb991
* let search_class_helper() only return class helper methods; it could
...
also return regular objcclass methods before, because these are also
registered under class helper procsyms for future id.anymethod support
* give an error when calling an inherited method from an objccategory
method, if that is not declared in the parent of the extended class
(since calling inherited in an objccategory method is the same as
calling inherited in a method of the extended class; if a method is
replaced, calling inherited will *not* call the original method
from the original class)
git-svn-id: trunk@14213 -
2009-11-18 21:49:57 +00:00
pierre
791c165af9
* Use ELF assembler for i386/Solaris target
...
git-svn-id: trunk@14208 -
2009-11-18 10:50:11 +00:00
Jonas Maebe
749e791768
* fixed in-code for big endian systems and smallsets < 4 bytes
...
(fixes tbs/tb0219 on big endian systems after r14177)
git-svn-id: trunk@14206 -
2009-11-17 22:05:12 +00:00
Jonas Maebe
f8754d8fab
+ Objective-C category support (old and new ABI, both external and
...
implemented in Pascal). See
http://wiki.freepascal.org/FPC_PasCocoa#Category_declaration for syntax
details
git-svn-id: trunk@14196 -
2009-11-16 00:12:08 +00:00
Jonas Maebe
9e87f42b16
* made internalerror unique
...
git-svn-id: trunk@14195 -
2009-11-16 00:06:17 +00:00
florian
f54ea1e9f9
* fix compilation with -dEXTDEBUG
...
git-svn-id: trunk@14190 -
2009-11-15 18:26:50 +00:00
Jonas Maebe
60a9ef963d
* finished basic support for calling methods from external C++ classes
...
(slightly modified patch by Sven Barth, mantis #15082 )
git-svn-id: trunk@14185 -
2009-11-15 14:55:40 +00:00
Jonas Maebe
122e5714d8
* create/destroy codegen before/after generating exports, because it's
...
required when generating non-PIC code, and also for all Darwin platforms
(required after r13801)
git-svn-id: trunk@14181 -
2009-11-15 11:19:09 +00:00
Jonas Maebe
af80b89f55
* set default set packing to 1 for TP/Delphi mode (mantis #15088 )
...
git-svn-id: trunk@14177 -
2009-11-14 23:54:10 +00:00
florian
5d01732128
* several fixes which improve the behaviour of nested generics, resolves #15077
...
git-svn-id: trunk@14176 -
2009-11-14 22:24:55 +00:00
pierre
fb8d60a03e
* use same alignment for i386 solaris as for i386 linux
...
git-svn-id: trunk@14174 -
2009-11-14 16:27:20 +00:00