summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/gcc/files/gcc.fix_longversionstring.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools/gcc/files/gcc.fix_longversionstring.patch')
-rw-r--r--recipes-devtools/gcc/files/gcc.fix_longversionstring.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/files/gcc.fix_longversionstring.patch b/recipes-devtools/gcc/files/gcc.fix_longversionstring.patch
new file mode 100644
index 0000000..2d7fae7
--- /dev/null
+++ b/recipes-devtools/gcc/files/gcc.fix_longversionstring.patch
@@ -0,0 +1,16 @@
1gcc.fix_longversionstring
2
3Freescale version string is really long, and it can overflow a
4buffer. This patch extends the size of the buffer.
5
6--- gcc-4.6.0/gcc/dwarf2out.c-orig 2011-03-18 11:22:01.000000000 -0500
7+++ gcc-4.6.0/gcc/dwarf2out.c 2011-05-06 10:24:24.114277925 -0500
8@@ -20005,7 +20005,7 @@
9 gen_compile_unit_die (const char *filename)
10 {
11 dw_die_ref die;
12- char producer[250];
13+ char producer[2500];
14 const char *language_string = lang_hooks.name;
15 int language;
16