diff options
Diffstat (limited to 'binutils/objcopy.c')
-rw-r--r-- | binutils/objcopy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/objcopy.c b/binutils/objcopy.c index 03ec035..b42fbe9 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -1595,7 +1595,7 @@ setup_section (ibfd, isection, obfdarg) } if (p != NULL && p->set_flags) - flags = p->flags | (flags & SEC_HAS_CONTENTS); + flags = p->flags | (flags & (SEC_HAS_CONTENTS | SEC_RELOC)); if (!bfd_set_section_flags (obfd, osection, flags)) { err = _("flags"); |