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:
parent
e5da6f528f
commit
b586af581d
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue