This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

copy relocs


My brain wasn't in gear when I made this change.  There's no need to check
ELF_LINK_FORCED_LOCAL here as we only get to this point on a non-shared
link.  Checking the flag doesn't hurt, but unnecessary checks are
confusing.

Alan Modra
-- 
Linuxcare.  Support for the Revolution.


bfd/ChangeLog
	* elf32-i386.c (elf_i386_finish_dynamic_symbol): Revert 2000-08-27
	change.

Index: elf32-i386.c
===================================================================
RCS file: /cvs/src/src/bfd/elf32-i386.c,v
retrieving revision 1.17
diff -u -p -r1.17 elf32-i386.c
--- elf32-i386.c	2000/08/27 08:10:16	1.17
+++ elf32-i386.c	2000/09/01 10:48:40
@@ -1884,9 +1884,7 @@ elf_i386_finish_dynamic_symbol (output_b
       ++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;



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]