diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2000-07-21 03:58:32 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2000-07-21 03:58:32 +0000 |
commit | 4d538889a84aae61cd39821ad1f617cad16de8eb (patch) | |
tree | 4ed7a8b7699dba0c90b6b1ba9005a8b072e81858 /bfd | |
parent | b586af581da2199f7891d8fc37021e7bfd52d970 (diff) | |
download | gdb-4d538889a84aae61cd39821ad1f617cad16de8eb.zip gdb-4d538889a84aae61cd39821ad1f617cad16de8eb.tar.gz gdb-4d538889a84aae61cd39821ad1f617cad16de8eb.tar.bz2 |
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.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/elflink.h | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 782f959..09725de 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,11 @@ 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 only if info->new_dtags is true. diff --git a/bfd/elflink.h b/bfd/elflink.h index 5e74a5f..10cf2ae 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->new_dtags && info->flags_1) + if (info->flags_1) { if (! info->shared) info->flags_1 &= ~ (DF_1_INITFIRST |