diff options
| author | Dan Nicolaescu | 2010-04-21 12:32:54 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-04-21 12:32:54 -0700 |
| commit | 56bae7c7b7947084b7bd71e54b322a73d9f887af (patch) | |
| tree | 2ed4d086fad5d526be34d5a4270bb1baf61eb762 /src/m | |
| parent | 31a01b90454f04d0b1733532bea5d9325e4762ff (diff) | |
| download | emacs-56bae7c7b7947084b7bd71e54b322a73d9f887af.tar.gz emacs-56bae7c7b7947084b7bd71e54b322a73d9f887af.zip | |
Clean up HP-UX files.
* m/hp800.h (NO_REMAP, VIRT_ADDR_VARIES, DATA_SEG_BITS)
(DATA_START, TEXT_START, LOAD_AVE_TYPE, LOAD_AVE_CVT)
(LDAV_SYMBOL, index, rindex): Move definitions only used in HP-UX ...
* s/hpux10-20.h: ... to the only user, here.
Diffstat (limited to 'src/m')
| -rw-r--r-- | src/m/hp800.h | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/src/m/hp800.h b/src/m/hp800.h index d95da6643ab..0712a2c3309 100644 --- a/src/m/hp800.h +++ b/src/m/hp800.h | |||
| @@ -40,58 +40,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 40 | 40 | ||
| 41 | #define EXPLICIT_SIGN_EXTEND | 41 | #define EXPLICIT_SIGN_EXTEND |
| 42 | 42 | ||
| 43 | |||
| 44 | /* Stuff for just HPUX. */ | ||
| 45 | |||
| 46 | #if defined (__hpux) | ||
| 47 | |||
| 48 | /* Define NO_REMAP if memory segmentation makes it not work well | ||
| 49 | to change the boundary between the text section and data section | ||
| 50 | when Emacs is dumped. If you define this, the preloaded Lisp | ||
| 51 | code will not be sharable; but that's better than failing completely. */ | ||
| 52 | |||
| 53 | #define NO_REMAP | ||
| 54 | |||
| 55 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | ||
| 56 | pure and impure space as loaded can vary, and even their | ||
| 57 | relative order cannot be relied on. | ||
| 58 | |||
| 59 | Otherwise Emacs assumes that text space precedes data space, | ||
| 60 | numerically. */ | ||
| 61 | |||
| 62 | #define VIRT_ADDR_VARIES | ||
| 63 | |||
| 64 | /* the data segment on this machine always starts at address 0x40000000. */ | ||
| 65 | |||
| 66 | #define DATA_SEG_BITS 0x40000000 | ||
| 67 | |||
| 68 | #define DATA_START 0x40000000 | ||
| 69 | #define TEXT_START 0x00000000 | ||
| 70 | |||
| 71 | /* Data type of load average, as read out of kmem. */ | ||
| 72 | |||
| 73 | #define LOAD_AVE_TYPE double | ||
| 74 | |||
| 75 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | ||
| 76 | |||
| 77 | #define LOAD_AVE_CVT(x) ((int) (x * 100.0)) | ||
| 78 | |||
| 79 | /* The symbol in the kernel where the load average is found | ||
| 80 | is named _avenrun. At this time there are two major flavors | ||
| 81 | of hp-ux (there is the s800 and s300 (s200) flavors). The | ||
| 82 | differences are thusly moved to the corresponding machine description file. | ||
| 83 | */ | ||
| 84 | |||
| 85 | /* no underscore please */ | ||
| 86 | #define LDAV_SYMBOL "avenrun" | ||
| 87 | |||
| 88 | /* On USG systems these have different names. */ | ||
| 89 | |||
| 90 | #define index strchr | ||
| 91 | #define rindex strrchr | ||
| 92 | |||
| 93 | #endif /* __hpux */ | ||
| 94 | |||
| 95 | /* Systems with GCC don't need to lose. */ | 43 | /* Systems with GCC don't need to lose. */ |
| 96 | #ifdef __NetBSD__ | 44 | #ifdef __NetBSD__ |
| 97 | # ifdef __GNUC__ | 45 | # ifdef __GNUC__ |