aboutsummaryrefslogtreecommitdiffstats
path: root/src/m (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use autoconf determined WORDS_BIGENDIAN instead of hardcoded definition.Andreas Schwab2010-08-0917-69/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * m/alpha.h: Don't define/undef WORDS_BIG_ENDIAN. * m/amdx86-64.h: Likewise. * m/arm.h: Likewise. * m/hp800.h: Likewise. * m/ia64.h: Likewise. * m/ibmrs6000.h: Likewise. * m/ibms390.h: Likewise. * m/intel386.h: Likewise. * m/iris4d.h: Likewise. * m/m68k.h: Likewise. * m/macppc.h: Likewise. * m/mips.h: Likewise. * m/sh3.h: Likewise. * m/sparc.h: Likewise. * m/template.h: Likewise. * m/vax.h: Likewise. * m/xtensa.h: Likewise. * fringe.c (init_fringe_bitmap): Test WORDS_BIGENDIAN instead of WORDS_BIG_ENDIAN. * lisp.h: Likewise. * md5.c: Likewise. * sound.c (le2hl, le2hs, be2hl, be2hs): Likewise. * CPP-DEFINES (WORDS_BIG_ENDIAN): Remove. * configure.in: Add AC_C_BIGENDIAN.
* Clean up unexec.c, remove references to unused code.Dan Nicolaescu2010-07-286-20/+0
| | | | | | | | | | | | | | | | | | * nt/config.nt: Remove code referring to NO_REMAP, unused. * src/unexec.c (make_hdr): Remove references to NO_REMAP, COFF, SEGMENT_MASK, SECTION_ALIGNMENT, ADJUST_EXEC_HEADER. * src/s/usg5-4.h (COFF): * src/s/template.h: * src/s/msdos.h (COFF, NO_REMAP): * src/s/ms-w32.h (NO_REMAP): * src/s/hpux10-20.h (NO_REMAP): * src/m/sparc.h (SEGMENT_MASK): * src/m/m68k.h (NO_REMAP): * src/m/intel386.h (SEGMENT_MASK): * src/m/arm.h (NO_REMAP): * src/m/alpha.h (COFF): * src/m/template.h: Remove references to unused defines.
* * src/m/iris4d.h (XUINT, XSET): Remove, not needed.Dan Nicolaescu2010-07-261-12/+0
|
* Simplify start_of_data, start_of_text and related code.Dan Nicolaescu2010-07-078-22/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/mem-limits.h: Remove !emacs and _LIBC conditional code. (start_of_data): Merge into start_of_data function. * src/sysdep.c (start_of_text): Remove. Move simplified versions of it in the only users: src/unexaix.c and unexec.c. (read_input_waiting): Remove local declaration of quit_char. (start, etext): Remove declarations. (start_of_data): Merge with the version in mem-limits.h and move to vm-limits.c. * src/vm-limit.c (start_of_data): Merged and simplified version of the code formerly in mem-limits.h and sysdep.c. * src/unexec.c (start): New declaration, moved from sysdep.c. (start_of_text): Simplified version of the code formerly in sysdep.c. * unexaix.c (start_of_text): Simplified version of the code formerly in sysdep.c. * src/m/alpha.h (HAVE_TEXT_START): Remove. (TEXT_START): Move ... * src/unexalpha.c (TEXT_START): ... here. * src/s/hpux10-20.h (TEXT_START): Remove. * src/s/darwin.h (TEXT_START): * src/m/mips.h (TEXT_START): * src/m/macppc.h (HAVE_TEXT_START): * src/m/m68k.h (TEXT_START): * src/m/iris4d.h (TEXT_START): * src/m/intel386.h (TEXT_START): * src/m/ibmrs6000.h (TEXT_START): * src/m/ia64.h (HAVE_TEXT_START): * src/s/msdos.h (TEXT_START): Likewise.
* Remove some cpp that is internal to configure.in.Glenn Morris2010-06-292-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | | * configure.in (C_OPTIMIZE_SWITCH, CANNOT_DUMP, SYSTEM_MALLOC): (USE_MMAP_FOR_BUFFERS, C_WARNING_SWITCH): Set with shell, not cpp. (LIBX): Remove, just use -lX11 in the one place this was used. (cannot_dump): Replace with CANNOT_DUMP. * src/Makefile.in (CANNOT_DUMP): Update for configure name change. * src/s/freebsd.h (USE_MMAP_FOR_BUFFERS): * src/s/irix6-5.h (USE_MMAP_FOR_BUFFERS): * src/s/darwin.h (SYSTEM_MALLOC): * src/s/sol2-10.h (SYSTEM_MALLOC): Move to configure. * src/m/alpha.h: Remove old comment. * src/s/aix4-2.h: Update comment. * src/s/template.h: Remove USE_MMAP_FOR_BUFFERS. * msdos/sed1v2.inp (CANNOT_DUMP): Update for configure name change. * admin/CPP-DEFINES: Remove USE_MMAP_FOR_BUFFERS, CANNOT_DUMP. * etc/DEBUG: Update SYSTEM_MALLOC and CANNOT_DUMP references. Some re-filling.
* * src/m/ibms390x.h: Rather than duplicating ibms390.h, just include it.Glenn Morris2010-06-091-22/+2
|
* Move UNEXEC definition to autoconf.Dan Nicolaescu2010-06-031-5/+0
| | | | | | | | | | | | | | | | | | | * configure.in (unxec): Do not define and substitute. (UNEXEC_OBJ): New output variable, replaces cpp UNEXEC. * msdos/sed1v2.inp (UNEXEC_OBJ): Use UNEXEC_OBJ instead of unexec. * src/s/usg5-4.h (UNEXEC): Remove, move to configure.in. * src/s/sol2-10.h (UNEXEC): * src/s/irix6-5.h (UNEXEC): * src/s/hpux10-20.h (UNEXEC): * src/s/gnu-linux.h (UNEXEC): * src/s/darwin.h (UNEXEC): * src/s/cygwin.h (UNEXEC): * src/s/bsd-common.h (UNEXEC): * src/s/aix4-2.h (UNEXEC): * src/m/alpha.h (UNEXEC): Likewise. * src/Makefile.in (UNEXEC_OBJ): Define using @UNEXEC_OBJ@.
* * src/m/ibms390.h: Comment fix.Glenn Morris2010-06-021-1/+1
|
* Remove NO_SOCK_SIGIO references.Glenn Morris2010-06-021-11/+0
| | | | | | * src/m/template.h (NO_SOCK_SIGIO): Remove, no longer used. * nextstep/DEV-NOTES: Remove out-of-date information.
* m/hp800.h simplification.Glenn Morris2010-06-021-7/+0
| | | | | * src/m/hp800.h (alloca) [__NetBSD__ && __GNUC__]: No need to define it, now that AH_BOTTOM does it.
* HAVE_ALLOCA not needed since alloca.s was removed.Glenn Morris2010-06-022-6/+0
| | | | | | | | | * src/m/hp800.h (HAVE_ALLOCA): * src/m/ibms390x.h (HAVE_ALLOCA): Do not define, no longer needed. * msdos/sed2v2.inp: Do not edit HAVE_ALLOCA. * admin/CPP-DEFINES: Remove HAVE_ALLOCA.
* NOT_C_CODE is always true now.Glenn Morris2010-06-021-4/+0
| | | | | | | | | | | * configure.in (AH_BOTTOM): Remove NOT_C_CODE test, it is always true. * m/ia64.h, s/gnu-linux.h, s/gnu.h, s/netbsd.h, s/usg5-4.h: Remove NOT_C_CODE tests, it is always true now. * nt/config.nt: Remove NOT_C_CODE tests, it is always true now. * admin/CPP-DEFINES: Remove NOT_C_CODE.
* Set linker-related things with configure.Glenn Morris2010-05-182-8/+0
| | | | | | | | | | | | | | | | | | | | | | | * configure.in (LINKER, YMF_PASS_LDFLAGS): New output variables. (ORDINARY_LINK): New AC_DEFINE. (LIB_GCC): No need to set if ORDINARY_LINK. * src/Makefile.in (LD, YMF_PASS_LDFLAGS): Set with configure, not cpp. (GNULIB_VAR): Remove. (LIBES): Use LIB_GCC instead of GNULIB_VAR. * src/m/ibms390x.h (LINKER): * src/m/macppc.h (LINKER) [GNU_LINUX]: * src/s/aix4-2.h (ORDINARY_LINK): * src/s/cygwin.h (LINKER): * src/s/darwin.h (ORDINARY_LINK): * src/s/gnu.h (ORDINARY_LINK): * src/s/netbsd.h (LINKER): * src/s/usg5-4.h (ORDINARY_LINK): Move to configure. * msdos/sed1v2.inp (LD): Edit to $(CC). (YMF_PASS_LDFLAGS): Edit to `flags'.
* * src/[ms]/template.h: Comments.Glenn Morris2010-05-171-2/+5
|
* * m/ia64.h (UNEXEC): Remove reference to CANNOT_EXEC, not used anymore.Dan Nicolaescu2010-05-151-5/+0
|
* Move LIB_GCC from cpp to configure.Glenn Morris2010-05-111-6/+0
| | | | | | | | | | | | | | | | * configure.in (LIB_GCC): New output variable. * src/Makefile.in (LIB_GCC): Set using configure, not cpp. (GNULIB_VAR) [!ORDINARY_LINK]: Always set to $LIB_GCC. * src/m/arm.h (LIB_GCC) [GNU_LINUX]: * src/s/cygwin.h (LIB_GCC): * src/s/freebsd.h (LIB_GCC): * src/s/gnu-linux.h (LIB_GCC): * src/s/msdos.h (LIB_GCC): * src/s/netbsd.h (LIB_GCC): Move to configure. * msdos/sed1v2.inp (LIB_GCC): Edit to -Lgcc.
* Minor comment reformatting for some src/m/*.h files.Glenn Morris2010-05-1116-115/+61
|
* Define LIB_STANDARD and START_FILES using autoconf.Dan Nicolaescu2010-05-061-1/+0
| | | | | | | | | | | | | | | | | | | | | * s/usg5-4.h (LIB_STANDARD): * s/netbsd.h (START_FILES): * s/irix6-5.h (LIB_STANDARD): * s/hpux10-20.h (LIB_STANDARD, START_FILES): * s/gnu-linux.h (START_FILES, LIB_STANDARD): * s/freebsd.h (START_FILES): * s/darwin.h (START_FILES): * s/cygwin.h (START_FILES): * s/aix4-2.h (LIB_STANDARD): * m/ibmrs6000.h (START_FILES): Remove, move logic to configure.in. * Makefile.in (STARTFILES): Rename to START_FILES, define using autoconf, not cpp. Define START_FILES and LIB_STANDARD using autoconf. * configure.in (START_FILES, LIB_STANDARD): New definitions, moved here from src/s/*.h. (HAVE_CRTIN): Remove, inline logic in the netbsd START_FILES/LIB_STANDARD computation.
* Comment changes for some src/m/*.h files.Glenn Morris2010-05-057-104/+12
| | | | Remove some out-of-date comments, reformat others.
* * src/m/sparc.h: Fix typo in earlier change.Lawrence Mitchell2010-05-051-1/+0
|
* Move C_SWITCH_MACHINE, C_SWITCH_SYSTEM from cpp to autoconf.Glenn Morris2010-05-031-10/+0
| | | | | | | | | | | | | | | | * configure.in (C_SWITCH_MACHINE, C_SWITCH_SYSTEM): New output variables, replacing c_switch_machine, c_switch_system. * src/s/aix4-2.h (C_SWITCH_SYSTEM): * src/m/alpha.h (C_SWITCH_MACHINE): Move to configure.in. * src/Makefile.in (C_SWITCH_MACHINE, C_SWITCH_SYSTEM): New variables, set by configure. (ALL_CFLAGS): Use $C_SWITCH_MACHINE and $C_SWITCH_SYSTEM in place of $c_switch_machine and $c_switch_system. * lib-src/Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than @c_switch_system@, @c_switch_machine@.
* * src/m/amdx86-64.h: Fix typo in previous.Glenn Morris2010-05-021-2/+0
|
* * m/amdx86-64.h (START_FILES, LIB_STANDARD): Remove.Dan Nicolaescu2010-05-021-23/+1
| | | | | The FreeBSD is not needed, the default works, Solaris version is not needed, and the remaining case is not supported by configure.
* Clean up IRIX code.Dan Nicolaescu2010-05-011-9/+0
| | | | | * m/iris4d.h (TERMINFO, FIRST_PTY_LETTER): Move definitions ... * s/irix6-5.h (TERMINFO, FIRST_PTY_LETTER): ... here.
* Clean up AIX code.Dan Nicolaescu2010-05-012-16/+0
| | | | | | | | * m/ibmrs6000.inp: Remove file, unused. * m/ibmrs6000.h (IBMR2AIX): Remove, unused. (LD_SWITCH_MACHINE): Rename to LD_SWITCH_SYSTEM_TEMACS, and move definition ... * s/aix4-2.h (LD_SWITCH_SYSTEM_TEMACS): ... here.
* Move test for 64-bit kernel with 32-bit userland to configure.Glenn Morris2010-04-271-10/+0
| | | | | | | | | See discussion in bug#5655. * configure.in (machine, canonical): On amdx86-64, check for a 32-bit userland and maybe change values to i386 (move test from s/amdx86-64.h). * src/m/amdx86-64.h [i386]: Move this test to configure.in.
* Use $CRT_DIR in more places.Glenn Morris2010-04-264-46/+7
| | | | | | | | | | | | | | | | | | | | | * configure.in (--with-crt-dir): Doc fix (now valid for all platforms). (CRT_DIR): On (powerpc64|sparc64)-*-linux-gnu*, default to /usr/lib64. On hpux10-20, default to /lib. * src/m/amdx86-64.h (START_FILES, LIB_STANDARD): Change the logic around, since the defaults (set by the system file) are fine in most cases. [GNU_LINUX, __OpenBSD__, __NetBSD__, __APPLE__]: Remove sections. * src/m/ibms390x.h (START_FILES, LIB_STANDARD): * src/m/macppc.h (START_FILES, LIB_STANDARD) [GNU_LINUX]: * src/m/sparc.h (START_FILES, LIB_STANDARD) [__linux__]: Remove definitions, since they are set correctly in s/gnu-linux.h. * src/s/freebsd.h (START_FILES, LIB_STANDARD): * src/s/gnu-linux.h (START_FILES, LIB_STANDARD): * src/s/hpux10-20.h (START_FILES): * src/s/netbsd.h (START_FILES, LIB_STANDARD, START_FILES_1, END_FILES_1): Use $CRT_DIR in place of fixed /usr/lib, /lib directories. * src/Makefile.in: Comment.
* Remove all NO_ARG_ARRAY uses.Dan Nicolaescu2010-04-2516-80/+0
| | | | | | | | | | | | | | | | | | | | | | * 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.
* Minor simplications for src/m/amdx86-64.h.Glenn Morris2010-04-241-26/+14
| | | | | | | * m/amdx86-64.h (START_FILES, LIB_STANDARD) [__OpenBSD__]: For clarity, revert to using fixed /usr/lib rather than $CRT_DIR. (START_FILES, LIB_STANDARD) [__FreeBSD__]: Merge into the generic case, since CRT_DIR defaults to /usr/lib. Suggested by Dan Nicolaescu.
* Accidentally omitted from previous commit.Glenn Morris2010-04-231-11/+6
| | | | | * src/m/amdx86-64.h (START_FILES, LIB_STANDARD): Use $CRT_DIR rather than HAVE_LIB64_DIR. (Bug#5655)
* Close bug#5655.Glenn Morris2010-04-231-10/+2
| | | | | | | | | | * configure.in (CRT_DIR): New output variable. (--with-crt-dir): New option. (Bug#5655) (HAVE_LIB64_DIR): Remove. * src/Makefile.in (CRT_DIR): New variable, set by configure. * src/m/amdx86-64.h, m/ibms390x.h (START_FILES, LIB_STANDARD): Use $CRT_DIR rather than HAVE_LIB64_DIR. (Bug#5655)
* Simplify m/intel386.h.Dan Nicolaescu2010-04-231-37/+0
| | | | | | | | | | | | * m/intel386.h (CRT0_DUMMIES): Remove, inline value in the only user: ecrt0.c. (SOLARIS2): Remove LOAD_AVE_TYPE, LOAD_AVE_CVT, LIBS_MACHINE, unused. (USG5_4): Move LOAD_AVE_TYPE, LOAD_AVE_CVT, FSCALE definitions to the only user: s/unixware.h. * ecrt0.c: Remove #ifndef static. Inline CRT0_DUMMIES definition from m/intel386.h. * s/unixware.h (LOAD_AVE_TYPE, LOAD_AVE_CVT, FSCALE): Definitions moved here from m/intel386.h.
* * m/mips.h: Remove #if 0 code.Dan Nicolaescu2010-04-231-18/+0
|
* (LD_SWITCH_SYSTEM_TEMACS): Remove #undef.Dan Nicolaescu2010-04-231-4/+0
| | | | (LD_SWITCH_MACHINE_TEMACS): Remove, configure sets nocombreloc.
* Clean up HP-UX files.Dan Nicolaescu2010-04-211-52/+0
| | | | | | | * 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.
* Simplify code for HP machines.Dan Nicolaescu2010-04-061-30/+2
| | | | | | | * m/hp800.h (LOAD_AVE_TYPE, LOAD_AVE_CVT, NO_REMAP): Do not define for GNU_LINUX, not needed. (UNEXEC, NEED_BSDTTY): Move definitions... * s/hpux10-20.h (UNEXEC, NEED_BSDTTY): ... here.
* * m/iris4d.h (UNEXEC): Move definition ...Dan Nicolaescu2010-04-061-6/+0
| | | | * s/irix6-5.h (UNEXEC): ... here.
* * m/intel386.h (NO_REMAP): Move definition ...Dan Nicolaescu2010-04-021-4/+0
| | | | * s/msdos.h (NO_REMAP): ... here.
* * m/vax.h (CRT0_DUMMIES): Remove, unused.Dan Nicolaescu2010-04-021-4/+0
|
* Remove all uses of C_DEBUG_SWITCH and LIBS_DEBUG.Dan Nicolaescu2010-03-292-4/+0
| | | | | | | | | | | | | | | | * s/usg5-4.h (LIBS_DEBUG): * s/irix6-5.h (C_DEBUG_SWITCH): * s/gnu-linux.h (LIBS_DEBUG): * s/darwin.h (LIBS_DEBUG): * s/bsd-common.h (LIBS_DEBUG): * s/aix4-2.h (LIBS_DEBUG, C_DEBUG_SWITCH): * m/iris4d.h (LIBS_DEBUG): * m/hp800.h (LIBS_DEBUG): Remove definitions. * Makefile.in (LIBES): Remove reference to LIBS_DEBUG. (LIBS_DEBUG): Remove definition. * configure.in: Remove all references to C_DEBUG_SWITCH.
* Simplify LIBS_MACHINE definitions.Dan Nicolaescu2010-03-223-12/+0
| | | | | | | * m/hp800.h (LIBS_MACHINE): Remove, same as default. * m/iris4d.h (LIBS_MACHINE): Likewise. * m/ibmrs6000.h (LIBS_MACHINE): Rename to LIBS_SYSTEM and move ... * s/aix4-2.h (LIBS_SYSTEM): ... here.
* (BSD_SYSTEM, BSD4_2): Remove conditionals, we onlyDan Nicolaescu2010-03-211-5/+0
| | | | support vax on BSDs.
* * m/ibmrs6000.h (ORDINARY_LINK): Move definition ...Dan Nicolaescu2010-03-211-2/+0
| | | | * s/aix4-2.h (ORDINARY_LINK): ... here.
* Remove support for old GNU/Linux using libc version 5.Dan Nicolaescu2010-03-201-5/+0
| | | | | * m/alpha.h (LINUX_SBRK_BUG): Remove definition. * emacs.c (main): Remove code depending on LINUX_SBRK_BUG.
* Remove support for Solaris on PPC and for old versions.Dan Nicolaescu2010-03-191-15/+0
| | | | | | | | | | | | | | | * s/sol2-6.h: Add the contents of s/sol-2.3.h, s/sol-2.4.h, s/sol-2.5.h. (LD_SWITCH_SYSTEM, USE_MMAP_FOR_BUFFERS): Remove #defines/#undef that cancel each other. * s/sol2-3.h: * s/sol2-4.h: * s/sol2-5.h: Remove. * m/ibmrs6000.h: Remove code for USG5_4, this file is only used on AIX. (NO_REMAP): Remove, unused. (UNEXEC): Move definition ... * s/aix4-2.h (UNEXEC): ... here. * configure.in: Remove support for Solaris on PPC and for old versions.
* * m/arm.h: Define the LIB_GCC flag to be -lgcc_s (Bug#5518).Chong Yidong2010-02-211-0/+6
|
* Fixes for NetBSD (Bug#4629, Bug#2072).Chong Yidong2010-01-282-5/+1
| | | | | | * m/mips.h: Remove DATA_START. Suggested by Dan Nicolaescu. * m/alpha.h: Don't define DATA_START on NetBSD (Bug#4629).
* Add 2010 to copyright years.Glenn Morris2010-01-1316-16/+16
|
* Don't set LIB_STANDARD and START_FILES under __Apple__.Adrian Robert2009-10-161-1/+6
|
* Remove DARWIN_OS/_LP64 special case.Adrian Robert2009-10-161-7/+0
|