aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-09-01 11:17:07 +0000
committerAlan Modra <amodra@gmail.com>2000-09-01 11:17:07 +0000
commit791987aff2600e4c8408168c19d3aca90a47250e (patch)
treed2416442d0241687d92be128a32716c552e7fb62
parent8edbea78dcc8fbea0c1fca717ad89316e63ca8b4 (diff)
downloadgdb-791987aff2600e4c8408168c19d3aca90a47250e.zip
gdb-791987aff2600e4c8408168c19d3aca90a47250e.tar.gz
gdb-791987aff2600e4c8408168c19d3aca90a47250e.tar.bz2
(elf_i386_finish_dynamic_symbol): Remove unnecessary check added 2000-08-27.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-i386.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index cf5931f..bbaf987 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2000-09-01 Alan Modra <alan@linuxcare.com.au>
+
+ * elf32-i386.c (elf_i386_finish_dynamic_symbol): Revert 2000-08-27
+ change.
+
Thu Aug 31 22:49:30 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
* elf32-sh.c (sh_elf_merge_private_data): If ibfd's elf header flags
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index bdc27f7..336e889 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -1884,9 +1884,7 @@ elf_i386_finish_dynamic_symbol (output_bfd, info, h, sym)
++srel->reloc_count;
}
- if ((h->elf_link_hash_flags & (ELF_LINK_HASH_NEEDS_COPY
- | ELF_LINK_FORCED_LOCAL))
- == ELF_LINK_HASH_NEEDS_COPY)
+ if ((h->elf_link_hash_flags & ELF_LINK_HASH_NEEDS_COPY) != 0)
{
asection *s;
Elf_Internal_Rel rel;