Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 #ifndef _ASM_X86_A_OUT_H
0003 #define _ASM_X86_A_OUT_H
0004 
0005 struct exec
0006 {
0007     unsigned int a_info;    /* Use macros N_MAGIC, etc for access */
0008     unsigned a_text;    /* length of text, in bytes */
0009     unsigned a_data;    /* length of data, in bytes */
0010     unsigned a_bss;     /* length of uninitialized data area for file, in bytes */
0011     unsigned a_syms;    /* length of symbol table data in file, in bytes */
0012     unsigned a_entry;   /* start address */
0013     unsigned a_trsize;  /* length of relocation info for text, in bytes */
0014     unsigned a_drsize;  /* length of relocation info for data, in bytes */
0015 };
0016 
0017 #define N_TRSIZE(a) ((a).a_trsize)
0018 #define N_DRSIZE(a) ((a).a_drsize)
0019 #define N_SYMSIZE(a)    ((a).a_syms)
0020 
0021 #endif /* _ASM_X86_A_OUT_H */