diff options
author | Nick Clifton <nickc@redhat.com> | 2002-10-23 12:34:57 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-10-23 12:34:57 +0000 |
commit | b7c6fa151c72586416a2281da51b714b90077442 (patch) | |
tree | 914995226128d7171f4bb414920be8cf5a84d41d | |
parent | 97b11cc84a49c2a7f69cf9482d958bdeb132a3b4 (diff) | |
download | binutils-redhat-b7c6fa151c72586416a2281da51b714b90077442.tar.gz |
Force DT_FLAGS to always be set. Required by HPUX 11.00 patch PHSS_26559.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf64-hppa.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 08efbe2f86..8e359fa8da 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2002-10-23 Ross Alexander <ross.alexander@uk.neceur.com> + + * elf64-hppa.c: Force DT_FLAGS to always be set. Required by + HPUX 11.00 patch PHSS_26559. + 2002-10-22 Alexandre Oliva <aoliva@redhat.com> * 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 aef822a02f..3c8e00f2b4 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) |