diff options
author | Jakub Jelinek <jakub@redhat.com> | 2003-02-10 13:22:12 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2003-02-10 13:22:12 +0000 |
commit | a779acda1541fc6b08f5f5758705b2186e627354 (patch) | |
tree | 636a0ec75dfb5be48caf790293fd2bcbf303957d | |
parent | 40d02bca51971042caa935bbb3479c8b6f819ee2 (diff) | |
download | gdb-a779acda1541fc6b08f5f5758705b2186e627354.zip gdb-a779acda1541fc6b08f5f5758705b2186e627354.tar.gz gdb-a779acda1541fc6b08f5f5758705b2186e627354.tar.bz2 |
* elf32-s390.c (elf_s390_size_dynamic_sections): Set relocs to TRUE
even if there is just non-empty .rela.plt.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-s390.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 9841d59..1c0e841 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2003-02-10 Jakub Jelinek <jakub@redhat.com> + + * elf32-s390.c (elf_s390_size_dynamic_sections): Set relocs to TRUE + even if there is just non-empty .rela.plt. + 2003-02-10 Nick Clifton <nickc@redhat.com> * archures.c (bfd_mach_arm_ep9312): Define. diff --git a/bfd/elf32-s390.c b/bfd/elf32-s390.c index e8d94af..c92aa15 100644 --- a/bfd/elf32-s390.c +++ b/bfd/elf32-s390.c @@ -1,5 +1,5 @@ /* IBM S/390-specific support for 32-bit ELF - Copyright 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright 2000, 2001, 2002, 2003 Free Software Foundation, Inc. Contributed by Carl B. Pedersen and Martin Schwidefsky. This file is part of BFD, the Binary File Descriptor library. @@ -2014,7 +2014,7 @@ elf_s390_size_dynamic_sections (output_bfd, info) } else if (strncmp (bfd_get_section_name (dynobj, s), ".rela", 5) == 0) { - if (s->_raw_size != 0 && s != htab->srelplt) + if (s->_raw_size != 0) relocs = TRUE; /* We use the reloc_count field as a counter if we need |