OSDN Git Service

* config/tc-xtensa.c (xtensa_mark_literal_pool_location): Do not check
authorbwilson <bwilson>
Fri, 25 Aug 2006 19:59:31 +0000 (19:59 +0000)
committerbwilson <bwilson>
Fri, 25 Aug 2006 19:59:31 +0000 (19:59 +0000)
the state of the absolute_literals directive.  Remove align frag at
the start of the literal pool position.

gas/ChangeLog
gas/config/tc-xtensa.c

index 0dff880..45ff886 100644 (file)
@@ -1,3 +1,10 @@
+2006-08-25  Sterling Augustine  <sterling@tensilica.com>
+           Bob Wilson  <bob.wilson@acm.org>
+
+       * config/tc-xtensa.c (xtensa_mark_literal_pool_location): Do not check
+       the state of the absolute_literals directive.  Remove align frag at
+       the start of the literal pool position.
+
 2006-08-25  Bob Wilson  <bob.wilson@acm.org>
 
        * doc/c-xtensa.texi: Add @group commands in examples.
index 476b2d2..5f0d8a8 100644 (file)
@@ -4516,12 +4516,9 @@ xtensa_mark_literal_pool_location (void)
   emit_state s;
   fragS *pool_location;
 
-  if (use_literal_section && !directive_state[directive_absolute_literals])
+  if (use_literal_section)
     return;
 
-  frag_align (2, 0, 0);
-  record_alignment (now_seg, 2);
-
   /* We stash info in these frags so we can later move the literal's
      fixes into this frchain's fix list.  */
   pool_location = frag_now;