From: Christopher Jaillet Date: Mon, 18 Apr 2005 20:51:18 +0000 (+0200) Subject: rs6000.c (machopic_output_stub): Increase alloca argument to be big enough. X-Git-Tag: misc/cutover-cvs2svn~3966 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=89da1f320879631c80c3f1a756bbb85dafa51ea5;p=thirdparty%2Fgcc.git rs6000.c (machopic_output_stub): Increase alloca argument to be big enough. 2005-04-18 Christopher Jaillet * config/rs6000/rs6000.c (machopic_output_stub): Increase alloca argument to be big enough. From-SVN: r98348 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 225d53259958..77169f1ff171 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-04-18 Christopher Jaillet + + * config/rs6000/rs6000.c (machopic_output_stub): Increase + alloca argument to be big enough. + 2005-04-18 Alexandre Oliva PR middle-end/21049 diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index e3b5cfa14c69..1559f0d02fc2 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -16347,7 +16347,7 @@ machopic_output_stub (FILE *file, const char *symb, const char *stub) fprintf (file, "\t.indirect_symbol %s\n", symbol_name); label++; - local_label_0 = alloca (sizeof ("\"L0000000000$spb\"")); + local_label_0 = alloca (sizeof ("\"L00000000000$spb\"")); sprintf (local_label_0, "\"L%011d$spb\"", label); fprintf (file, "\tmflr r0\n");