mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-10 07:26:18 +02:00
* fix llvm-mc error for string constants missing a .size directive
git-svn-id: branches/wasm@48252 -
This commit is contained in:
parent
8697fb4822
commit
60d21bcf0d
@ -1161,7 +1161,7 @@ implementation
|
|||||||
class function ttai_typedconstbuilder.get_string_symofs(typ: tstringtype; winlikewidestring: boolean): pint;
|
class function ttai_typedconstbuilder.get_string_symofs(typ: tstringtype; winlikewidestring: boolean): pint;
|
||||||
begin
|
begin
|
||||||
{ darwin's linker does not support negative offsets }
|
{ darwin's linker does not support negative offsets }
|
||||||
if not(target_info.system in systems_darwin) and
|
if not(target_info.system in systems_darwin+systems_wasm) and
|
||||||
{ it seems that clang's assembler has a bug with the ADRP instruction... }
|
{ it seems that clang's assembler has a bug with the ADRP instruction... }
|
||||||
(target_info.system<>system_aarch64_win64) then
|
(target_info.system<>system_aarch64_win64) then
|
||||||
result:=0
|
result:=0
|
||||||
|
Loading…
Reference in New Issue
Block a user