From: David O'Brien Date: Fri, 31 Aug 2001 15:20:36 +0000 (+0000) Subject: crtbegin.asm: The normal calling convention for alpha is to re-initialize gp using... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd1b0233977d984c6635bbcf22a49db338c16424;p=thirdparty%2Fgcc.git crtbegin.asm: The normal calling convention for alpha is to re-initialize gp using 'ldgp... 2001-08-29 David O'Brien * config/alpha/crtbegin.asm: The normal calling convention for alpha is to re-initialize gp using 'ldgp gp,0(ra)' after a jsr instruction. Approved by: Bernd Schmidt From-SVN: r45321 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9a1a03ed7673..402bc45cb216 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-08-29 David O'Brien + + * config/alpha/crtbegin.asm: The normal calling convention for alpha is + to re-initialize gp using 'ldgp gp,0(ra)' after a jsr instruction. + 2001-06-19 Bernd Schmidt * regmove.c (optimize_reg_copy_3): Do nothing if previous insn diff --git a/gcc/config/alpha/crtbegin.asm b/gcc/config/alpha/crtbegin.asm index f954f1ab0d3e..6350d4722a53 100644 --- a/gcc/config/alpha/crtbegin.asm +++ b/gcc/config/alpha/crtbegin.asm @@ -68,6 +68,7 @@ __EH_FRAME_BEGIN__: br $29,1f 1: ldgp $29,0($29) jsr $26,__do_global_dtors_aux + ldgp $29,0($26) # Ideally this call would go in crtend.o, except that we can't # get hold of __EH_FRAME_BEGIN__ there.