diff options
author | Alan Modra <amodra@bigpond.net.au> | 2001-10-31 14:58:14 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2001-10-31 14:58:14 +0000 |
commit | 1749bbd493d04e33a959e5e910ca0360542907eb (patch) | |
tree | 1502b1b6646a81ef59ba7f45a52132d0114e1059 /bfd | |
parent | 559ff32893e698fac2a7e3f416a8883a406df663 (diff) | |
download | gdb-1749bbd493d04e33a959e5e910ca0360542907eb.tar.gz |
* elf32-hppa.c (elf32_hppa_size_dynamic_sections): Set DT_RELASZ
whenever DT_PLTRELSZ.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-hppa.c | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b84842e65e0..441db5fed80 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2001-11-01 Alan Modra <amodra@bigpond.net.au> + + * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Set DT_RELASZ + whenever DT_PLTRELSZ. + 2001-10-29 NIIBE Yutaka <gniibe@m17n.org> * config.bfd: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c index c10e892fea4..7d65a14ab18 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. */ |