projects
/
platform
/
upstream
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b18d0ba
)
* objcopy.c (setup_section): Preserve SEC_RELOC when
author
Mike Stump
<mrs@apple.com>
Thu, 29 Nov 2001 00:51:58 +0000
(
00:51
+0000)
committer
Mike Stump
<mrs@apple.com>
Thu, 29 Nov 2001 00:51:58 +0000
(
00:51
+0000)
--set-section-flags is used.
binutils/ChangeLog
patch
|
blob
|
history
binutils/objcopy.c
patch
|
blob
|
history
diff --git
a/binutils/ChangeLog
b/binutils/ChangeLog
index 1eb553ec9877b28037a241a5b19bd8ddc1a00c92..2066770735b3c6b5d10b281d6e4e171e2ad718fa 100644
(file)
--- a/
binutils/ChangeLog
+++ b/
binutils/ChangeLog
@@
-1,3
+1,8
@@
+2001-11-28 Mike Stump <mrs@wrs.com>
+
+ * objcopy.c (setup_section): Preserve SEC_RELOC when
+ --set-section-flags is used.
+
2001-11-19 Nick Clifton <nickc@cambridge.redhat.com>
* readelf.c (do_debug_str): New variable.
diff --git
a/binutils/objcopy.c
b/binutils/objcopy.c
index 03ec035ce3e514992df0278d248f8b5fd70c31c5..b42fbe90d51003b37c81a41bf3eacf1b6b668804 100644
(file)
--- 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");