From d4cc280c81ea59476ec8c1d079c9f97ee9b92964 Mon Sep 17 00:00:00 2001 From: yury Date: Tue, 13 Oct 2015 12:58:19 +0000 Subject: [PATCH] * Fixed i386 case jump table when PIC with GOT and an external assembler is used. git-svn-id: http://svn.freepascal.org/svn/ fpc/trunk@32036 3ad0048d-3df7-0310-abae-a5850022a9f2 Gbp-Pq: Name Fixed-i386-case-jump-table-when-PIC-with-GOT-and-an-.patch --- fpcsrc/compiler/aggas.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fpcsrc/compiler/aggas.pas b/fpcsrc/compiler/aggas.pas index d1fbb255..db63e13d 100644 --- a/fpcsrc/compiler/aggas.pas +++ b/fpcsrc/compiler/aggas.pas @@ -977,7 +977,7 @@ implementation cpu_i386: begin AsmWrite(ait_const2str[aitconst_32bit]); - AsmWrite(tai_const(hp).sym.name); + AsmWrite(tai_const(hp).sym.name+'-_GLOBAL_OFFSET_TABLE_'); end; else InternalError(2014022602); -- 2.30.2