ia64: module: fix symbolizer crash on fdescr
[sfrench/cifs-2.6.git] / arch / ia64 / include / asm / module.h
index 5a29652e6defcb2885591b00c72086cee28d8372..7271b9c5fc7605b7395010e5b9a4966b23f1d405 100644 (file)
 struct elf64_shdr;                     /* forward declration */
 
 struct mod_arch_specific {
+       /* Used only at module load time. */
        struct elf64_shdr *core_plt;    /* core PLT section */
        struct elf64_shdr *init_plt;    /* init PLT section */
        struct elf64_shdr *got;         /* global offset table */
        struct elf64_shdr *opd;         /* official procedure descriptors */
        struct elf64_shdr *unwind;      /* unwind-table section */
        unsigned long gp;               /* global-pointer for module */
+       unsigned int next_got_entry;    /* index of next available got entry */
 
+       /* Used at module run and cleanup time. */
        void *core_unw_table;           /* core unwind-table cookie returned by unwinder */
        void *init_unw_table;           /* init unwind-table cookie returned by unwinder */
-       unsigned int next_got_entry;    /* index of next available got entry */
+       void *opd_addr;                 /* symbolize uses .opd to get to actual function */
+       unsigned long opd_size;
 };
 
 #define ARCH_SHF_SMALL SHF_IA_64_SHORT