Jonas Maebe
cb1da8de85
* fixed getcopy order for ttempcreatenode in case it has tempinitcode
...
(this tempinitcode contains a reference to the tempcreatenode itself
-> hookoncopy must be set before copying the tempinitnode)
git-svn-id: trunk@18016 -
2011-07-18 00:38:47 +00:00
florian
95ad75c7bf
* hack to set stack top for atmega128
...
* default output for avr-embedded is .hex
git-svn-id: trunk@18015 -
2011-07-17 20:46:05 +00:00
florian
57613d1bb9
+ add avr-embedded to systems_embedded
...
git-svn-id: trunk@18014 -
2011-07-17 20:44:43 +00:00
florian
5c9e0a7a1b
+ V is avr help screen option
...
git-svn-id: trunk@18013 -
2011-07-17 20:44:10 +00:00
florian
57cdf34a6b
* put -Wpxxxx switch on the help screen
...
git-svn-id: trunk@18012 -
2011-07-17 20:42:56 +00:00
florian
ecb04d1620
* use tcgint instead of aint in ttempcreatenode
...
git-svn-id: trunk@18011 -
2011-07-17 20:10:05 +00:00
florian
98d3007580
+ support to parse hi8/lo8(...) in inline assembler
...
git-svn-id: trunk@18009 -
2011-07-17 16:26:57 +00:00
florian
04e2321724
* avr cpuflags renames
...
+ cpuflagsstr
git-svn-id: trunk@18007 -
2011-07-17 08:55:16 +00:00
sergei
ae4cdf25f8
+ aggas.pas: Write section attributes when long section names are used for smart linking (enabled for win32 and win64). It is needed because GAS does not understand that '.text.something' is part of '.text' and assigns default attributes (writable data) to all such sections, which is not the desired behavior.
...
git-svn-id: trunk@17989 -
2011-07-13 23:45:28 +00:00
florian
b0cef1693a
* compilation of system unit was broken
...
git-svn-id: trunk@17972 -
2011-07-10 21:03:55 +00:00
florian
4f08d148ea
* unique internal errors
...
git-svn-id: trunk@17970 -
2011-07-10 20:54:48 +00:00
sergei
6a2e87121b
* ogcoff.pas: sort all objsections having '$' in the name, not just .idata$*. This is a documented PECOFF feature and it is required for tls callback stuff to link correctly regardless of the order of declarations in source files.
...
git-svn-id: trunk@17968 -
2011-07-10 12:24:35 +00:00
pierre
5a2d6c0429
Fix constant pointer reading for 64 bit CPU
...
git-svn-id: trunk@17962 -
2011-07-08 16:28:24 +00:00
pierre
0ca127b97e
* Fix length size for non-short string types
...
git-svn-id: trunk@17961 -
2011-07-08 16:21:28 +00:00
pierre
f23b265ce1
+ Add global testppudump rule
...
git-svn-id: trunk@17960 -
2011-07-08 16:01:28 +00:00
pierre
efb0193cb2
Add ./utils/ppudump prerequisite to log-ppu files
...
git-svn-id: trunk@17959 -
2011-07-08 15:57:27 +00:00
pierre
d4372a7ac5
* Add ppudump testing rules
...
git-svn-id: trunk@17958 -
2011-07-08 15:47:27 +00:00
pierre
b94cdd4881
* Handled real constants of different size
...
git-svn-id: trunk@17957 -
2011-07-08 15:39:04 +00:00
pierre
322e3f8a16
* More fixes for ppudump use
...
git-svn-id: trunk@17956 -
2011-07-08 15:38:14 +00:00
pierre
3017132268
* Remove triple sources
...
git-svn-id: trunk@17955 -
2011-07-08 15:37:23 +00:00
pierre
2f7a57fcab
* Use extended for bestreal type if GENERIC_CPU is defined
...
git-svn-id: trunk@17954 -
2011-07-08 15:36:29 +00:00
pierre
eb4798238d
* Display hexadecimal values of wide strings
...
* Set has_errors on more locations
+ Add has_more_infos boolean
* Add -M option to set ExitCode to 2 if more info is available.
* Support constnil type.
git-svn-id: trunk@17953 -
2011-07-08 10:32:28 +00:00
pierre
dd96bfb3dd
* fix ppu dumping with ppudump utility for cross CPU
...
git-svn-id: trunk@17952 -
2011-07-08 08:57:24 +00:00
sergei
5d5ddbbe3e
* Revert rounding section data size, it should be done in a more sophisticated way
...
git-svn-id: trunk@17950 -
2011-07-07 11:34:57 +00:00
sergei
2d96c34b06
* Improvements to PE executable output:
...
* Clear bits in section flags, that are only valid for object files
* Round section datasize up to filealignment (PECOFF v8 documentation requires this)
* Zero datapos and datasize for all sections w/o data, not just for .bss
* Produce IMPORT_ADDRESS_TABLE directory in exe header
* Entirely smartlink away unused DLLs (these used to have two terminating thunks left)
git-svn-id: trunk@17949 -
2011-07-06 20:55:57 +00:00
pierre
cff85bdb3b
* Rename ag386nsm.pas unit source to agx86nsm.pas
...
git-svn-id: trunk@17933 -
2011-07-04 09:13:55 +00:00
pierre
f6ab12d677
* Move ag386nsm.pas to x86 directory
...
git-svn-id: trunk@17932 -
2011-07-04 09:08:54 +00:00
pierre
54fc0bf694
Add missing x86_64 -A options
...
git-svn-id: trunk@17931 -
2011-07-04 08:59:06 +00:00
pierre
bded762fef
Add missing x86_64 -A options
...
git-svn-id: trunk@17930 -
2011-07-04 08:58:46 +00:00
pierre
d1a6ef9cd9
* Restrict use of postw32 external utility to
...
win32/wdosx target systems.
git-svn-id: trunk@17929 -
2011-07-04 07:36:47 +00:00
pierre
1a468eebc7
* Fix insdatx86 rule for Windows Makefiles
...
Also include regeneration of register include files.
git-svn-id: trunk@17928 -
2011-07-04 07:35:24 +00:00
pierre
cdd4b0297a
* Show usage and halt with error if unknown parameters are given
...
at command line.
* Also generate NASM register files for x86_64 (for support of NASM
assembler for x86_64 CPU, to be committed later).
git-svn-id: trunk@17927 -
2011-07-04 07:33:00 +00:00
pierre
cfdc7c861d
* Use public/global name 'name' section 'section' without semicolon for Windows TLS support
...
git-svn-id: trunk@17909 -
2011-07-01 19:29:38 +00:00
pierre
372b16b2e6
* Look for __FPC_tls_callbacks, should be reset to nil for DLLs, not yet done
...
git-svn-id: trunk@17908 -
2011-07-01 19:28:32 +00:00
pierre
4ad2707674
Windows TLS callback code testable by using -dTEST_TLS_DIRECTORY
...
git-svn-id: trunk@17906 -
2011-07-01 14:42:39 +00:00
pierre
92c92e1945
* Add oso_keep option to threadvar section if FPC_USE_TLS_DIRECTORY is set
...
git-svn-id: trunk@17905 -
2011-07-01 14:40:02 +00:00
pierre
eb90591ea9
TLS directory requires some labels in specific sections
...
I implemented this by allowing '.section sec_name mangled_name'
for name 'xxxx'; specifier in tstaticvarsym.set_mangledname
git-svn-id: trunk@17904 -
2011-07-01 14:36:44 +00:00
pierre
30feeff3c2
+ TlsDirectory handling code
...
git-svn-id: trunk@17903 -
2011-07-01 14:30:32 +00:00
pierre
bcb2bb9e5b
Add removal of braces for parameters in linker script
...
git-svn-id: trunk@17902 -
2011-07-01 14:28:18 +00:00
pierre
c611c91cef
Provide _tls_index in script
...
git-svn-id: trunk@17901 -
2011-07-01 14:27:33 +00:00
pierre
a45b29911c
* Handle vo_has_section for constants
...
git-svn-id: trunk@17900 -
2011-07-01 14:26:21 +00:00
pierre
e6b5ce8557
* Use vo_has_section to test for user name section in insertbssdata
...
git-svn-id: trunk@17899 -
2011-07-01 14:24:56 +00:00
pierre
b3e1ba70e9
* Avoid warning about missing field for AVR
...
git-svn-id: trunk@17896 -
2011-07-01 11:59:31 +00:00
pierre
af098d08d5
* Avoid pointer to signed integer warning
...
git-svn-id: trunk@17895 -
2011-07-01 11:55:05 +00:00
pierre
37b98917e0
* Handle invalid register correctly
...
git-svn-id: trunk@17894 -
2011-07-01 11:52:37 +00:00
pierre
3cc2b5e97b
+ Added default dynamic linker for mips CPU
...
git-svn-id: trunk@17889 -
2011-07-01 07:37:05 +00:00
tom_at_work
619afa83ad
Use NOCPUDEF for all ppu* compilations
...
git-svn-id: trunk@17888 -
2011-07-01 07:30:16 +00:00
florian
570f3c4b39
* merges recent class helper fixes by Sven Barth
...
git-svn-id: trunk@17887 -
2011-06-30 18:54:46 +00:00
pierre
2909e43043
* Make TAICPU class child of TAI_CPU_ABSTRACT_SYM instead of TAI_CPU_ABSTRACT
...
git-svn-id: trunk@17883 -
2011-06-30 13:19:48 +00:00
pierre
f328836cad
+ Add checks for internal linker script
...
git-svn-id: trunk@17882 -
2011-06-30 13:16:04 +00:00