aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-10-28 05:34:55 +0000
committerAlan Modra <amodra@gmail.com>2010-10-28 05:34:55 +0000
commitc2ce945a08383aef450e12899ebee6d1745242a7 (patch)
treea6291d2436d381451cbddae0317457945fae02e9 /gas
parent0a2a54b8b06bfacaab862b804ef33bf45d2a7714 (diff)
downloadgdb-c2ce945a08383aef450e12899ebee6d1745242a7.zip
gdb-c2ce945a08383aef450e12899ebee6d1745242a7.tar.gz
gdb-c2ce945a08383aef450e12899ebee6d1745242a7.tar.bz2
* config/tc-d30v.c (d30v_cons_align): Don't align .eh_frame.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-d30v.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 11f8667..6b9b617 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/config/tc-d30v.c b/gas/config/tc-d30v.c
index 64c4666..9a3477b 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;