expand comment about "global_sym" complaint
authorKen Raeburn <raeburn@cygnus>
Fri, 14 May 1993 09:43:28 +0000 (09:43 +0000)
committerKen Raeburn <raeburn@cygnus>
Fri, 14 May 1993 09:43:28 +0000 (09:43 +0000)
bfd/libelf.h

index e44eacb88be46c5ee32203b45973b7f974471226..ad0da248fd05a7d68e1a1f07d293e97a1d507dd5 100644 (file)
@@ -40,7 +40,11 @@ struct elf_backend_data {
   void (*elf_info_to_howto) PARAMS ((bfd *, arelent *, Elf_Internal_Rela *));
   enum bfd_architecture arch;
 
-  /* WTF?? */
+  /* @@ I really don't think this should be here.  I don't know what
+     global_sym is supposed to be used for, but I doubt it's something
+     that would be considered global, e.g., if you've got a program
+     reading and writing many BFDs.  My hunch is that it's specific to
+     the output BFD.  If not, put a comment here explaining why.  */
   elf_symbol_type *global_sym;
 };