From ba2c5fc6e72329e92f1feccecbc6a90c1049f0e4 Mon Sep 17 00:00:00 2001 From: Laurent Vivier Date: Fri, 10 Jun 2005 20:53:14 +0000 Subject: [PATCH] 68000 compatibility: load _GLOBAL_OFFSET_TABLE_ --- second/head.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/second/head.S b/second/head.S index 44f7dc3..8921fed 100644 --- a/second/head.S +++ b/second/head.S @@ -97,7 +97,8 @@ malloc_ok: /* real address of GOT */ - lea (%pc, _GLOBAL_OFFSET_TABLE_@GOTPC), %a0 + lea _GLOBAL_OFFSET_TABLE_-.-8,%a0 + lea (%pc, %a0), %a0 /* linked address of GOT */