svenbarth
678716be22
msgidx.inc & msgtixt.inc: regenerate after r32978
...
git-svn-id: trunk@32979 -
2016-01-22 15:36:13 +00:00
nickysn
a508f9e5d3
+ added check if the selected cpu is 386+ when writing a 66h or 67h prefix in
...
the i8086 internal object writer. This allows weeding out spurious 386
instructions, as is similarly done by NASM when using it as an external
assembler.
git-svn-id: trunk@32871 -
2016-01-07 15:40:32 +00:00
nickysn
114c76bc4a
+ added i8086 to the list of supported cpus in the compiler usage help screen
...
git-svn-id: trunk@32870 -
2016-01-07 14:38:25 +00:00
florian
37cb35d780
+ support for the .code directive in arm inline assembler
...
git-svn-id: trunk@32840 -
2016-01-03 22:08:25 +00:00
Károly Balogh
bc51cc1151
regenerated msgidx.inc and msgtxt.inc afer r32324
...
git-svn-id: trunk@32325 -
2015-11-15 01:25:17 +00:00
svenbarth
017821f5db
* regenerated msgidx.inc and msgtxt.inc after r32322
...
git-svn-id: trunk@32323 -
2015-11-14 21:22:55 +00:00
nickysn
a553b15a1c
+ handle properly inline asm segment constants different than word:
...
o 'DB SEG symbol' produces an error
o 'DD SEG symbol' (and anything larger than DW, like DQ) adds extra high zeros
to the segment constant (this is Turbo Pascal 7 compatible)
git-svn-id: trunk@32283 -
2015-11-10 21:18:34 +00:00
nickysn
995ca4fb12
+ implemented the 'SEG @DATA' inline assembler directive for i8086
...
git-svn-id: trunk@32280 -
2015-11-10 17:26:21 +00:00
nickysn
7d41d19150
+ added an error message when trying to compile a tiny model DOS .COM file with
...
segment relocations
git-svn-id: trunk@32276 -
2015-11-08 21:13:16 +00:00
pierre
6524e536fa
Regenerated after addition of new general_e_exception_raised Error
...
git-svn-id: trunk@31800 -
2015-09-23 16:39:58 +00:00
svenbarth
79f19f79f2
msg/errore.msg:
...
+ add error message if a generic method is declared inside an interface
+ add error message if a generic method is declared as virtual
git-svn-id: trunk@31764 -
2015-09-18 14:52:47 +00:00
Jonas Maebe
4564bffb85
* use binutils 2.19+ linker script "augmentation" functionality to specify
...
how the fpc sections have to be linked *on Linux*. This prevents the
"did you forget -T" warnings from ld, and in general is more correct than
our previous approach of specifying a complete linker script without -T
and hoping that there won't be any unexpected interactions with ld's
built-in linker script (fixed version of r31664, thanks to Alan Modra)
o use the new -X9 command line option to generate linker scripts that
are compatible with binutils older than 2.19 (reverts to the old
behaviour)
git-svn-id: trunk@31675 -
2015-09-14 07:24:54 +00:00
Jonas Maebe
e06a759e20
- reverted r31664, it causes crashes with some ld versions :/
...
git-svn-id: trunk@31670 -
2015-09-13 20:14:46 +00:00
Jonas Maebe
cd41bf672c
* use binutils 2.19+ linker script "augmentation" functionality to specify
...
how the fpc sections have to be linked *on Linux*. This prevents the
"did you forget -T" warnings from ld, and in general is more correct than
our previous approach of specifying a complete linker script without -T
and hoping that there won't be any unexpected interactions with ld's
built-in linker script
o use the new -X9 command line option to generate linker scripts that
are compatible with binutils older than 2.19 (reverts to the old
behaviour)
git-svn-id: trunk@31664 -
2015-09-13 19:06:14 +00:00
nickysn
253793ab9d
+ added the 'farprocspushoddbp' target switch to the help screen
...
git-svn-id: trunk@31570 -
2015-09-07 19:23:25 +00:00
nickysn
4c9b339c22
+ added the huge memory model option to the compiler help screen
...
git-svn-id: trunk@31518 -
2015-09-04 20:43:38 +00:00
Jonas Maebe
e720b44471
* expand the error message for when trying to use a formal class with an
...
explanation of what to do
git-svn-id: trunk@31457 -
2015-08-30 14:32:56 +00:00
nickysn
e9c790f4eb
+ support 'SEG' in the i8086 inline assembler
...
git-svn-id: trunk@31428 -
2015-08-26 15:57:44 +00:00
nickysn
6e20e0fc84
+ added checks and error messages in case a 16-bit segment or group exceeds 64k
...
git-svn-id: trunk@31416 -
2015-08-25 01:01:20 +00:00
florian
ee89e99189
* correctly write an error if one tries to implement a method introduced in a generic in a specialization of the generic, resolves issue #23169
...
git-svn-id: trunk@31241 -
2015-07-28 21:16:47 +00:00
Jonas Maebe
e3ddf1c0b7
* fixed typos in error.msg (patch by Stéphane Aulery, mantis #27931 )
...
git-svn-id: trunk@30725 -
2015-04-25 18:15:18 +00:00
nickysn
bde7d0aacb
+ added "code segment too large" and "data segment too large" error messages
...
git-svn-id: trunk@30687 -
2015-04-20 23:47:22 +00:00
Jonas Maebe
3684e7665d
* changed temporary type_e_anonymous_function_unsupported message into an
...
inline comment, because using a high message number wastes space in
the messages array
git-svn-id: trunk@30666 -
2015-04-19 14:31:35 +00:00
Jonas Maebe
a56bf0f892
* regenerated message files after r30604
...
git-svn-id: trunk@30606 -
2015-04-15 18:29:47 +00:00
nickysn
470fb65e80
+ implemented aasmcpu.process_ea for i8086
...
git-svn-id: trunk@30495 -
2015-04-08 12:54:09 +00:00
florian
9ab9e03650
* limit number of possible units with initialization/finalization for a certain architecture to high(aint)
...
+ give an error if the number of possible units is exceeded
git-svn-id: trunk@30450 -
2015-04-05 21:06:58 +00:00
florian
91db2a1698
+ report when compilation of a unit is stopped because it has been already compiled during the recursive search in uses clauses
...
git-svn-id: trunk@30001 -
2015-02-24 21:46:09 +00:00
Jonas Maebe
3b5adcb3de
+ print iphonesim/x86_86-specific command line options in the help
...
git-svn-id: trunk@29982 -
2015-02-23 22:57:12 +00:00
Jonas Maebe
dcb6f2baae
+ print Darwin/AArch64-specific command line options in the help
...
git-svn-id: trunk@29981 -
2015-02-23 22:57:09 +00:00
Jonas Maebe
146e3bcb9e
* synchronised with trunk till r29513
...
git-svn-id: branches/blocks@29516 -
2015-01-21 23:28:34 +00:00
Jonas Maebe
e97f31541e
- reverted partial commit of merge
...
git-svn-id: branches/blocks@29515 -
2015-01-21 23:24:37 +00:00
Jonas Maebe
a76bbf363d
* synchronised with trunk r29513
...
git-svn-id: branches/blocks@29514 -
2015-01-21 23:18:29 +00:00
Jonas Maebe
990e47f2d3
* give a warning instead of an error if a parameter or local variable in a
...
an Objective-C method masks an identifier from a category, because due
to the fact that all standard categories are imported at the same time via
the CocoaAll unit, this can often happen with categories you don't know/
care about. These errors also didn't happen in 2.6.x
git-svn-id: trunk@29497 -
2015-01-17 15:27:42 +00:00
florian
d25dbec070
* allow the varargs directive in combination with stdcall as well, resolves #27299
...
git-svn-id: trunk@29496 -
2015-01-17 14:23:38 +00:00
pierre
b3a4d47b96
Regenerated after msg/errore.msg commit:
...
Added two new messages for changes in assembler symbols after use.
Those changes can lead to invalid code generation.
git-svn-id: trunk@29445 -
2015-01-12 10:10:21 +00:00
svenbarth
af43e5e3e9
Fix for Mantis #24872 .
...
psub.pas, tcgprocinfo.parse_body:
* also check record symtables besides object symtables to determine whether the staticsymtable is accessed from a globally declared generic
* use a translateable message if the static symtable is accessed if it should not
msg/errore.msg:
+ add new error message for when the static symtable is accessed from a global generic
msgidx.inc & msgtixt.inc:
* regenerated
+ added test
git-svn-id: trunk@29427 -
2015-01-06 20:46:12 +00:00
Tomas Hajny
ee82b6ea0b
* do not mention OS/2 and EMX on option list for x86_64
...
git-svn-id: trunk@29318 -
2014-12-23 23:08:43 +00:00
florian
4289dd667d
* managed types cause a different warning/hint when they are
...
used uninitialized, so users can turn off these messages if they want, resolves #24601 and #26403
git-svn-id: trunk@29295 -
2014-12-14 20:48:54 +00:00
florian
bb01872821
+ handle -CPPACKENUM and -CPPACKRECORD, resolves #27153
...
git-svn-id: trunk@29283 -
2014-12-13 21:08:18 +00:00
svenbarth
e2c546b26f
Regenerate msg*.inc files
...
git-svn-id: trunk@29239 -
2014-12-09 21:20:05 +00:00
florian
25e19f27a0
+ write name of missing feature in error message
...
git-svn-id: trunk@29211 -
2014-12-07 18:20:56 +00:00
svenbarth
2288df9fcf
Fix for Mantis #27073 . The -vx option is not only for Win32, but in fact for information about tool invocation on all platforms.
...
git-svn-id: trunk@29129 -
2014-11-23 20:46:45 +00:00
Tomas Hajny
4c98113569
* note about multiple 't' in -gt added to the help page
...
git-svn-id: trunk@29099 -
2014-11-21 13:53:53 +00:00
Tomas Hajny
fc17e318b0
* add some previously missing options to the help page, add support for listing recognized compiler and RTL features in -i and allow skipping an empty section (controllertypes) in -i listing by providing support of multiple output lines based on one source line in the msg file using $\n as newline
...
git-svn-id: trunk@29097 -
2014-11-21 13:03:24 +00:00
Tomas Hajny
f7e6ea56d9
* support for machine-parseable output of information in fpc -i plus improvements in help (including previously missing information for some less used platforms
...
git-svn-id: trunk@29032 -
2014-11-09 14:55:31 +00:00
Tomas Hajny
2a0d760a3f
* fixed typo (can not)
...
git-svn-id: trunk@29030 -
2014-11-08 21:03:22 +00:00
Jonas Maebe
839d11eac9
* mention that misplaced global directives are ignored (mantis #27004 )
...
git-svn-id: trunk@28998 -
2014-11-06 09:02:40 +00:00
Károly Balogh
4431ba2c08
merged/updated AROS/i386 target to trunk from AROS branch, to support Marcus Sackrow's work on AROS support which will hopefully benefit all Amiga-like targets (classic, MorphOS) on the long run. Compiler only, RTL comes in the next run.
...
git-svn-id: trunk@28432 -
2014-08-17 18:18:07 +00:00
Jonas Maebe
c730e16031
* changed the syntax for block procvars from "xxx is block" to
...
"reference to ...; cdecl;". The "reference to ..." syntax is what Delphi
uses for anonymous function references. The "cdecl;" indicates that this
is for the C-variant of such references, which is what blocks are
git-svn-id: branches/blocks@28233 -
2014-07-18 09:15:29 +00:00
Tomas Hajny
82d62aa883
* added description for option @ and missing bracket at the end of list for -P
...
git-svn-id: trunk@28188 -
2014-07-08 22:33:18 +00:00