162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
262306a36Sopenharmony_ci#ifndef __M68K_A_OUT_H__
362306a36Sopenharmony_ci#define __M68K_A_OUT_H__
462306a36Sopenharmony_ci
562306a36Sopenharmony_cistruct exec
662306a36Sopenharmony_ci{
762306a36Sopenharmony_ci  unsigned long a_info;		/* Use macros N_MAGIC, etc for access */
862306a36Sopenharmony_ci  unsigned a_text;		/* length of text, in bytes */
962306a36Sopenharmony_ci  unsigned a_data;		/* length of data, in bytes */
1062306a36Sopenharmony_ci  unsigned a_bss;		/* length of uninitialized data area for file, in bytes */
1162306a36Sopenharmony_ci  unsigned a_syms;		/* length of symbol table data in file, in bytes */
1262306a36Sopenharmony_ci  unsigned a_entry;		/* start address */
1362306a36Sopenharmony_ci  unsigned a_trsize;		/* length of relocation info for text, in bytes */
1462306a36Sopenharmony_ci  unsigned a_drsize;		/* length of relocation info for data, in bytes */
1562306a36Sopenharmony_ci};
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ci#define N_TRSIZE(a)	((a).a_trsize)
1862306a36Sopenharmony_ci#define N_DRSIZE(a)	((a).a_drsize)
1962306a36Sopenharmony_ci#define N_SYMSIZE(a)	((a).a_syms)
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci#endif /* __M68K_A_OUT_H__ */
22