mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 19:09:32 +02:00
* give an internalerror when we try to change the type of an asmsymbol from
anything but none (= undefined) to local git-svn-id: trunk@25266 -
This commit is contained in:
parent
d8c84706dd
commit
da6d9cf3f3
@ -1288,6 +1288,10 @@ implementation
|
||||
typ:=ait_symbol;
|
||||
sym:=_sym;
|
||||
size:=siz;
|
||||
{ don't redefine global/external symbols as local, as code to access
|
||||
such symbols is different on some platforms }
|
||||
if not(sym.bind in [AB_NONE,AB_LOCAL]) then
|
||||
internalerror(2013081601);
|
||||
sym.bind:=AB_LOCAL;
|
||||
is_global:=false;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user