ELF st_other
Alan Modra
alan@linuxcare.com.au
Wed Jul 12 04:53:00 GMT 2000
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 */
};
More information about the Binutils
mailing list