projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63323b5
)
Avoid a possible compiler bug by using a static buffer instead of a stack local buffer.
author
Nick Clifton
<nickc@redhat.com>
Thu, 15 Jun 2017 11:44:23 +0000
(12:44 +0100)
committer
Nick Clifton
<nickc@redhat.com>
Thu, 15 Jun 2017 11:44:23 +0000
(12:44 +0100)
PR binutils/21582
* ieee.c (ieee_object_p): Use a static buffer to avoid compiler
bugs.
bfd/ChangeLog
patch
|
blob
|
history
bfd/ieee.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index f39dd0908713628dbd8a517c87c03498bbf2ba46..7cbd7611b7f332297bd5158d68c54e441633bf8d 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-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>
PR binutils/21579
diff --git
a/bfd/ieee.c
b/bfd/ieee.c
index 763c2b818223232d7dac61a95fabea3e04fecf21..0884d87a7b5afa997a083ffb24a190d415702cd6 100644
(file)
--- a/
bfd/ieee.c
+++ b/
bfd/ieee.c
@@
-1873,7
+1873,7
@@
ieee_object_p (bfd *abfd)
char *processor;
unsigned int part;
ieee_data_type *ieee;
- unsigned char buffer[300];
+
static
unsigned char buffer[300];
ieee_data_type *save = IEEE_DATA (abfd);
bfd_size_type amt;