You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
384 B
12 lines
384 B
7 years ago
|
--- 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);
|