X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Felfcore.h;h=9631dddae3486b337b628ce6f0a2986db2bc6172;hb=7616ee95f27a04fd5a6434e9ef4a82cec4b2807c;hp=0cf0bea010fe2110417f98e83c3cbf60f94f2da5;hpb=d6c8f6aaa1d7f68c1e6471ab0839d9047cdd159f;p=linux-2.6 diff --git a/include/linux/elfcore.h b/include/linux/elfcore.h index 0cf0bea010..9631dddae3 100644 --- a/include/linux/elfcore.h +++ b/include/linux/elfcore.h @@ -60,6 +60,16 @@ struct elf_prstatus long pr_instr; /* Current instruction */ #endif elf_gregset_t pr_reg; /* GP registers */ +#ifdef CONFIG_BINFMT_ELF_FDPIC + /* When using FDPIC, the loadmap addresses need to be communicated + * to GDB in order for GDB to do the necessary relocations. The + * fields (below) used to communicate this information are placed + * immediately after ``pr_reg'', so that the loadmap addresses may + * be viewed as part of the register set if so desired. + */ + unsigned long pr_exec_fdpic_loadmap; + unsigned long pr_interp_fdpic_loadmap; +#endif int pr_fpvalid; /* True if math co-processor being used. */ };