mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-02 16:50:31 +02:00
* mark the global variable as "public;" so its assembler symbol is exported
(because @gotpcrel shouldn't be used for non-global/exported symbols on some platforms, such as OS X) o fixes the test on OS X git-svn-id: trunk@28986 -
This commit is contained in:
parent
d8c898742a
commit
b662d63258
@ -2,7 +2,7 @@
|
||||
{ %opt=-Cg -vew }
|
||||
|
||||
var
|
||||
global: boolean;
|
||||
global: boolean; public;
|
||||
begin
|
||||
asm
|
||||
movq global@GOTPCREL(%rip), %rax
|
||||
|
Loading…
Reference in New Issue
Block a user