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 */