aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-d30v.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-d30v.c')
-rw-r--r--gas/config/tc-d30v.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/config/tc-d30v.c b/gas/config/tc-d30v.c
index 31990a8..64c4666 100644
--- a/gas/config/tc-d30v.c
+++ b/gas/config/tc-d30v.c
@@ -1884,6 +1884,10 @@ d30v_cons_align (int size)
{
int log_size;
+ /* Don't specially align anything in debug sections. */
+ if ((now_seg->flags & SEC_ALLOC) == 0)
+ return;
+
log_size = 0;
while ((size >>= 1) != 0)
++log_size;