From e8e41d4cf89ccf226820df248b5b77b7554e2866 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Wed, 18 Aug 2004 23:06:47 +0000 Subject: Bring ia64 back from the dead. After a call one needs to restore the GP register, because it's clobbered for calls across load modules. The previous commit inserted the call to _init_tls() between the call to atexit() and the restoration of the GP register clobbered by it. Fix: restore GP before we call _init_tls(). Pointy hat: dfr@ --- lib/csu/ia64/crt1.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/csu/ia64/crt1.S b/lib/csu/ia64/crt1.S index 8740299595d8..10e1a63d17b4 100644 --- a/lib/csu/ia64/crt1.S +++ b/lib/csu/ia64/crt1.S @@ -108,7 +108,7 @@ _start: ;; } { .mfb - nop 0 + mov gp=GP nop 0 br.call.sptk b0=_init_tls } -- cgit v1.2.3