From 1f362c35f3a56a1d8629108fd7bf81e9d462ddb8 Mon Sep 17 00:00:00 2001 From: pierre Date: Fri, 8 Oct 2010 09:04:15 +0000 Subject: [PATCH] * _GLOBAL_OFFSET_TABLE is not a local label git-svn-id: trunk@16105 - --- tests/test/tasmread.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test/tasmread.pp b/tests/test/tasmread.pp index b30b593cd2..c3ac8fd3a8 100644 --- a/tests/test/tasmread.pp +++ b/tests/test/tasmread.pp @@ -20,8 +20,8 @@ begin {$ifdef darwin} mov [test.l-@@LPIC+ecx],5 {$else darwin} - add ecx, @_GLOBAL_OFFSET_TABLE_ - mov [ecx].OFFSET test.l,5 + add ecx, _GLOBAL_OFFSET_TABLE_ + mov [test.l + ecx],5 {$endif darwin} {$endif FPC_PIC} end;