diff options
| author | Dan Nicolaescu | 2010-04-25 15:16:58 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-04-25 15:16:58 -0700 |
| commit | 39e2ad1b9fef5b0437ed18c77bd703003a2b8e54 (patch) | |
| tree | de4ba811bfa01e91b4ac0fbc1edbeadac226bd02 | |
| parent | 6bdf5d652360b79c8ee6194e8dd1b23ef4721a53 (diff) | |
| download | emacs-39e2ad1b9fef5b0437ed18c77bd703003a2b8e54.tar.gz emacs-39e2ad1b9fef5b0437ed18c77bd703003a2b8e54.zip | |
Remove all NO_ARG_ARRAY uses.
* fns.c (concat2, concat3, nconc2):
* eval.c (apply1, call1, call2, call3, call4, call5, call6)
(call7): Remove NO_ARG_ARRAY usage, assume it's always true.
* m/xtensa.h (NO_ARG_ARRAY):
* m/template.h (NO_ARG_ARRAY):
* m/sparc.h (NO_ARG_ARRAY):
* m/sh3.h (NO_ARG_ARRAY):
* m/mips.h (NO_ARG_ARRAY):
* m/macppc.h (NO_ARG_ARRAY):
* m/iris4d.h (NO_ARG_ARRAY):
* m/intel386.h (NO_ARG_ARRAY):
* m/ibms390x.h (NO_ARG_ARRAY):
* m/ibms390.h (NO_ARG_ARRAY):
* m/ibmrs6000.h (NO_ARG_ARRAY):
* m/ia64.h (NO_ARG_ARRAY):
* m/hp800.h (NO_ARG_ARRAY):
* m/arm.h (NO_ARG_ARRAY):
* m/amdx86-64.h (NO_ARG_ARRAY):
* m/alpha.h (NO_ARG_ARRAY): Remove definition.
| -rw-r--r-- | src/ChangeLog | 23 | ||||
| -rw-r--r-- | src/eval.c | 46 | ||||
| -rw-r--r-- | src/fns.c | 12 | ||||
| -rw-r--r-- | src/m/alpha.h | 5 | ||||
| -rw-r--r-- | src/m/amdx86-64.h | 5 | ||||
| -rw-r--r-- | src/m/arm.h | 10 | ||||
| -rw-r--r-- | src/m/hp800.h | 5 | ||||
| -rw-r--r-- | src/m/ia64.h | 5 | ||||
| -rw-r--r-- | src/m/ibmrs6000.h | 5 | ||||
| -rw-r--r-- | src/m/ibms390.h | 5 | ||||
| -rw-r--r-- | src/m/ibms390x.h | 5 | ||||
| -rw-r--r-- | src/m/intel386.h | 6 | ||||
| -rw-r--r-- | src/m/iris4d.h | 5 | ||||
| -rw-r--r-- | src/m/macppc.h | 5 | ||||
| -rw-r--r-- | src/m/mips.h | 5 | ||||
| -rw-r--r-- | src/m/sh3.h | 2 | ||||
| -rw-r--r-- | src/m/sparc.h | 5 | ||||
| -rw-r--r-- | src/m/template.h | 5 | ||||
| -rw-r--r-- | src/m/xtensa.h | 2 |
19 files changed, 23 insertions, 138 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e7ed7c36f78..60b543765ad 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,26 @@ | |||
| 1 | 2010-04-25 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | Remove all NO_ARG_ARRAY uses. | ||
| 4 | * fns.c (concat2, concat3, nconc2): | ||
| 5 | * eval.c (apply1, call1, call2, call3, call4, call5, call6) | ||
| 6 | (call7): Remove NO_ARG_ARRAY usage, assume it's always true. | ||
| 7 | * m/xtensa.h (NO_ARG_ARRAY): | ||
| 8 | * m/template.h (NO_ARG_ARRAY): | ||
| 9 | * m/sparc.h (NO_ARG_ARRAY): | ||
| 10 | * m/sh3.h (NO_ARG_ARRAY): | ||
| 11 | * m/mips.h (NO_ARG_ARRAY): | ||
| 12 | * m/macppc.h (NO_ARG_ARRAY): | ||
| 13 | * m/iris4d.h (NO_ARG_ARRAY): | ||
| 14 | * m/intel386.h (NO_ARG_ARRAY): | ||
| 15 | * m/ibms390x.h (NO_ARG_ARRAY): | ||
| 16 | * m/ibms390.h (NO_ARG_ARRAY): | ||
| 17 | * m/ibmrs6000.h (NO_ARG_ARRAY): | ||
| 18 | * m/ia64.h (NO_ARG_ARRAY): | ||
| 19 | * m/hp800.h (NO_ARG_ARRAY): | ||
| 20 | * m/arm.h (NO_ARG_ARRAY): | ||
| 21 | * m/amdx86-64.h (NO_ARG_ARRAY): | ||
| 22 | * m/alpha.h (NO_ARG_ARRAY): Remove definition. | ||
| 23 | |||
| 1 | 2010-04-25 Eli Zaretskii <eliz@gnu.org> | 24 | 2010-04-25 Eli Zaretskii <eliz@gnu.org> |
| 2 | 25 | ||
| 3 | * xdisp.c (display_line): Don't assume 2nd call to | 26 | * xdisp.c (display_line): Don't assume 2nd call to |
diff --git a/src/eval.c b/src/eval.c index 501ffd452cb..184455f7e7d 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -2786,7 +2786,6 @@ apply1 (fn, arg) | |||
| 2786 | if (NILP (arg)) | 2786 | if (NILP (arg)) |
| 2787 | RETURN_UNGCPRO (Ffuncall (1, &fn)); | 2787 | RETURN_UNGCPRO (Ffuncall (1, &fn)); |
| 2788 | gcpro1.nvars = 2; | 2788 | gcpro1.nvars = 2; |
| 2789 | #ifdef NO_ARG_ARRAY | ||
| 2790 | { | 2789 | { |
| 2791 | Lisp_Object args[2]; | 2790 | Lisp_Object args[2]; |
| 2792 | args[0] = fn; | 2791 | args[0] = fn; |
| @@ -2794,9 +2793,6 @@ apply1 (fn, arg) | |||
| 2794 | gcpro1.var = args; | 2793 | gcpro1.var = args; |
| 2795 | RETURN_UNGCPRO (Fapply (2, args)); | 2794 | RETURN_UNGCPRO (Fapply (2, args)); |
| 2796 | } | 2795 | } |
| 2797 | #else /* not NO_ARG_ARRAY */ | ||
| 2798 | RETURN_UNGCPRO (Fapply (2, &fn)); | ||
| 2799 | #endif /* not NO_ARG_ARRAY */ | ||
| 2800 | } | 2796 | } |
| 2801 | 2797 | ||
| 2802 | /* Call function fn on no arguments */ | 2798 | /* Call function fn on no arguments */ |
| @@ -2817,7 +2813,6 @@ call1 (fn, arg1) | |||
| 2817 | Lisp_Object fn, arg1; | 2813 | Lisp_Object fn, arg1; |
| 2818 | { | 2814 | { |
| 2819 | struct gcpro gcpro1; | 2815 | struct gcpro gcpro1; |
| 2820 | #ifdef NO_ARG_ARRAY | ||
| 2821 | Lisp_Object args[2]; | 2816 | Lisp_Object args[2]; |
| 2822 | 2817 | ||
| 2823 | args[0] = fn; | 2818 | args[0] = fn; |
| @@ -2825,11 +2820,6 @@ call1 (fn, arg1) | |||
| 2825 | GCPRO1 (args[0]); | 2820 | GCPRO1 (args[0]); |
| 2826 | gcpro1.nvars = 2; | 2821 | gcpro1.nvars = 2; |
| 2827 | RETURN_UNGCPRO (Ffuncall (2, args)); | 2822 | RETURN_UNGCPRO (Ffuncall (2, args)); |
| 2828 | #else /* not NO_ARG_ARRAY */ | ||
| 2829 | GCPRO1 (fn); | ||
| 2830 | gcpro1.nvars = 2; | ||
| 2831 | RETURN_UNGCPRO (Ffuncall (2, &fn)); | ||
| 2832 | #endif /* not NO_ARG_ARRAY */ | ||
| 2833 | } | 2823 | } |
| 2834 | 2824 | ||
| 2835 | /* Call function fn with 2 arguments arg1, arg2 */ | 2825 | /* Call function fn with 2 arguments arg1, arg2 */ |
| @@ -2839,7 +2829,6 @@ call2 (fn, arg1, arg2) | |||
| 2839 | Lisp_Object fn, arg1, arg2; | 2829 | Lisp_Object fn, arg1, arg2; |
| 2840 | { | 2830 | { |
| 2841 | struct gcpro gcpro1; | 2831 | struct gcpro gcpro1; |
| 2842 | #ifdef NO_ARG_ARRAY | ||
| 2843 | Lisp_Object args[3]; | 2832 | Lisp_Object args[3]; |
| 2844 | args[0] = fn; | 2833 | args[0] = fn; |
| 2845 | args[1] = arg1; | 2834 | args[1] = arg1; |
| @@ -2847,11 +2836,6 @@ call2 (fn, arg1, arg2) | |||
| 2847 | GCPRO1 (args[0]); | 2836 | GCPRO1 (args[0]); |
| 2848 | gcpro1.nvars = 3; | 2837 | gcpro1.nvars = 3; |
| 2849 | RETURN_UNGCPRO (Ffuncall (3, args)); | 2838 | RETURN_UNGCPRO (Ffuncall (3, args)); |
| 2850 | #else /* not NO_ARG_ARRAY */ | ||
| 2851 | GCPRO1 (fn); | ||
| 2852 | gcpro1.nvars = 3; | ||
| 2853 | RETURN_UNGCPRO (Ffuncall (3, &fn)); | ||
| 2854 | #endif /* not NO_ARG_ARRAY */ | ||
| 2855 | } | 2839 | } |
| 2856 | 2840 | ||
| 2857 | /* Call function fn with 3 arguments arg1, arg2, arg3 */ | 2841 | /* Call function fn with 3 arguments arg1, arg2, arg3 */ |
| @@ -2861,7 +2845,6 @@ call3 (fn, arg1, arg2, arg3) | |||
| 2861 | Lisp_Object fn, arg1, arg2, arg3; | 2845 | Lisp_Object fn, arg1, arg2, arg3; |
| 2862 | { | 2846 | { |
| 2863 | struct gcpro gcpro1; | 2847 | struct gcpro gcpro1; |
| 2864 | #ifdef NO_ARG_ARRAY | ||
| 2865 | Lisp_Object args[4]; | 2848 | Lisp_Object args[4]; |
| 2866 | args[0] = fn; | 2849 | args[0] = fn; |
| 2867 | args[1] = arg1; | 2850 | args[1] = arg1; |
| @@ -2870,11 +2853,6 @@ call3 (fn, arg1, arg2, arg3) | |||
| 2870 | GCPRO1 (args[0]); | 2853 | GCPRO1 (args[0]); |
| 2871 | gcpro1.nvars = 4; | 2854 | gcpro1.nvars = 4; |
| 2872 | RETURN_UNGCPRO (Ffuncall (4, args)); | 2855 | RETURN_UNGCPRO (Ffuncall (4, args)); |
| 2873 | #else /* not NO_ARG_ARRAY */ | ||
| 2874 | GCPRO1 (fn); | ||
| 2875 | gcpro1.nvars = 4; | ||
| 2876 | RETURN_UNGCPRO (Ffuncall (4, &fn)); | ||
| 2877 | #endif /* not NO_ARG_ARRAY */ | ||
| 2878 | } | 2856 | } |
| 2879 | 2857 | ||
| 2880 | /* Call function fn with 4 arguments arg1, arg2, arg3, arg4 */ | 2858 | /* Call function fn with 4 arguments arg1, arg2, arg3, arg4 */ |
| @@ -2884,7 +2862,6 @@ call4 (fn, arg1, arg2, arg3, arg4) | |||
| 2884 | Lisp_Object fn, arg1, arg2, arg3, arg4; | 2862 | Lisp_Object fn, arg1, arg2, arg3, arg4; |
| 2885 | { | 2863 | { |
| 2886 | struct gcpro gcpro1; | 2864 | struct gcpro gcpro1; |
| 2887 | #ifdef NO_ARG_ARRAY | ||
| 2888 | Lisp_Object args[5]; | 2865 | Lisp_Object args[5]; |
| 2889 | args[0] = fn; | 2866 | args[0] = fn; |
| 2890 | args[1] = arg1; | 2867 | args[1] = arg1; |
| @@ -2894,11 +2871,6 @@ call4 (fn, arg1, arg2, arg3, arg4) | |||
| 2894 | GCPRO1 (args[0]); | 2871 | GCPRO1 (args[0]); |
| 2895 | gcpro1.nvars = 5; | 2872 | gcpro1.nvars = 5; |
| 2896 | RETURN_UNGCPRO (Ffuncall (5, args)); | 2873 | RETURN_UNGCPRO (Ffuncall (5, args)); |
| 2897 | #else /* not NO_ARG_ARRAY */ | ||
| 2898 | GCPRO1 (fn); | ||
| 2899 | gcpro1.nvars = 5; | ||
| 2900 | RETURN_UNGCPRO (Ffuncall (5, &fn)); | ||
| 2901 | #endif /* not NO_ARG_ARRAY */ | ||
| 2902 | } | 2874 | } |
| 2903 | 2875 | ||
| 2904 | /* Call function fn with 5 arguments arg1, arg2, arg3, arg4, arg5 */ | 2876 | /* Call function fn with 5 arguments arg1, arg2, arg3, arg4, arg5 */ |
| @@ -2908,7 +2880,6 @@ call5 (fn, arg1, arg2, arg3, arg4, arg5) | |||
| 2908 | Lisp_Object fn, arg1, arg2, arg3, arg4, arg5; | 2880 | Lisp_Object fn, arg1, arg2, arg3, arg4, arg5; |
| 2909 | { | 2881 | { |
| 2910 | struct gcpro gcpro1; | 2882 | struct gcpro gcpro1; |
| 2911 | #ifdef NO_ARG_ARRAY | ||
| 2912 | Lisp_Object args[6]; | 2883 | Lisp_Object args[6]; |
| 2913 | args[0] = fn; | 2884 | args[0] = fn; |
| 2914 | args[1] = arg1; | 2885 | args[1] = arg1; |
| @@ -2919,11 +2890,6 @@ call5 (fn, arg1, arg2, arg3, arg4, arg5) | |||
| 2919 | GCPRO1 (args[0]); | 2890 | GCPRO1 (args[0]); |
| 2920 | gcpro1.nvars = 6; | 2891 | gcpro1.nvars = 6; |
| 2921 | RETURN_UNGCPRO (Ffuncall (6, args)); | 2892 | RETURN_UNGCPRO (Ffuncall (6, args)); |
| 2922 | #else /* not NO_ARG_ARRAY */ | ||
| 2923 | GCPRO1 (fn); | ||
| 2924 | gcpro1.nvars = 6; | ||
| 2925 | RETURN_UNGCPRO (Ffuncall (6, &fn)); | ||
| 2926 | #endif /* not NO_ARG_ARRAY */ | ||
| 2927 | } | 2893 | } |
| 2928 | 2894 | ||
| 2929 | /* Call function fn with 6 arguments arg1, arg2, arg3, arg4, arg5, arg6 */ | 2895 | /* Call function fn with 6 arguments arg1, arg2, arg3, arg4, arg5, arg6 */ |
| @@ -2933,7 +2899,6 @@ call6 (fn, arg1, arg2, arg3, arg4, arg5, arg6) | |||
| 2933 | Lisp_Object fn, arg1, arg2, arg3, arg4, arg5, arg6; | 2899 | Lisp_Object fn, arg1, arg2, arg3, arg4, arg5, arg6; |
| 2934 | { | 2900 | { |
| 2935 | struct gcpro gcpro1; | 2901 | struct gcpro gcpro1; |
| 2936 | #ifdef NO_ARG_ARRAY | ||
| 2937 | Lisp_Object args[7]; | 2902 | Lisp_Object args[7]; |
| 2938 | args[0] = fn; | 2903 | args[0] = fn; |
| 2939 | args[1] = arg1; | 2904 | args[1] = arg1; |
| @@ -2945,11 +2910,6 @@ call6 (fn, arg1, arg2, arg3, arg4, arg5, arg6) | |||
| 2945 | GCPRO1 (args[0]); | 2910 | GCPRO1 (args[0]); |
| 2946 | gcpro1.nvars = 7; | 2911 | gcpro1.nvars = 7; |
| 2947 | RETURN_UNGCPRO (Ffuncall (7, args)); | 2912 | RETURN_UNGCPRO (Ffuncall (7, args)); |
| 2948 | #else /* not NO_ARG_ARRAY */ | ||
| 2949 | GCPRO1 (fn); | ||
| 2950 | gcpro1.nvars = 7; | ||
| 2951 | RETURN_UNGCPRO (Ffuncall (7, &fn)); | ||
| 2952 | #endif /* not NO_ARG_ARRAY */ | ||
| 2953 | } | 2913 | } |
| 2954 | 2914 | ||
| 2955 | /* Call function fn with 7 arguments arg1, arg2, arg3, arg4, arg5, arg6, arg7 */ | 2915 | /* Call function fn with 7 arguments arg1, arg2, arg3, arg4, arg5, arg6, arg7 */ |
| @@ -2959,7 +2919,6 @@ call7 (fn, arg1, arg2, arg3, arg4, arg5, arg6, arg7) | |||
| 2959 | Lisp_Object fn, arg1, arg2, arg3, arg4, arg5, arg6, arg7; | 2919 | Lisp_Object fn, arg1, arg2, arg3, arg4, arg5, arg6, arg7; |
| 2960 | { | 2920 | { |
| 2961 | struct gcpro gcpro1; | 2921 | struct gcpro gcpro1; |
| 2962 | #ifdef NO_ARG_ARRAY | ||
| 2963 | Lisp_Object args[8]; | 2922 | Lisp_Object args[8]; |
| 2964 | args[0] = fn; | 2923 | args[0] = fn; |
| 2965 | args[1] = arg1; | 2924 | args[1] = arg1; |
| @@ -2972,11 +2931,6 @@ call7 (fn, arg1, arg2, arg3, arg4, arg5, arg6, arg7) | |||
| 2972 | GCPRO1 (args[0]); | 2931 | GCPRO1 (args[0]); |
| 2973 | gcpro1.nvars = 8; | 2932 | gcpro1.nvars = 8; |
| 2974 | RETURN_UNGCPRO (Ffuncall (8, args)); | 2933 | RETURN_UNGCPRO (Ffuncall (8, args)); |
| 2975 | #else /* not NO_ARG_ARRAY */ | ||
| 2976 | GCPRO1 (fn); | ||
| 2977 | gcpro1.nvars = 8; | ||
| 2978 | RETURN_UNGCPRO (Ffuncall (8, &fn)); | ||
| 2979 | #endif /* not NO_ARG_ARRAY */ | ||
| 2980 | } | 2934 | } |
| 2981 | 2935 | ||
| 2982 | /* The caller should GCPRO all the elements of ARGS. */ | 2936 | /* The caller should GCPRO all the elements of ARGS. */ |
| @@ -392,14 +392,10 @@ Lisp_Object | |||
| 392 | concat2 (s1, s2) | 392 | concat2 (s1, s2) |
| 393 | Lisp_Object s1, s2; | 393 | Lisp_Object s1, s2; |
| 394 | { | 394 | { |
| 395 | #ifdef NO_ARG_ARRAY | ||
| 396 | Lisp_Object args[2]; | 395 | Lisp_Object args[2]; |
| 397 | args[0] = s1; | 396 | args[0] = s1; |
| 398 | args[1] = s2; | 397 | args[1] = s2; |
| 399 | return concat (2, args, Lisp_String, 0); | 398 | return concat (2, args, Lisp_String, 0); |
| 400 | #else | ||
| 401 | return concat (2, &s1, Lisp_String, 0); | ||
| 402 | #endif /* NO_ARG_ARRAY */ | ||
| 403 | } | 399 | } |
| 404 | 400 | ||
| 405 | /* ARGSUSED */ | 401 | /* ARGSUSED */ |
| @@ -407,15 +403,11 @@ Lisp_Object | |||
| 407 | concat3 (s1, s2, s3) | 403 | concat3 (s1, s2, s3) |
| 408 | Lisp_Object s1, s2, s3; | 404 | Lisp_Object s1, s2, s3; |
| 409 | { | 405 | { |
| 410 | #ifdef NO_ARG_ARRAY | ||
| 411 | Lisp_Object args[3]; | 406 | Lisp_Object args[3]; |
| 412 | args[0] = s1; | 407 | args[0] = s1; |
| 413 | args[1] = s2; | 408 | args[1] = s2; |
| 414 | args[2] = s3; | 409 | args[2] = s3; |
| 415 | return concat (3, args, Lisp_String, 0); | 410 | return concat (3, args, Lisp_String, 0); |
| 416 | #else | ||
| 417 | return concat (3, &s1, Lisp_String, 0); | ||
| 418 | #endif /* NO_ARG_ARRAY */ | ||
| 419 | } | 411 | } |
| 420 | 412 | ||
| 421 | DEFUN ("append", Fappend, Sappend, 0, MANY, 0, | 413 | DEFUN ("append", Fappend, Sappend, 0, MANY, 0, |
| @@ -2344,14 +2336,10 @@ Lisp_Object | |||
| 2344 | nconc2 (s1, s2) | 2336 | nconc2 (s1, s2) |
| 2345 | Lisp_Object s1, s2; | 2337 | Lisp_Object s1, s2; |
| 2346 | { | 2338 | { |
| 2347 | #ifdef NO_ARG_ARRAY | ||
| 2348 | Lisp_Object args[2]; | 2339 | Lisp_Object args[2]; |
| 2349 | args[0] = s1; | 2340 | args[0] = s1; |
| 2350 | args[1] = s2; | 2341 | args[1] = s2; |
| 2351 | return Fnconc (2, args); | 2342 | return Fnconc (2, args); |
| 2352 | #else | ||
| 2353 | return Fnconc (2, &s1); | ||
| 2354 | #endif /* NO_ARG_ARRAY */ | ||
| 2355 | } | 2343 | } |
| 2356 | 2344 | ||
| 2357 | DEFUN ("nconc", Fnconc, Snconc, 0, MANY, 0, | 2345 | DEFUN ("nconc", Fnconc, Snconc, 0, MANY, 0, |
diff --git a/src/m/alpha.h b/src/m/alpha.h index 065a0dd7d71..80f9d6c02fe 100644 --- a/src/m/alpha.h +++ b/src/m/alpha.h | |||
| @@ -41,11 +41,6 @@ NOTE-END | |||
| 41 | 41 | ||
| 42 | #undef WORDS_BIG_ENDIAN | 42 | #undef WORDS_BIG_ENDIAN |
| 43 | 43 | ||
| 44 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 45 | * group of arguments and treat it as an array of the arguments. */ | ||
| 46 | |||
| 47 | #define NO_ARG_ARRAY | ||
| 48 | |||
| 49 | /* Now define a symbol for the cpu type, if your compiler | 44 | /* Now define a symbol for the cpu type, if your compiler |
| 50 | does not define it automatically. */ | 45 | does not define it automatically. */ |
| 51 | 46 | ||
diff --git a/src/m/amdx86-64.h b/src/m/amdx86-64.h index 0fe99af4f55..6d27c950ce4 100644 --- a/src/m/amdx86-64.h +++ b/src/m/amdx86-64.h | |||
| @@ -38,11 +38,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 38 | 38 | ||
| 39 | #undef WORDS_BIG_ENDIAN | 39 | #undef WORDS_BIG_ENDIAN |
| 40 | 40 | ||
| 41 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 42 | * group of arguments and treat it as an array of the arguments. */ | ||
| 43 | |||
| 44 | #define NO_ARG_ARRAY | ||
| 45 | |||
| 46 | /* Now define a symbol for the cpu type, if your compiler | 41 | /* Now define a symbol for the cpu type, if your compiler |
| 47 | does not define it automatically: | 42 | does not define it automatically: |
| 48 | Ones defined so far include vax, m68000, ns16000, pyramid, | 43 | Ones defined so far include vax, m68000, ns16000, pyramid, |
diff --git a/src/m/arm.h b/src/m/arm.h index b04c5ecc1d9..441c3bd6289 100644 --- a/src/m/arm.h +++ b/src/m/arm.h | |||
| @@ -24,16 +24,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 24 | 24 | ||
| 25 | #undef WORDS_BIG_ENDIAN | 25 | #undef WORDS_BIG_ENDIAN |
| 26 | 26 | ||
| 27 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 28 | * group of arguments and treat it as an array of the arguments. We can't | ||
| 29 | * do this on the arm with gcc, since the first 4 args are in registers. */ | ||
| 30 | |||
| 31 | #ifdef __GNUC__ | ||
| 32 | #define NO_ARG_ARRAY | ||
| 33 | #else | ||
| 34 | #undef NO_ARG_ARRAY | ||
| 35 | #endif | ||
| 36 | |||
| 37 | #define NO_REMAP | 27 | #define NO_REMAP |
| 38 | 28 | ||
| 39 | /* armin76@gentoo.org reported that the lgcc_s flag is necessary to | 29 | /* armin76@gentoo.org reported that the lgcc_s flag is necessary to |
diff --git a/src/m/hp800.h b/src/m/hp800.h index 0712a2c3309..7b6ebafeaa5 100644 --- a/src/m/hp800.h +++ b/src/m/hp800.h | |||
| @@ -27,11 +27,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 27 | 27 | ||
| 28 | #define WORDS_BIG_ENDIAN | 28 | #define WORDS_BIG_ENDIAN |
| 29 | 29 | ||
| 30 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 31 | * group of arguments and treat it as an array of the arguments. */ | ||
| 32 | |||
| 33 | #define NO_ARG_ARRAY | ||
| 34 | |||
| 35 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | 30 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend |
| 36 | the bit field into an int. In other words, if bit fields | 31 | the bit field into an int. In other words, if bit fields |
| 37 | are always unsigned. | 32 | are always unsigned. |
diff --git a/src/m/ia64.h b/src/m/ia64.h index 188697b7e89..85e0f825202 100644 --- a/src/m/ia64.h +++ b/src/m/ia64.h | |||
| @@ -26,11 +26,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 26 | 26 | ||
| 27 | #undef WORDS_BIG_ENDIAN | 27 | #undef WORDS_BIG_ENDIAN |
| 28 | 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 | 29 | /* Now define a symbol for the cpu type, if your compiler |
| 35 | does not define it automatically. */ | 30 | does not define it automatically. */ |
| 36 | 31 | ||
diff --git a/src/m/ibmrs6000.h b/src/m/ibmrs6000.h index a7d35cc8ab7..a62cb5d1987 100644 --- a/src/m/ibmrs6000.h +++ b/src/m/ibmrs6000.h | |||
| @@ -22,11 +22,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 22 | operating system this machine is likely to run. | 22 | operating system this machine is likely to run. |
| 23 | USUAL-OPSYS="aix3-1" */ | 23 | USUAL-OPSYS="aix3-1" */ |
| 24 | 24 | ||
| 25 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 26 | * group of arguments and treat it as an array of the arguments. */ | ||
| 27 | |||
| 28 | #define NO_ARG_ARRAY | ||
| 29 | |||
| 30 | /* Now define a symbol for the cpu type, if your compiler | 25 | /* Now define a symbol for the cpu type, if your compiler |
| 31 | does not define it automatically. */ | 26 | does not define it automatically. */ |
| 32 | 27 | ||
diff --git a/src/m/ibms390.h b/src/m/ibms390.h index 794ab869511..efcd58daba3 100644 --- a/src/m/ibms390.h +++ b/src/m/ibms390.h | |||
| @@ -27,11 +27,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 27 | 27 | ||
| 28 | #define WORDS_BIG_ENDIAN | 28 | #define WORDS_BIG_ENDIAN |
| 29 | 29 | ||
| 30 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 31 | * group of arguments and treat it as an array of the arguments. */ | ||
| 32 | |||
| 33 | #define NO_ARG_ARRAY | ||
| 34 | |||
| 35 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | 30 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend |
| 36 | the 24-bit bit field into an int. In other words, if bit fields | 31 | the 24-bit bit field into an int. In other words, if bit fields |
| 37 | are always unsigned. | 32 | are always unsigned. |
diff --git a/src/m/ibms390x.h b/src/m/ibms390x.h index ea0fa11ec3f..3026266b349 100644 --- a/src/m/ibms390x.h +++ b/src/m/ibms390x.h | |||
| @@ -40,11 +40,6 @@ NOTE-END */ | |||
| 40 | 40 | ||
| 41 | #define WORDS_BIG_ENDIAN | 41 | #define WORDS_BIG_ENDIAN |
| 42 | 42 | ||
| 43 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 44 | * group of arguments and treat it as an array of the arguments. */ | ||
| 45 | |||
| 46 | #define NO_ARG_ARRAY | ||
| 47 | |||
| 48 | /* Define the type to use. */ | 43 | /* Define the type to use. */ |
| 49 | #define EMACS_INT long | 44 | #define EMACS_INT long |
| 50 | #define EMACS_UINT unsigned long | 45 | #define EMACS_UINT unsigned long |
diff --git a/src/m/intel386.h b/src/m/intel386.h index 1bf3462d2ad..e2e22c3a538 100644 --- a/src/m/intel386.h +++ b/src/m/intel386.h | |||
| @@ -39,11 +39,6 @@ NOTE-END */ | |||
| 39 | 39 | ||
| 40 | #undef WORDS_BIG_ENDIAN | 40 | #undef WORDS_BIG_ENDIAN |
| 41 | 41 | ||
| 42 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 43 | * group of arguments and treat it as an array of the arguments. */ | ||
| 44 | |||
| 45 | /* #define NO_ARG_ARRAY */ | ||
| 46 | |||
| 47 | #ifdef USG | 42 | #ifdef USG |
| 48 | #define TEXT_START 0 | 43 | #define TEXT_START 0 |
| 49 | #endif /* USG */ | 44 | #endif /* USG */ |
| @@ -51,7 +46,6 @@ NOTE-END */ | |||
| 51 | #ifdef WINDOWSNT | 46 | #ifdef WINDOWSNT |
| 52 | #define VIRT_ADDR_VARIES | 47 | #define VIRT_ADDR_VARIES |
| 53 | #define DATA_START get_data_start () | 48 | #define DATA_START get_data_start () |
| 54 | #define NO_ARG_ARRAY | ||
| 55 | #endif | 49 | #endif |
| 56 | 50 | ||
| 57 | #ifdef GNU_LINUX | 51 | #ifdef GNU_LINUX |
diff --git a/src/m/iris4d.h b/src/m/iris4d.h index 1c276ecb167..a5532fcf715 100644 --- a/src/m/iris4d.h +++ b/src/m/iris4d.h | |||
| @@ -23,11 +23,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 23 | 23 | ||
| 24 | #define WORDS_BIG_ENDIAN | 24 | #define WORDS_BIG_ENDIAN |
| 25 | 25 | ||
| 26 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 27 | * group of arguments and treat it as an array of the arguments. */ | ||
| 28 | |||
| 29 | #define NO_ARG_ARRAY | ||
| 30 | |||
| 31 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | 26 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend |
| 32 | the bit field into an int. In other words, if bit fields | 27 | the bit field into an int. In other words, if bit fields |
| 33 | are always unsigned. | 28 | are always unsigned. |
diff --git a/src/m/macppc.h b/src/m/macppc.h index 77772521ed7..112c15ed8e4 100644 --- a/src/m/macppc.h +++ b/src/m/macppc.h | |||
| @@ -22,11 +22,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 22 | 22 | ||
| 23 | #define WORDS_BIG_ENDIAN | 23 | #define WORDS_BIG_ENDIAN |
| 24 | 24 | ||
| 25 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 26 | * group of arguments and treat it as an array of the arguments. */ | ||
| 27 | |||
| 28 | #define NO_ARG_ARRAY | ||
| 29 | |||
| 30 | /* Data type of load average, as read out of kmem. */ | 25 | /* Data type of load average, as read out of kmem. */ |
| 31 | 26 | ||
| 32 | #define LOAD_AVE_TYPE long | 27 | #define LOAD_AVE_TYPE long |
diff --git a/src/m/mips.h b/src/m/mips.h index 4828b7479fc..e93ab281093 100644 --- a/src/m/mips.h +++ b/src/m/mips.h | |||
| @@ -33,11 +33,6 @@ NOTE-END */ | |||
| 33 | #define WORDS_BIG_ENDIAN | 33 | #define WORDS_BIG_ENDIAN |
| 34 | #endif | 34 | #endif |
| 35 | 35 | ||
| 36 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 37 | * group of arguments and treat it as an array of the arguments. */ | ||
| 38 | |||
| 39 | #define NO_ARG_ARRAY | ||
| 40 | |||
| 41 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | 36 | /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend |
| 42 | the 24-bit bit field into an int. In other words, if bit fields | 37 | the 24-bit bit field into an int. In other words, if bit fields |
| 43 | are always unsigned. | 38 | are always unsigned. |
diff --git a/src/m/sh3.h b/src/m/sh3.h index bb8e2937b01..703513d23f7 100644 --- a/src/m/sh3.h +++ b/src/m/sh3.h | |||
| @@ -4,7 +4,5 @@ | |||
| 4 | # define WORDS_BIG_ENDIAN | 4 | # define WORDS_BIG_ENDIAN |
| 5 | #endif | 5 | #endif |
| 6 | 6 | ||
| 7 | #define NO_ARG_ARRAY | ||
| 8 | |||
| 9 | /* arch-tag: 1b01b84f-f044-4afa-aa4b-caa54ec38966 | 7 | /* arch-tag: 1b01b84f-f044-4afa-aa4b-caa54ec38966 |
| 10 | (do not change this comment) */ | 8 | (do not change this comment) */ |
diff --git a/src/m/sparc.h b/src/m/sparc.h index 3eeb87a2b0e..b43e56bc3b9 100644 --- a/src/m/sparc.h +++ b/src/m/sparc.h | |||
| @@ -31,11 +31,6 @@ NOTE-END */ | |||
| 31 | 31 | ||
| 32 | #define WORDS_BIG_ENDIAN | 32 | #define WORDS_BIG_ENDIAN |
| 33 | 33 | ||
| 34 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 35 | * group of arguments and treat it as an array of the arguments. */ | ||
| 36 | |||
| 37 | #define NO_ARG_ARRAY | ||
| 38 | |||
| 39 | /* __sparc__ is defined by the compiler by default. */ | 34 | /* __sparc__ is defined by the compiler by default. */ |
| 40 | 35 | ||
| 41 | /* XINT must explicitly sign-extend | 36 | /* XINT must explicitly sign-extend |
diff --git a/src/m/template.h b/src/m/template.h index 6e0dbb79844..d96af80a84e 100644 --- a/src/m/template.h +++ b/src/m/template.h | |||
| @@ -27,11 +27,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 27 | 27 | ||
| 28 | #define WORDS_BIG_ENDIAN | 28 | #define WORDS_BIG_ENDIAN |
| 29 | 29 | ||
| 30 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | ||
| 31 | * group of arguments and treat it as an array of the arguments. */ | ||
| 32 | |||
| 33 | #define NO_ARG_ARRAY | ||
| 34 | |||
| 35 | /* Now define a symbol for the cpu type, if your compiler | 30 | /* Now define a symbol for the cpu type, if your compiler |
| 36 | does not define it automatically. | 31 | does not define it automatically. |
| 37 | Ones defined so far include m68k and many others */ | 32 | Ones defined so far include m68k and many others */ |
diff --git a/src/m/xtensa.h b/src/m/xtensa.h index d53686d9401..664f18dcb10 100644 --- a/src/m/xtensa.h +++ b/src/m/xtensa.h | |||
| @@ -2,8 +2,6 @@ | |||
| 2 | 2 | ||
| 3 | Add a license notice if this grows to > 10 lines of code. */ | 3 | Add a license notice if this grows to > 10 lines of code. */ |
| 4 | 4 | ||
| 5 | #define NO_ARG_ARRAY | ||
| 6 | |||
| 7 | #ifdef __LITTLE_ENDIAN | 5 | #ifdef __LITTLE_ENDIAN |
| 8 | #undef WORDS_BIG_ENDIAN | 6 | #undef WORDS_BIG_ENDIAN |
| 9 | #else | 7 | #else |