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

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
This commit is contained in:
Christopher Jaillet 2005-04-18 22:51:18 +02:00 committed by Dale Johannesen
parent 3556836fc7
commit 89da1f3208
2 changed files with 6 additions and 1 deletions

View 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

View 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");