1*6f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2af170c50SDavid Howells #ifndef _ASM_X86_A_OUT_H 3af170c50SDavid Howells #define _ASM_X86_A_OUT_H 4af170c50SDavid Howells 5af170c50SDavid Howells struct exec 6af170c50SDavid Howells { 7af170c50SDavid Howells unsigned int a_info; /* Use macros N_MAGIC, etc for access */ 8af170c50SDavid Howells unsigned a_text; /* length of text, in bytes */ 9af170c50SDavid Howells unsigned a_data; /* length of data, in bytes */ 10af170c50SDavid Howells unsigned a_bss; /* length of uninitialized data area for file, in bytes */ 11af170c50SDavid Howells unsigned a_syms; /* length of symbol table data in file, in bytes */ 12af170c50SDavid Howells unsigned a_entry; /* start address */ 13af170c50SDavid Howells unsigned a_trsize; /* length of relocation info for text, in bytes */ 14af170c50SDavid Howells unsigned a_drsize; /* length of relocation info for data, in bytes */ 15af170c50SDavid Howells }; 16af170c50SDavid Howells 17af170c50SDavid Howells #define N_TRSIZE(a) ((a).a_trsize) 18af170c50SDavid Howells #define N_DRSIZE(a) ((a).a_drsize) 19af170c50SDavid Howells #define N_SYMSIZE(a) ((a).a_syms) 20af170c50SDavid Howells 21af170c50SDavid Howells #endif /* _ASM_X86_A_OUT_H */ 22