mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 19:29:24 +02:00
* patch by Christo Crause: more descriptive error message when BRxx destination out of reach
git-svn-id: trunk@38340 -
This commit is contained in:
parent
8ba434b2f4
commit
62df4a4083
@ -449,7 +449,7 @@ implementation
|
||||
(taicpu(curtai).InsOffset-taicpu(curtai).oper[0]^.ref^.symbol.offset<-63)) then
|
||||
begin
|
||||
if inasmblock then
|
||||
Message(asmw_e_short_jmp_out_of_range)
|
||||
Message(asmw_e_brxx_out_of_range)
|
||||
else
|
||||
begin
|
||||
current_asmdata.getjumplabel(l);
|
||||
|
@ -2830,7 +2830,7 @@ asmr_e_local_label_cannot_be_declared_public=07138_E_Local label $1 cannot be de
|
||||
#
|
||||
# Assembler/binary writers
|
||||
#
|
||||
# 08032 is the last used one
|
||||
# 08033 is the last used one
|
||||
#
|
||||
asmw_f_too_many_asm_files=08000_F_Too many assembler files
|
||||
% With smartlinking enabled, there are too many assembler
|
||||
@ -2884,6 +2884,7 @@ asmw_e_32bit_not_supported=08029_E_Asm: 32 Bit references not supported
|
||||
asmw_f_code_segment_too_large=08030_F_Code segment too large
|
||||
asmw_f_data_segment_too_large=08031_F_Data segment too large
|
||||
asmw_e_instruction_not_supported_by_cpu=08032_E_Instruction not supported by the selected instruction set
|
||||
asmw_e_brxx_out_of_range=08033_E_Asm: conditional branch destination is out of range
|
||||
#
|
||||
# Executing linker/assembler
|
||||
#
|
||||
|
@ -857,6 +857,7 @@ const
|
||||
asmw_f_code_segment_too_large=08030;
|
||||
asmw_f_data_segment_too_large=08031;
|
||||
asmw_e_instruction_not_supported_by_cpu=08032;
|
||||
asmw_e_brxx_out_of_range=08033;
|
||||
exec_w_source_os_redefined=09000;
|
||||
exec_i_assembling_pipe=09001;
|
||||
exec_d_cant_create_asmfile=09002;
|
||||
@ -1095,9 +1096,9 @@ const
|
||||
option_info=11024;
|
||||
option_help_pages=11025;
|
||||
|
||||
MsgTxtSize = 81376;
|
||||
MsgTxtSize = 81436;
|
||||
|
||||
MsgIdxMax : array[1..20] of longint=(
|
||||
27,106,347,126,96,59,139,33,221,67,
|
||||
27,106,347,126,96,59,139,34,221,67,
|
||||
61,20,30,1,1,1,1,1,1,1
|
||||
);
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user