rs6000.c (machopic_output_stub): Increase alloca argument to be big enough.
authorChristopher Jaillet <christophe.jaillet@wanadoo.fr>
Mon, 18 Apr 2005 20:51:18 +0000 (22:51 +0200)
committerDale Johannesen <dalej@gcc.gnu.org>
Mon, 18 Apr 2005 20:51:18 +0000 (20:51 +0000)
2005-04-18  Christopher Jaillet <christophe.jaillet@wanadoo.fr>

        * config/rs6000/rs6000.c (machopic_output_stub):  Increase
        alloca argument to be big enough.

From-SVN: r98348

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index 225d53259958122e2850085dc2a128542bde52ca..77169f1ff171d4fdd55809b98672372fa16f9f37 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-18  Christopher Jaillet <christophe.jaillet@wanadoo.fr>
+
+       * config/rs6000/rs6000.c (machopic_output_stub):  Increase
+       alloca argument to be big enough.
+
 2005-04-18  Alexandre Oliva  <aoliva@redhat.com>
 
        PR middle-end/21049
index e3b5cfa14c69ca27ef822291ad88ae54f64ceb25..1559f0d02fc2d4f6b2c1327e7089e7164c61c52e 100644 (file)
@@ -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");