aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-07-21 03:58:32 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-07-21 03:58:32 +0000
commit4d538889a84aae61cd39821ad1f617cad16de8eb (patch)
tree4ed7a8b7699dba0c90b6b1ba9005a8b072e81858 /bfd
parentb586af581da2199f7891d8fc37021e7bfd52d970 (diff)
downloadgdb-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/ChangeLog6
-rw-r--r--bfd/elflink.h2
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