aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-11-15 09:16:46 +0000
committerAlan Modra <amodra@gmail.com>2001-11-15 09:16:46 +0000
commit33861b119a1f85c55f704b331eac3f45247d526b (patch)
tree7d38cf3e41ec883d074712d8988895d206ec36d2
parenta48ca7f2ea335567a42d3ba530b06d769564b218 (diff)
downloadgdb-33861b119a1f85c55f704b331eac3f45247d526b.zip
gdb-33861b119a1f85c55f704b331eac3f45247d526b.tar.gz
gdb-33861b119a1f85c55f704b331eac3f45247d526b.tar.bz2
revert last change.
-rw-r--r--gas/ChangeLog2
-rw-r--r--gas/frags.c6
2 files changed, 2 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 28afc0b..4a2ed82 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,7 @@
2001-11-15 Alan Modra <amodra@bigpond.net.au>
+ * frags.c (frag_grow): Revert last change.
+
* dwarf2dbg.c (get_frag_fix): Align last frag size.
* config/tc-ppc.c (ppc_insert_operand): Pass (ppc_cpu | ppc_size)
diff --git a/gas/frags.c b/gas/frags.c
index e80cced..8d7ed2f 100644
--- a/gas/frags.c
+++ b/gas/frags.c
@@ -65,12 +65,6 @@ void
frag_grow (nchars)
unsigned int nchars;
{
- /* Try really hard to grow the obstack. Creating a new obstack can
- disable expression optimisations that would otherwise occur if
- two symbols were located in the same obstack. */
- if (obstack_room (&frchain_now->frch_obstack) < nchars)
- obstack_make_room (& frchain_now->frch_obstack, 2 * nchars);
-
if (obstack_room (&frchain_now->frch_obstack) < nchars)
{
unsigned int n;