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-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=89da1f320879631c80c3f1a756bbb85dafa51ea5;p=gcc.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 225d5325995..77169f1ff17 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 e3b5cfa14c6..1559f0d02fc 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");