blob: 220f1433889566f681c738b3c7a9bd3e23f62db5 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef __A_OUT_GNU_H__
2#define __A_OUT_GNU_H__
3
David Howells607ca462012-10-13 10:46:48 +01004#include <uapi/linux/a.out.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -07005
David Howells7fa30312008-02-08 04:19:28 -08006#ifndef __ASSEMBLY__
Linus Torvalds1da177e2005-04-16 15:20:36 -07007#if defined (M_OLDSUN2)
Linus Torvalds1da177e2005-04-16 15:20:36 -07008#else
Linus Torvalds1da177e2005-04-16 15:20:36 -07009#endif
10#if defined (M_68010)
Linus Torvalds1da177e2005-04-16 15:20:36 -070011#else
Linus Torvalds1da177e2005-04-16 15:20:36 -070012#endif
13#if defined (M_68020)
Linus Torvalds1da177e2005-04-16 15:20:36 -070014#else
Linus Torvalds1da177e2005-04-16 15:20:36 -070015#endif
16#if defined (M_SPARC)
Linus Torvalds1da177e2005-04-16 15:20:36 -070017#else
Linus Torvalds1da177e2005-04-16 15:20:36 -070018#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070019#if !defined (N_MAGIC)
Linus Torvalds1da177e2005-04-16 15:20:36 -070020#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070021#if !defined (N_BADMAG)
Linus Torvalds1da177e2005-04-16 15:20:36 -070022#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070023#if !defined (N_TXTOFF)
Linus Torvalds1da177e2005-04-16 15:20:36 -070024#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070025#if !defined (N_DATOFF)
Linus Torvalds1da177e2005-04-16 15:20:36 -070026#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070027#if !defined (N_TRELOFF)
Linus Torvalds1da177e2005-04-16 15:20:36 -070028#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070029#if !defined (N_DRELOFF)
Linus Torvalds1da177e2005-04-16 15:20:36 -070030#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070031#if !defined (N_SYMOFF)
Linus Torvalds1da177e2005-04-16 15:20:36 -070032#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070033#if !defined (N_STROFF)
Linus Torvalds1da177e2005-04-16 15:20:36 -070034#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070035#if !defined (N_TXTADDR)
Linus Torvalds1da177e2005-04-16 15:20:36 -070036#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070037#if defined(vax) || defined(hp300) || defined(pyr)
Linus Torvalds1da177e2005-04-16 15:20:36 -070038#endif
39#ifdef sony
Linus Torvalds1da177e2005-04-16 15:20:36 -070040#endif /* Sony. */
41#ifdef is68k
Linus Torvalds1da177e2005-04-16 15:20:36 -070042#endif
43#if defined(m68k) && defined(PORTAR)
Linus Torvalds1da177e2005-04-16 15:20:36 -070044#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070045#ifdef linux
46#include <asm/page.h>
47#if defined(__i386__) || defined(__mc68000__)
Linus Torvalds1da177e2005-04-16 15:20:36 -070048#else
49#ifndef SEGMENT_SIZE
50#define SEGMENT_SIZE PAGE_SIZE
Kirill A. Shutemoved7b1882008-02-07 00:15:56 -080051#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070052#endif
53#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070054#ifndef N_DATADDR
Linus Torvalds1da177e2005-04-16 15:20:36 -070055#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070056#if !defined (N_BSSADDR)
Linus Torvalds1da177e2005-04-16 15:20:36 -070057#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070058#if !defined (N_NLIST_DECLARED)
Linus Torvalds1da177e2005-04-16 15:20:36 -070059#endif /* no N_NLIST_DECLARED. */
Linus Torvalds1da177e2005-04-16 15:20:36 -070060#if !defined (N_UNDF)
Linus Torvalds1da177e2005-04-16 15:20:36 -070061#endif
62#if !defined (N_ABS)
Linus Torvalds1da177e2005-04-16 15:20:36 -070063#endif
64#if !defined (N_TEXT)
Linus Torvalds1da177e2005-04-16 15:20:36 -070065#endif
66#if !defined (N_DATA)
Linus Torvalds1da177e2005-04-16 15:20:36 -070067#endif
68#if !defined (N_BSS)
Linus Torvalds1da177e2005-04-16 15:20:36 -070069#endif
70#if !defined (N_FN)
Linus Torvalds1da177e2005-04-16 15:20:36 -070071#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070072#if !defined (N_EXT)
Linus Torvalds1da177e2005-04-16 15:20:36 -070073#endif
74#if !defined (N_TYPE)
Linus Torvalds1da177e2005-04-16 15:20:36 -070075#endif
76#if !defined (N_STAB)
Linus Torvalds1da177e2005-04-16 15:20:36 -070077#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070078#if !defined (N_RELOCATION_INFO_DECLARED)
Linus Torvalds1da177e2005-04-16 15:20:36 -070079#ifdef NS32K
Linus Torvalds1da177e2005-04-16 15:20:36 -070080#else
Linus Torvalds1da177e2005-04-16 15:20:36 -070081#endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070082#endif /* no N_RELOCATION_INFO_DECLARED. */
David Howells7fa30312008-02-08 04:19:28 -080083#endif /*__ASSEMBLY__ */
Linus Torvalds1da177e2005-04-16 15:20:36 -070084#endif /* __A_OUT_GNU_H__ */