Blame binutils-2.20.51.0.10-sec-merge-emit.patch
|
Nick Clifton |
e37b50 |
--- binutils-2.26.orig/bfd/merge.c 2016-01-25 10:11:33.505289018 +0000
|
|
Nick Clifton |
e37b50 |
+++ binutils-2.26/bfd/merge.c 2016-01-25 10:19:56.961381656 +0000
|
|
Nick Clifton |
e37b50 |
@@ -334,7 +334,7 @@ sec_merge_emit (bfd *abfd, struct sec_me
|
|
Nick Clifton |
e37b50 |
|
|
Nick Clifton |
cb347a |
/* Trailing alignment needed? */
|
|
Nick Clifton |
cb347a |
off = sec->size - off;
|
|
Nick Clifton |
e37b50 |
- if (off != 0)
|
|
Nick Clifton |
e37b50 |
+ if (off != 0 && alignment_power)
|
|
Nick Clifton |
e37b50 |
{
|
|
Nick Clifton |
e37b50 |
if (contents)
|
|
Nick Clifton |
e37b50 |
memcpy (contents + offset, pad, off);
|