From 69da848e6ebe8d0b4196f2b630b112fa43dc9348 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 2 Aug 2010 13:53:29 +0000 Subject: [PATCH] * config/tc-d30v.c (d30v_cons_align): Don't align constants in debug sections. --- gas/ChangeLog | 5 +++++ gas/config/tc-d30v.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index ccab9d378c0..da5c96d3376 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2010-08-02 Alan Modra + + * config/tc-d30v.c (d30v_cons_align): Don't align constants + in debug sections. + 2010-08-02 Alan Modra PR gas/11867 diff --git a/gas/config/tc-d30v.c b/gas/config/tc-d30v.c index 31990a8f181..64c46662ceb 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; -- 2.30.2