From c2ce945a08383aef450e12899ebee6d1745242a7 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 28 Oct 2010 05:34:55 +0000 Subject: [PATCH] * config/tc-d30v.c (d30v_cons_align): Don't align .eh_frame. --- gas/ChangeLog | 4 ++++ gas/config/tc-d30v.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 11f866782c9..6b9b61706b1 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2010-10-28 Alan Modra + + * config/tc-d30v.c (d30v_cons_align): Don't align .eh_frame. + 2010-10-26 Alan Modra * config/obj-coff.c (coff_format_ops): Fix typo. diff --git a/gas/config/tc-d30v.c b/gas/config/tc-d30v.c index 64c46662ceb..9a3477b6ed1 100644 --- a/gas/config/tc-d30v.c +++ b/gas/config/tc-d30v.c @@ -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; -- 2.30.2