xref: /openbmc/linux/arch/m68k/include/uapi/asm/a.out.h (revision 6f52b16c)
16f52b16cSGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
210b3a979SDavid Howells #ifndef __M68K_A_OUT_H__
310b3a979SDavid Howells #define __M68K_A_OUT_H__
410b3a979SDavid Howells 
510b3a979SDavid Howells struct exec
610b3a979SDavid Howells {
710b3a979SDavid Howells   unsigned long a_info;		/* Use macros N_MAGIC, etc for access */
810b3a979SDavid Howells   unsigned a_text;		/* length of text, in bytes */
910b3a979SDavid Howells   unsigned a_data;		/* length of data, in bytes */
1010b3a979SDavid Howells   unsigned a_bss;		/* length of uninitialized data area for file, in bytes */
1110b3a979SDavid Howells   unsigned a_syms;		/* length of symbol table data in file, in bytes */
1210b3a979SDavid Howells   unsigned a_entry;		/* start address */
1310b3a979SDavid Howells   unsigned a_trsize;		/* length of relocation info for text, in bytes */
1410b3a979SDavid Howells   unsigned a_drsize;		/* length of relocation info for data, in bytes */
1510b3a979SDavid Howells };
1610b3a979SDavid Howells 
1710b3a979SDavid Howells #define N_TRSIZE(a)	((a).a_trsize)
1810b3a979SDavid Howells #define N_DRSIZE(a)	((a).a_drsize)
1910b3a979SDavid Howells #define N_SYMSIZE(a)	((a).a_syms)
2010b3a979SDavid Howells 
2110b3a979SDavid Howells #endif /* __M68K_A_OUT_H__ */
22