From: Jeff Law Date: Wed, 26 Oct 2016 15:36:48 +0000 (-0600) Subject: stormy16.c (xstormy16_asm_output_destrutor): Increase buffer size. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=42ee9611de63ef3e2aa3a786fc7b0fb24cda7a45;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7d869b1f259..d778e95bbcf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2016-10-26 Jeff Law + * 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 531a7e92505..f74b4d997a6 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)