* config/tc-d30v.c (d30v_cons_align): Don't align constants

in debug sections.
This commit is contained in:
Alan Modra 2010-08-02 13:53:29 +00:00
parent c47320c3a0
commit 69da848e6e
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-08-02 Alan Modra <amodra@gmail.com>
* config/tc-d30v.c (d30v_cons_align): Don't align constants
in debug sections.
2010-08-02 Alan Modra <amodra@gmail.com>
PR gas/11867

View File

@ -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;