This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
ELF st_other
- To: binutils at sourceware dot cygnus dot com
- Subject: ELF st_other
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Wed, 12 Jul 2000 21:53:34 +1000 (EST)
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 */
};