Blame binutils-2.20.51.0.2-sec-merge-emit.patch
|
Nick Clifton |
53506d |
*** ../binutils-2.20.51.0.2.orig/bfd/merge.c 2010-08-20 13:23:10.000000000 +0100
|
|
Nick Clifton |
53506d |
--- bfd/merge.c 2010-08-20 13:28:02.000000000 +0100
|
|
Nick Clifton |
53506d |
*************** sec_merge_emit (bfd *abfd, struct sec_me
|
|
Nick Clifton |
53506d |
*** 324,329 ****
|
|
Nick Clifton |
53506d |
--- 324,330 ----
|
|
Nick Clifton |
53506d |
/* Trailing alignment needed? */
|
|
Nick Clifton |
53506d |
off = sec->size - off;
|
|
Nick Clifton |
53506d |
if (off != 0
|
|
Nick Clifton |
53506d |
+ && alignment_power
|
|
Nick Clifton |
53506d |
&& bfd_bwrite (pad, off, abfd) != off)
|
|
Nick Clifton |
53506d |
goto err;
|
|
Nick Clifton |
53506d |
|