comparison src/m/sparc.h @ 159:3bb7ccffb0c0 r20-3b6

Import from CVS: tag r20-3b6
author cvs
date Mon, 13 Aug 2007 09:41:43 +0200
parents 59463afc5666
children 85a06df23a9a
comparison
equal deleted inserted replaced
158:558dfa75ffb3 159:3bb7ccffb0c0
56 56
57 /* Mask for address bits within a memory segment */ 57 /* Mask for address bits within a memory segment */
58 58
59 #define SEGMENT_MASK (SEGSIZ - 1) 59 #define SEGMENT_MASK (SEGSIZ - 1)
60 60
61 #ifndef __NetBSD__ 61 #if ! defined (__NetBSD__) && ! defined (__linux__)
62 #ifndef __linux__
63 /* This really belongs in s/sun.h. */ 62 /* This really belongs in s/sun.h. */
64 63
65 /* Say that the text segment of a.out includes the header; 64 /* Say that the text segment of a.out includes the header;
66 the header actually occupies the first few bytes of the text segment 65 the header actually occupies the first few bytes of the text segment
67 and is counted in hdr.a_text. */ 66 and is counted in hdr.a_text. */
70 69
71 /* This is the offset of the executable's text, from the start of the file. */ 70 /* This is the offset of the executable's text, from the start of the file. */
72 71
73 #define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr)) 72 #define A_TEXT_SEEK(HDR) (N_TXTOFF (hdr) + sizeof (hdr))
74 73
75 #endif /* __linux__ */ 74 #endif /* not Linux or NetBSD */
76 #endif /* __NetBSD__ */