diff options
Diffstat (limited to 'source/d/binutils/patches/binutils-2.20.51.0.10-sec-merge-emit.patch')
-rw-r--r-- | source/d/binutils/patches/binutils-2.20.51.0.10-sec-merge-emit.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/d/binutils/patches/binutils-2.20.51.0.10-sec-merge-emit.patch b/source/d/binutils/patches/binutils-2.20.51.0.10-sec-merge-emit.patch new file mode 100644 index 00000000..238beb38 --- /dev/null +++ b/source/d/binutils/patches/binutils-2.20.51.0.10-sec-merge-emit.patch @@ -0,0 +1,11 @@ +--- binutils-2.26.orig/bfd/merge.c 2016-01-25 10:11:33.505289018 +0000 ++++ binutils-2.26/bfd/merge.c 2016-01-25 10:19:56.961381656 +0000 +@@ -334,7 +334,7 @@ sec_merge_emit (bfd *abfd, struct sec_me + + /* Trailing alignment needed? */ + off = sec->size - off; +- if (off != 0) ++ if (off != 0 && alignment_power) + { + if (contents) + memcpy (contents + offset, pad, off); |