From 16c7a5402901f42f7ba1b097b11c3452a31420bc Mon Sep 17 00:00:00 2001 From: hjl Date: Fri, 21 Jul 2000 02:16:30 +0000 Subject: [PATCH] 2000-07-20 H.J. Lu * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set DT_FLAGS_1 only if info->new_dtags is true. --- bfd/ChangeLog | 5 +++++ bfd/elflink.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b83198cf4e..782f959a9f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 2000-07-20 H.J. Lu + * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set DT_FLAGS_1 + only if info->new_dtags is true. + +2000-07-20 H.J. Lu + * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set DT_RUNPATH and DT_FLAGS only if info->new_dtags is true. diff --git a/bfd/elflink.h b/bfd/elflink.h index 10cf2ae8b9..5e74a5f427 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 -- 2.11.0