------- Additional Comments From hjl dot tools at gmail dot com  2008-03-11 
19:14 -------
I think we can add a st_xshndx field to internal ELF symbol entry:

---
--- ./internal.h.64k    2007-11-28 23:35:52.000000000 -0800
+++ ./internal.h        2008-03-11 12:14:06.000000000 -0700
@@ -100,7 +100,8 @@ struct elf_internal_sym {
   unsigned long        st_name;                /* Symbol name, index in string
tbl */
   unsigned char        st_info;                /* Type and binding attributes 
*/
   unsigned char        st_other;               /* Visibilty, and target 
specific */
-  unsigned int  st_shndx;              /* Associated section index */
+  unsigned short st_shndx;             /* Associated section index */
+  unsigned int  st_xshndx;             /* Extended section index */
 };
 
 typedef struct elf_internal_sym Elf_Internal_Sym;
---

to tell if st_shndx is a special value or not.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5900

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to