From: Nick Clifton Date: Wed, 23 Oct 2002 12:34:57 +0000 (+0000) Subject: Force DT_FLAGS to always be set. Required by HPUX 11.00 patch PHSS_26559. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f2482cb2da3165cd50cb55e3b2cf68bca1fdd88e;p=binutils-gdb.git Force DT_FLAGS to always be set. Required by HPUX 11.00 patch PHSS_26559. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 08efbe2f86d..8e359fa8da9 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2002-10-23 Ross Alexander + + * elf64-hppa.c: Force DT_FLAGS to always be set. Required by + HPUX 11.00 patch PHSS_26559. + 2002-10-22 Alexandre Oliva * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Don't move diff --git a/bfd/elf64-hppa.c b/bfd/elf64-hppa.c index aef822a02f2..3c8e00f2b4a 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)