* 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:
Jonas Maebe 2014-11-04 21:16:29 +00:00
parent d8c898742a
commit b662d63258

View File

@ -2,7 +2,7 @@
{ %opt=-Cg -vew }
var
global: boolean;
global: boolean; public;
begin
asm
movq global@GOTPCREL(%rip), %rax