OSDN Git Service

* config/tc-d30v.c (d30v_cons_align): Don't align .eh_frame.
authoramodra <amodra>
Thu, 28 Oct 2010 05:34:55 +0000 (05:34 +0000)
committeramodra <amodra>
Thu, 28 Oct 2010 05:34:55 +0000 (05:34 +0000)
gas/ChangeLog
gas/config/tc-d30v.c

index 11f8667..6b9b617 100644 (file)
@@ -1,3 +1,7 @@
+2010-10-28  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-d30v.c (d30v_cons_align): Don't align .eh_frame.
+
 2010-10-26  Alan Modra  <amodra@gmail.com>
 
        * config/obj-coff.c (coff_format_ops): Fix typo.
index 64c4666..9a3477b 100644 (file)
@@ -1885,7 +1885,8 @@ d30v_cons_align (int size)
   int log_size;
 
   /* Don't specially align anything in debug sections.  */
-  if ((now_seg->flags & SEC_ALLOC) == 0)
+  if ((now_seg->flags & SEC_ALLOC) == 0
+      || strcmp (now_seg->name, ".eh_frame") == 0)
     return;
 
   log_size = 0;