emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r99981: Clean up HP-UX files.


From: Dan Nicolaescu
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r99981: Clean up HP-UX files.
Date: Wed, 21 Apr 2010 12:32:54 -0700
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 99981
committer: Dan Nicolaescu <address@hidden>
branch nick: trunk
timestamp: Wed 2010-04-21 12:32:54 -0700
message:
  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.
modified:
  src/ChangeLog
  src/m/hp800.h
  src/s/hpux10-20.h
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2010-04-21 18:25:13 +0000
+++ b/src/ChangeLog     2010-04-21 19:32:54 +0000
@@ -1,3 +1,11 @@
+2010-04-21  Dan Nicolaescu  <address@hidden>
+
+       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.
+
 2010-04-21  Eli Zaretskii  <address@hidden>
 
        * bidi.c (bidi_find_paragraph_start, bidi_at_paragraph_end): Don't

=== modified file 'src/m/hp800.h'
--- a/src/m/hp800.h     2010-04-07 06:11:45 +0000
+++ b/src/m/hp800.h     2010-04-21 19:32:54 +0000
@@ -40,58 +40,6 @@
 
 #define EXPLICIT_SIGN_EXTEND
 
-
-/* Stuff for just HPUX.  */
-
-#if defined (__hpux)
-
-/* Define NO_REMAP if memory segmentation makes it not work well
-   to change the boundary between the text section and data section
-   when Emacs is dumped.  If you define this, the preloaded Lisp
-   code will not be sharable; but that's better than failing completely.  */
-
-#define NO_REMAP
-
-/* Define VIRT_ADDR_VARIES if the virtual addresses of
-   pure and impure space as loaded can vary, and even their
-   relative order cannot be relied on.
-
-   Otherwise Emacs assumes that text space precedes data space,
-   numerically.  */
-
-#define VIRT_ADDR_VARIES
-
-/* the data segment on this machine always starts at address 0x40000000. */
-
-#define DATA_SEG_BITS 0x40000000
-
-#define DATA_START    0x40000000
-#define TEXT_START    0x00000000
-
-/* Data type of load average, as read out of kmem.  */
-
-#define LOAD_AVE_TYPE double
-
-/* Convert that into an integer that is 100 for a load average of 1.0  */
-
-#define LOAD_AVE_CVT(x) ((int) (x * 100.0))
-
-/* The symbol in the kernel where the load average is found
-   is named _avenrun.  At this time there are two major flavors
-   of hp-ux (there is the s800 and s300 (s200) flavors).  The
-   differences are thusly moved to the corresponding machine description file.
-*/
-
-/* no underscore please */
-#define LDAV_SYMBOL "avenrun"
-
-/* On USG systems these have different names. */
-
-#define index strchr
-#define rindex strrchr
-
-#endif /* __hpux */
-
 /* Systems with GCC don't need to lose. */
 #ifdef __NetBSD__
 # ifdef __GNUC__

=== modified file 'src/s/hpux10-20.h'
--- a/src/s/hpux10-20.h 2010-04-21 05:33:24 +0000
+++ b/src/s/hpux10-20.h 2010-04-21 19:32:54 +0000
@@ -168,5 +168,50 @@
 /* otherwise sigunblock wont be defined */
 #define POSIX_SIGNALS
 
+/* Define NO_REMAP if memory segmentation makes it not work well
+   to change the boundary between the text section and data section
+   when Emacs is dumped.  If you define this, the preloaded Lisp
+   code will not be sharable; but that's better than failing completely.  */
+
+#define NO_REMAP
+
+/* Define VIRT_ADDR_VARIES if the virtual addresses of
+   pure and impure space as loaded can vary, and even their
+   relative order cannot be relied on.
+
+   Otherwise Emacs assumes that text space precedes data space,
+   numerically.  */
+
+#define VIRT_ADDR_VARIES
+
+/* the data segment on this machine always starts at address 0x40000000. */
+
+#define DATA_SEG_BITS 0x40000000
+
+#define DATA_START    0x40000000
+#define TEXT_START    0x00000000
+
+/* Data type of load average, as read out of kmem.  */
+
+#define LOAD_AVE_TYPE double
+
+/* Convert that into an integer that is 100 for a load average of 1.0  */
+
+#define LOAD_AVE_CVT(x) ((int) (x * 100.0))
+
+/* The symbol in the kernel where the load average is found
+   is named _avenrun.  At this time there are two major flavors
+   of hp-ux (there is the s800 and s300 (s200) flavors).  The
+   differences are thusly moved to the corresponding machine description file.
+*/
+
+/* no underscore please */
+#define LDAV_SYMBOL "avenrun"
+
+/* On USG systems these have different names. */
+
+#define index strchr
+#define rindex strrchr
+
 /* arch-tag: 8d8dcbf1-ca9b-48a1-94be-b750de18a5c6
    (do not change this comment) */


reply via email to

[Prev in Thread] Current Thread [Next in Thread]