From: rth Date: Wed, 22 Aug 2001 02:10:53 +0000 (+0000) Subject: * config/ia64/crtbegin.asm (__do_global_dtors_aux): Use saved X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=23fe75ca7bebbfb7f4a8319f85c15ec44e845dbc;p=thirdparty%2Fgcc.git * config/ia64/crtbegin.asm (__do_global_dtors_aux): Use saved copy of gp while the real gp register contains garbage. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45091 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 773cc6f33c8d..e07c41308540 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -3,6 +3,9 @@ * config/ia64/sysv4.h (ASM_OUTPUT_LABELREF): Don't emit '#' if ia64_asm_output_label. + * config/ia64/crtbegin.asm (__do_global_dtors_aux): Use saved + copy of gp while the real gp register contains garbage. + 2001-08-21 Zack Weinberg * expmed.c (mode_for_extraction): New function. diff --git a/gcc/config/ia64/crtbegin.asm b/gcc/config/ia64/crtbegin.asm index 5a3667c821ba..388b24e53b29 100644 --- a/gcc/config/ia64/crtbegin.asm +++ b/gcc/config/ia64/crtbegin.asm @@ -172,7 +172,7 @@ __do_global_dtors_aux: { .mmi ld8 r15 = [loc0] ;; - add r16 = r15, gp + add r16 = r15, loc2 adds r15 = 8, r15 ;; }