diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2000-07-21 02:16:31 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2000-07-21 02:16:31 +0000 |
commit | b586af581da2199f7891d8fc37021e7bfd52d970 (patch) | |
tree | f744c70296ddae5d0db92a7ce7a4e3d6a62bc48b /bfd | |
parent | e5da6f528f30347b4e95a42ccb5482d8ea99e6cd (diff) | |
download | gdb-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')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elflink.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b83198c..782f959 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 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 DT_RUNPATH and DT_FLAGS only if info->new_dtags is true. 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 |