bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/5900] ELF files with more than 65536 sections not handled corre


From: hjl dot tools at gmail dot com
Subject: [Bug gas/5900] ELF files with more than 65536 sections not handled correctly.
Date: 11 Mar 2008 19:14:56 -0000

------- 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]