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.
This commit is contained in:
H.J. Lu 2000-07-21 02:16:31 +00:00
parent e5da6f528f
commit b586af581d
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
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.
2000-07-20 H.J. Lu <hjl@gnu.org>
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set

View file

@ -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