summaryrefslogtreecommitdiff
path: root/compiler/assemble.pas
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/assemble.pas')
-rw-r--r--compiler/assemble.pas10
1 files changed, 9 insertions, 1 deletions
diff --git a/compiler/assemble.pas b/compiler/assemble.pas
index aab41ccc2b..a3798d1bdc 100644
--- a/compiler/assemble.pas
+++ b/compiler/assemble.pas
@@ -1403,8 +1403,8 @@ Implementation
len:=p-pstart;
if len>255 then
internalerror(200509187);
- move(pstart^,hs[1],len);
hs[0]:=chr(len);
+ move(pstart^,hs[1],len);
sym:=objdata.symbolref(hs);
{ Second symbol? }
if assigned(relocsym) then
@@ -1719,6 +1719,11 @@ Implementation
{$ifdef ARM}
asd_thumb_func:
ObjData.ThumbFunc:=true;
+ asd_force_thumb:
+ begin
+ ObjData.ThumbFunc:=true;
+ Code16:=true;
+ end;
asd_code:
begin
{ ai_directive(hp).name can be only 16 or 32, this is checked by the reader }
@@ -1924,6 +1929,9 @@ Implementation
asd_thumb_func:
{ ignore for now, but should be added}
;
+ asd_force_thumb:
+ { ignore for now, but should be added}
+ ;
asd_code:
{ ignore for now, but should be added}
;