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
pierre
0227fbad7d
* Fix some internal linker script lines
...
git-svn-id: trunk@17881 -
2011-06-30 13:02:31 +00:00
pierre
63f38e6c03
* Fix make_dllmangledname: Use computed dllprefix instead of dllname
...
git-svn-id: trunk@17879 -
2011-06-29 20:34:40 +00:00
pierre
61df26bf0c
* Avoid string constants array elements longer than type
...
git-svn-id: trunk@17873 -
2011-06-29 15:07:08 +00:00
pierre
32d919f543
Use ptruint type in typecast to avoid warning
...
git-svn-id: trunk@17872 -
2011-06-29 15:05:30 +00:00
pierre
4d50a95320
Use FPC_HAS_SYSTEMS_INTERRUPT_TABLE conditional
...
undefined for now as long as
systems_interrupt_table set
defined in systems unit is empty.
This removes several warnings from compiler compilation.
git-svn-id: trunk@17871 -
2011-06-29 15:03:55 +00:00
pierre
9ec1213be1
* Reorganize code to avoid warnings about unreachable code
...
git-svn-id: trunk@17868 -
2011-06-29 09:59:06 +00:00
pierre
5148cb6ca8
* make sure pmessage field is aligned
...
git-svn-id: trunk@17867 -
2011-06-29 09:57:32 +00:00
pierre
1a262bee80
* $WARN $PUSH/$POP support
...
git-svn-id: trunk@17866 -
2011-06-29 09:57:02 +00:00
pierre
ffbf1a7331
* Avoid pointer typecast warning
...
git-svn-id: trunk@17865 -
2011-06-29 09:54:46 +00:00
pierre
d707d38ea1
* Fix double WARN infinite loop
...
git-svn-id: trunk@17864 -
2011-06-29 09:52:03 +00:00