aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-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;