This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
d30v eh_frame
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Thu, 28 Oct 2010 16:04:27 +1030
- Subject: d30v eh_frame
This fixes d30v .eh_frame, which was totally broken due to
inappropriate zero padding. Not that d30v .eh_frame matters too much;
I'm more interested in zero fails from the testsuite. Speaking of
which, how about some action from contributors of recent new ports to
clean up their testsuite results?
* config/tc-d30v.c (d30v_cons_align): Don't align .eh_frame.
Index: gas/config/tc-d30v.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-d30v.c,v
retrieving revision 1.41
diff -u -p -r1.41 tc-d30v.c
--- gas/config/tc-d30v.c 2 Aug 2010 13:53:29 -0000 1.41
+++ gas/config/tc-d30v.c 28 Oct 2010 03:49:25 -0000
@@ -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;
--
Alan Modra
Australia Development Lab, IBM