aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2016-10-26 09:36:48 -0600
committerJeff Law <law@gcc.gnu.org>2016-10-26 09:36:48 -0600
commit42ee9611de63ef3e2aa3a786fc7b0fb24cda7a45 (patch)
treed69cd4892980d21ddbf2197f9504e1a16ba40965 /gcc
parent10da5b7cbc2ec4520700c8281133fcb348506bd7 (diff)
downloadgcc-42ee9611de63ef3e2aa3a786fc7b0fb24cda7a45.zip
gcc-42ee9611de63ef3e2aa3a786fc7b0fb24cda7a45.tar.gz
gcc-42ee9611de63ef3e2aa3a786fc7b0fb24cda7a45.tar.bz2
stormy16.c (xstormy16_asm_output_destrutor): Increase buffer size.
* config/stormy16/stormy16.c (xstormy16_asm_output_destrutor): Increase buffer size. (xstormy16_asm_output_constructor): Likewise. From-SVN: r241564
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/stormy16/stormy16.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7d869b1..d778e95 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2016-10-26 Jeff Law <law@redhat.com>
+ * config/stormy16/stormy16.c (xstormy16_asm_output_destrutor): Increase
+ buffer size.
+ (xstormy16_asm_output_constructor): Likewise.
+
* config/pa/pa.c (pa_asm_output_mi_thunk): Increase buffer
size.
diff --git a/gcc/config/stormy16/stormy16.c b/gcc/config/stormy16/stormy16.c
index 531a7e9..f74b4d9 100644
--- a/gcc/config/stormy16/stormy16.c
+++ b/gcc/config/stormy16/stormy16.c
@@ -1618,7 +1618,7 @@ static void
xstormy16_asm_out_destructor (rtx symbol, int priority)
{
const char *section = ".dtors";
- char buf[16];
+ char buf[18];
/* ??? This only works reliably with the GNU linker. */
if (priority != DEFAULT_INIT_PRIORITY)
@@ -1640,7 +1640,7 @@ static void
xstormy16_asm_out_constructor (rtx symbol, int priority)
{
const char *section = ".ctors";
- char buf[16];
+ char buf[18];
/* ??? This only works reliably with the GNU linker. */
if (priority != DEFAULT_INIT_PRIORITY)