diff options
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/elflink.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 187a049..8ab9a1f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2016-06-20 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/20276 + * elflink.c (elf_link_add_object_symbols): Don't check alignment + on symbol from plugin dummy input. + 2016-06-18 H.J. Lu <hongjiu.lu@intel.com> * bfd.c (bfd_plugin_format): Rename bfd_plugin_uknown to diff --git a/bfd/elflink.c b/bfd/elflink.c index 6d591de..d4e8db6 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -4556,7 +4556,8 @@ error_free_dyn: symbol_align = ffs (h->root.u.def.value) - 1; if (h->root.u.def.section->owner != NULL - && (h->root.u.def.section->owner->flags & DYNAMIC) == 0) + && (h->root.u.def.section->owner->flags + & (DYNAMIC | BFD_PLUGIN)) == 0) { normal_align = h->root.u.def.section->alignment_power; if (normal_align > symbol_align) |