OSDN Git Service

* config/tc-xtensa.c (xtensa_post_relax_hook): Generate literal tables
authorbwilson <bwilson>
Mon, 6 Mar 2006 18:02:06 +0000 (18:02 +0000)
committerbwilson <bwilson>
Mon, 6 Mar 2006 18:02:06 +0000 (18:02 +0000)
even when using the text-section-literals option.

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

index 709e66b..ca185b1 100644 (file)
@@ -1,3 +1,8 @@
+2006-03-06  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/tc-xtensa.c (xtensa_post_relax_hook): Generate literal tables
+       even when using the text-section-literals option.
+
 2006-03-06  Nathan Sidwell  <nathan@codesourcery.com>
 
        * config/tc-m68k.c (m68k_extensions): Allow 'float' on both m68k
index a44c280..8c84172 100644 (file)
@@ -10078,11 +10078,10 @@ xtensa_post_relax_hook (void)
 
   xtensa_find_unmarked_state_frags ();
 
-  if (use_literal_section)
-    xtensa_create_property_segments (get_frag_is_literal,
-                                    NULL,
-                                    XTENSA_LIT_SEC_NAME,
-                                    xt_literal_sec);
+  xtensa_create_property_segments (get_frag_is_literal,
+                                  NULL,
+                                  XTENSA_LIT_SEC_NAME,
+                                  xt_literal_sec);
   xtensa_create_xproperty_segments (get_frag_property_flags,
                                    XTENSA_PROP_SEC_NAME,
                                    xt_prop_sec);