Commit c9616e9a by Aaron Sawdey Committed by Aaron Sawdey

2016-10-06 Aaron Sawdey <acsawdey@linux.vnet.ibm.com>

	* config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor)
	(rs6000_elf_asm_out_destructor): increase size of buf to avoid
	possible overflow.

From-SVN: r240852
parent 4ee822df
2016-10-06 Aaron Sawdey <acsawdey@linux.vnet.ibm.com>
* config/rs6000/rs6000.c (rs6000_elf_asm_out_constructor)
(rs6000_elf_asm_out_destructor): increase size of buf to avoid
possible overflow.
2016-10-06 Andrew Pinski <apinski@cavium.com>
* config/aarch64/aarch64-cores.def: Add a comment before each
......
......@@ -34166,7 +34166,7 @@ static void
rs6000_elf_asm_out_constructor (rtx symbol, int priority)
{
const char *section = ".ctors";
char buf[16];
char buf[18];
if (priority != DEFAULT_INIT_PRIORITY)
{
......@@ -34197,7 +34197,7 @@ static void
rs6000_elf_asm_out_destructor (rtx symbol, int priority)
{
const char *section = ".dtors";
char buf[16];
char buf[18];
if (priority != DEFAULT_INIT_PRIORITY)
{
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment