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]

ELF st_other


Hi,
  I'm about to commit this.  I was poking around here toying with the idea
of using a bit in st_other during final link to flag local syms that have
dynamic relocs against them.  The idea is to save a hash lookup on all
relocs against local syms.  See bfd/elf-hppa.h:elf_hppa_relocate_section. 
Comments?

Regards, Alan Modra
-- 
Linuxcare.  Support for the Revolution.


include/elf/ChangeLog
	* internal.h (struct elf_internal_sym): Update comment for st_other.

Index: internal.h
===================================================================
RCS file: /cvs/src/src/include/elf/internal.h,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 internal.h
--- internal.h	1999/05/03 07:29:03	1.1.1.1
+++ internal.h	2000/07/12 10:51:48
@@ -112,7 +112,7 @@ struct elf_internal_sym {
   bfd_vma	st_size;		/* Associated symbol size */
   unsigned long	st_name;		/* Symbol name, index in string tbl */
   unsigned char	st_info;		/* Type and binding attributes */
-  unsigned char	st_other;		/* No defined meaning, 0 */
+  unsigned char	st_other;		/* Visibilty, and target specific */
   unsigned short st_shndx;		/* Associated section index */
 };
 


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