aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-07-21 02:16:31 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-07-21 02:16:31 +0000
commitb586af581da2199f7891d8fc37021e7bfd52d970 (patch)
treef744c70296ddae5d0db92a7ce7a4e3d6a62bc48b /bfd/elflink.h
parente5da6f528f30347b4e95a42ccb5482d8ea99e6cd (diff)
downloadgdb-b586af581da2199f7891d8fc37021e7bfd52d970.zip
gdb-b586af581da2199f7891d8fc37021e7bfd52d970.tar.gz
gdb-b586af581da2199f7891d8fc37021e7bfd52d970.tar.bz2
2000-07-20 H.J. Lu <hjl@gnu.org>
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set DT_FLAGS_1 only if info->new_dtags is true.
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r--bfd/elflink.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h
index 10cf2ae..5e74a5f 100644
--- a/bfd/elflink.h
+++ b/bfd/elflink.h
@@ -3144,7 +3144,7 @@ NAME(bfd_elf,size_dynamic_sections) (output_bfd, soname, rpath,
return false;
}
- if (info->flags_1)
+ if (info->new_dtags && info->flags_1)
{
if (! info->shared)
info->flags_1 &= ~ (DF_1_INITFIRST