aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-hppa.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-10-23 12:34:57 +0000
committerNick Clifton <nickc@redhat.com>2002-10-23 12:34:57 +0000
commitf2482cb2da3165cd50cb55e3b2cf68bca1fdd88e (patch)
tree56c503c0008bea4a3a19fe1118233d74a02e4acb /bfd/elf64-hppa.c
parent3637916721826ea3ad0a19ade02278c9137861be (diff)
downloadgdb-f2482cb2da3165cd50cb55e3b2cf68bca1fdd88e.zip
gdb-f2482cb2da3165cd50cb55e3b2cf68bca1fdd88e.tar.gz
gdb-f2482cb2da3165cd50cb55e3b2cf68bca1fdd88e.tar.bz2
Force DT_FLAGS to always be set. Required by HPUX 11.00 patch PHSS_26559.
Diffstat (limited to 'bfd/elf64-hppa.c')
-rw-r--r--bfd/elf64-hppa.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/elf64-hppa.c b/bfd/elf64-hppa.c
index aef822a..3c8e00f 100644
--- a/bfd/elf64-hppa.c
+++ b/bfd/elf64-hppa.c
@@ -1855,6 +1855,11 @@ elf64_hppa_size_dynamic_sections (output_bfd, info)
return false;
}
+ /* Force DT_FLAGS to always be set.
+ Required by HPUX 11.00 patch PHSS_26559. */
+ if (!add_dynamic_entry (DT_FLAGS, (info)->flags))
+ return false;
+
if (plt)
{
if (!add_dynamic_entry (DT_PLTRELSZ, 0)