diff options
author | Alan Modra <amodra@gmail.com> | 2001-10-31 14:58:14 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-10-31 14:58:14 +0000 |
commit | 4578e0a7264676834da6af67f45d622e0d5b8b6d (patch) | |
tree | 941057a01f9b29d1b6e69c91ff64e7a81fdd6dc8 /bfd/elf32-hppa.c | |
parent | b89dddec962019c91b3d6c121e5f878cc2f5b0b9 (diff) | |
download | gdb-4578e0a7264676834da6af67f45d622e0d5b8b6d.zip gdb-4578e0a7264676834da6af67f45d622e0d5b8b6d.tar.gz gdb-4578e0a7264676834da6af67f45d622e0d5b8b6d.tar.bz2 |
* elf32-hppa.c (elf32_hppa_size_dynamic_sections): Set DT_RELASZ
whenever DT_PLTRELSZ.
Diffstat (limited to 'bfd/elf32-hppa.c')
-rw-r--r-- | bfd/elf32-hppa.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c index c10e892..7d65a14 100644 --- a/bfd/elf32-hppa.c +++ b/bfd/elf32-hppa.c @@ -2368,10 +2368,8 @@ elf32_hppa_size_dynamic_sections (output_bfd, info) { if (s->_raw_size != 0) { - /* Remember whether there are any reloc sections other - than .rela.plt. */ - if (s != htab->srelplt) - relocs = true; + /* Remember whether there are any reloc sections. */ + relocs = true; /* We use the reloc_count field as a counter if we need to copy relocs into the output file. */ |