mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
Avoid a possible compiler bug by using a static buffer instead of a stack local buffer.
PR binutils/21582 * ieee.c (ieee_object_p): Use a static buffer to avoid compiler bugs.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2017-06-15 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
PR binutils/21582
|
||||||
|
* ieee.c (ieee_object_p): Use a static buffer to avoid compiler
|
||||||
|
bugs.
|
||||||
|
|
||||||
2017-06-15 Nick Clifton <nickc@redhat.com>
|
2017-06-15 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
PR binutils/21579
|
PR binutils/21579
|
||||||
|
@ -1873,7 +1873,7 @@ ieee_object_p (bfd *abfd)
|
|||||||
char *processor;
|
char *processor;
|
||||||
unsigned int part;
|
unsigned int part;
|
||||||
ieee_data_type *ieee;
|
ieee_data_type *ieee;
|
||||||
unsigned char buffer[300];
|
static unsigned char buffer[300];
|
||||||
ieee_data_type *save = IEEE_DATA (abfd);
|
ieee_data_type *save = IEEE_DATA (abfd);
|
||||||
bfd_size_type amt;
|
bfd_size_type amt;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user