2000-07-20 H.J. Lu <hjl@gnu.org>

* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Don't check
	info->new_dtags when setting DT_FLAGS_1. It will only be set
	by the new linker options. It shouldn't break anything.
This commit is contained in:
H.J. Lu 2000-07-21 03:58:32 +00:00
parent b586af581d
commit 4d538889a8
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2000-07-20 H.J. Lu <hjl@gnu.org>
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Don't check
info->new_dtags when setting DT_FLAGS_1. It will only be set
by the new linker options. It shouldn't break anything.
2000-07-20 H.J. Lu <hjl@gnu.org>
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set DT_FLAGS_1

View file

@ -3144,7 +3144,7 @@ NAME(bfd_elf,size_dynamic_sections) (output_bfd, soname, rpath,
return false;
}
if (info->new_dtags && info->flags_1)
if (info->flags_1)
{
if (! info->shared)
info->flags_1 &= ~ (DF_1_INITFIRST