Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 238712 | Differences between
and this patch

Collapse All | Expand All

(-)emacs-orig/configure.in (+12 lines)
Lines 335-340 Link Here
335
      arm-*-netbsd*)	machine=arm ;;
335
      arm-*-netbsd*)	machine=arm ;;
336
      x86_64-*-netbsd*)	machine=amdx86-64 ;;
336
      x86_64-*-netbsd*)	machine=amdx86-64 ;;
337
      hppa-*-netbsd*)	machine=hp800 ;;
337
      hppa-*-netbsd*)	machine=hp800 ;;
338
      shle-*-netbsd*)	machine=sh3el ;;
338
    esac
339
    esac
339
  ;;
340
  ;;
340
341
Lines 346-351 Link Here
346
      arm-*-openbsd*)          machine=arm ;;
347
      arm-*-openbsd*)          machine=arm ;;
347
      i386-*-openbsd*)         machine=intel386 ;;
348
      i386-*-openbsd*)         machine=intel386 ;;
348
      powerpc-*-openbsd*)      machine=macppc ;;
349
      powerpc-*-openbsd*)      machine=macppc ;;
350
      sh-*-openbsd*)           machine=sh3el ;;
349
      sparc*-*-openbsd*)       machine=sparc ;;
351
      sparc*-*-openbsd*)       machine=sparc ;;
350
      vax-*-openbsd*)          machine=vax ;;
352
      vax-*-openbsd*)          machine=vax ;;
351
      x86_64-*-openbsd*)       machine=amdx86-64 ;;
353
      x86_64-*-openbsd*)       machine=amdx86-64 ;;
Lines 540-545 Link Here
540
    machine=xtensa opsys=gnu-linux
542
    machine=xtensa opsys=gnu-linux
541
    ;;
543
    ;;
542
544
545
  ## SuperH (little endian) Linux-based GNU system
546
  sh[34]-*-linux-gnu* )
547
    machine=sh3el opsys=gnu-linux
548
  ;;
549
550
  ## SuperH (big endian) Linux-based GNU system
551
  sh[34]eb-*-linux-gnu* )
552
    machine=sh3eb opsys=gnu-linux
553
  ;;
554
543
  * )
555
  * )
544
    unported=yes
556
    unported=yes
545
  ;;
557
  ;;
(-)emacs-orig/etc/MACHINES (-1 / +6 lines)
Lines 426-431 Link Here
426
  (now remapped as part of the text).  These are never
426
  (now remapped as part of the text).  These are never
427
  swapped in.
427
  swapped in.
428
428
429
SuperH (sh*-*-linux-gnu, shle-*-netbsd, sh-*-openbsd)
430
431
  Emacs 23.0.60 was reported to work on GNU/Linux (October 2008).
432
433
  Status of SuperH support on NetBSD and OpenBSD is unknown.
434
429
Tadpole 68K (m68k-tadpole-sysv)
435
Tadpole 68K (m68k-tadpole-sysv)
430
436
431
  Changes merged in 19.1.
437
  Changes merged in 19.1.
Lines 575-581 Link Here
575
  PFU A-series (m/pfa50.h)
581
  PFU A-series (m/pfa50.h)
576
  Plexus running System V.2 (m/plexus.h)
582
  Plexus running System V.2 (m/plexus.h)
577
  pyramid. (m/pyramid.h)
583
  pyramid. (m/pyramid.h)
578
  sh3el (m/sh3el.h)
579
  Bull SPS-7 (m/sps7.h)
584
  Bull SPS-7 (m/sps7.h)
580
  Hitachi SR2001/SR2201 (m/sr2k.h)
585
  Hitachi SR2001/SR2201 (m/sr2k.h)
581
  Stride (m/stride.h)
586
  Stride (m/stride.h)
(-)emacs-orig/src/m/sh3eb.h (+7 lines)
Line 0 Link Here
1
/* machine description file for big-endian SuperH. */
2
3
#include "sh3el.h"
4
#define WORDS_BIG_ENDIAN
5
6
/* arch-tag: 86a90028-8f70-11dd-ac16-0012f098dd76
7
   (do not change this comment) */
(-)emacs-orig/src/m/sh3el.h (+92 lines)
Line 0 Link Here
1
/* machine description file for little-endian SuperH.
2
   Copyright (C) 1985, 1986, 2006, 2007, 2008  Free Software Foundation, Inc.
3
4
This file is part of GNU Emacs.
5
6
GNU Emacs is free software: you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation, either version 3 of the License, or
9
(at your option) any later version.
10
11
GNU Emacs is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
18
19
20
/* The following line tells the configuration script what sort of
21
   operating system this machine is likely to run.
22
   USUAL-OPSYS="<name of system .h file here, without the s- or .h>"  */
23
24
/* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
25
   is the most significant byte.  */
26
27
#undef WORDS_BIG_ENDIAN
28
29
/* Define NO_ARG_ARRAY if you cannot take the address of the first of a
30
 * group of arguments and treat it as an array of the arguments.  */
31
32
#define NO_ARG_ARRAY
33
34
/* Now define a symbol for the cpu type, if your compiler
35
   does not define it automatically.  */
36
37
/* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
38
   the 24-bit bit field into an int.  In other words, if bit fields
39
   are always unsigned.
40
41
   This flag only matters if you use USE_LISP_UNION_TYPE.  */
42
43
#define EXPLICIT_SIGN_EXTEND
44
45
/* Data type of load average, as read out of kmem.  */
46
47
#define LOAD_AVE_TYPE long
48
49
/* Convert that into an integer that is 100 for a load average of 1.0  */
50
51
#define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE)
52
53
/* Define CANNOT_DUMP on machines where unexec does not work.
54
   Then the function dump-emacs will not be defined
55
   and temacs will do (load "loadup") automatically unless told otherwise.  */
56
57
#undef CANNOT_DUMP
58
59
/* Define VIRT_ADDR_VARIES if the virtual addresses of
60
   pure and impure space as loaded can vary, and even their
61
   relative order cannot be relied on.
62
63
   Otherwise Emacs assumes that text space precedes data space,
64
   numerically.  */
65
66
#define VIRT_ADDR_VARIES
67
68
/* Define HAVE_ALLOCA to say that the system provides a properly
69
   working alloca function and it should be used.
70
   Undefine it if an assembler-language alloca
71
   in the file alloca.s should be used.  */
72
73
#define HAVE_ALLOCA
74
75
/* Define NO_REMAP if memory segmentation makes it not work well
76
   to change the boundary between the text section and data section
77
   when Emacs is dumped.  If you define this, the preloaded Lisp
78
   code will not be sharable; but that's better than failing completely.  */
79
80
#define NO_REMAP
81
82
/* After adding support for a new system, modify the large case
83
   statement in the `configure' script to recognize reasonable
84
   configuration names, and add a description of the system to
85
   `etc/MACHINES'.
86
87
   If you've just fixed a problem in an existing configuration file,
88
   you should also check `etc/MACHINES' to make sure its descriptions
89
   of known problems in that configuration should be updated.  */
90
91
/* arch-tag: ee325990-6f40-47a2-b9df-60ecf3599899
92
   (do not change this comment) */

Return to bug 238712