summaryrefslogtreecommitdiff
path: root/src/m/amdx86-64.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove src/m/*.Paul Eggert2012-05-221-35/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Remove all mention of src/m/*. (machine, machfile, M_FILE, config_machfile, and_machfile): Remove. All uses removed. (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG) (BITS_PER_LONG_LONG): Move to src/lisp.h. * lib/makefile.w32-in: Remove dependencies on $(EMACS_ROOT)/src/m/intel386.h. * make-dist: Don't make links to src/m. * admin/CPP-DEFINES: Do not mention src/m/*.h. (BITS_PER_EMACS_INT, BITS_PER_LONG, BITS_PER_CHAR) (BITS_PER_SHORT, BITS_PER_INT): Remove. * admin/MAINTAINERS: Remove src/m/. * lib-src/makefile.w32-in: Remove dependencies on $(EMACS_ROOT)/src/m/intel386.h. * msdos/mainmake.v2 (TAGS tags): Don't look at $(CURDIR)/src/m/intel386.h. * nt/config.nt: Do not include "m/intel386.h"; file was removed. (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG): Move to src/lisp.h. (EMACS_INT_MAX): New macro. This directory predates autoconf and is no longer needed nowadays. Move its few remaining bits of functionality to where they're needed. * src/m/README, src/m/alpha.h, src/m/amdx86-64.h, src/m/ia64.h, src/m/ibmrs6000.h: * src/m/ibms390x.h, src/m/intel386.h, src/m/m68k.h, src/m/macppc.h: * src/m/sparc.h, src/m/template.h: Remove. * src/Makefile.in (M_FILE): Remove. All uses removed. * src/alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): * src/lisp.h (USE_LSB_TAG): * src/mem-limits.h (EXCEEDS_LISP_PTR): Use VAL_MAX, not VALBITS, in #if. * src/lisp.h (EMACS_INT_MAX): New macro, useful in #if. (EMACS_UINT): Define unconditionally now. (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG) (BITS_PER_EMACS_INT): New constants, replacing what used to be in config.h, but not useful in #if. (GCTYPEBITS, VALBITS): Define unconditionally, since m/* files don't define them any more. (VAL_MAX): New macro. (VALMASK): Use it. * src/puresize.h (PURESIZE_RATIO): Use EMACS_INT_MAX, not BITS_PER_EMACS_INT, in #if. * src/s/aix4-2.h (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGPTY) (BROKEN_SIGPOLL): Move here from m/ibmrs6000.h, which was removed. * src/s/gnu-linux.h (ULIMIT_BREAK_VALUE) [__i386__]: * src/s/ms-w32.h (DATA_START): Move here from removed file m/intel386.h. * src/s/gnu.h (NLIST_STRUCT): Remove undef; 'configure' does this. * src/s/irix6-5.h (_LP64): Remove; lisp.h no longer needs this.
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* Replace pEd with more-general pI, and fix some printf arg casts.Paul Eggert2011-04-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp.h (pI): New macro, generalizing old pEd macro to other conversion specifiers. For example, use "...%"pI"d..." rather than "...%"pEd"...". (pEd): Remove. All uses replaced with similar uses of pI. * src/m/amdx86-64.h, src/m/ia64.h, src/m/ibms390x.h: Likewise. * alloc.c (check_pure_size): Don't overflow by converting size to int. * bidi.c (bidi_dump_cached_states): Use pI to avoid cast. * data.c (Fnumber_to_string): Use pI instead of if-then-else-abort. * dbusbind.c (xd_append_arg): Use pI to avoid cast. (Fdbus_method_return_internal, Fdbus_method_error_internal): Likewise. * font.c (font_unparse_xlfd): Avoid potential buffer overrun on 64-bit hosts. (font_unparse_xlfd, font_unparse_fcname): Use pI to avoid casts. * keyboard.c (record_char, modify_event_symbol): Use pI to avoid casts. * print.c (safe_debug_print, print_object): Likewise. (print_object): Don't overflow by converting EMACS_INT or EMACS_UINT to int. Use pI instead of if-then-else-abort. Use %p to avoid casts. * process.c (Fmake_network_process): Use pI to avoid cast. * region-cache.c (pp_cache): Likewise. * xdisp.c (decode_mode_spec): Likewise. * xrdb.c (x_load_resources) [USE_MOTIF]: Use pI to avoid undefined behavior on 64-bit hosts with printf arg. * xselect.c (x_queue_event): Use %p to avoid casts. (x_stop_queuing_selection_requests): Likewise. (x_get_window_property): Don't truncate byte count to an 'int' when tracing.
* error: Print 32- and 64-bit integers portably (Bug#8435).Paul Eggert2011-04-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | Without this change, on typical 64-bit hosts error ("...%d...", N) was used to print both 32- and 64-bit integers N, which relied on undefined behavior. * lisp.h, src/m/amdx86-64.h, src/m/ia64.h, src/m/ibms390x.h (pEd): New macro. * lisp.h (error, verror): Mark as printf-like functions. * eval.c (verror): Use vsnprintf, not doprnt, to do the real work. Report overflow in size calculations when allocating printf buffer. Do not truncate output string at its first null byte. * xdisp.c (vmessage): Use vsnprintf, not doprnt, to do the real work. Truncate the output at a character boundary, since vsnprintf does not do that. * charset.c (check_iso_charset_parameter): Convert internal character to string before calling 'error', since %c now has the printf meaning. * coding.c (Fdecode_sjis_char, Fdecode_big5_char): Avoid int overflow when computing char to be passed to 'error'. Do not pass Lisp_Object to 'error'; pass the integer instead. * nsfns.m (Fns_do_applescript): Use int, not long, since it's formatted with plain %d.
* Import getloadavg module from gnulib.Paul Eggert2011-02-151-7/+0
|
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-2/+1
|
* Refill some copyright headers.Glenn Morris2011-01-151-2/+3
|
* Nuke arch-tags.Glenn Morris2011-01-151-2/+0
|
* Merge from emacs-23Stefan Monnier2011-01-141-3/+2
|\
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
| |
| * Fix for Bug#5655, backported from trunk.Glenn Morris2010-11-031-11/+6
| | | | | | | | | | | | | | | | | | | | * 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)
* | Remove EXPLICIT_SIGN_EXTEND.Andreas Schwab2010-12-031-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp.h (union Lisp_Object): Explicitly declare signedness of bit-field. (XINT): Remove variant for EXPLICIT_SIGN_EXTEND. * m/alpha.h (EXPLICIT_SIGN_EXTEND): Don't define. * m/amdx86-64.h (EXPLICIT_SIGN_EXTEND): Likewise. * m/ia64.h (EXPLICIT_SIGN_EXTEND): Likewise. * m/ibms390.h (EXPLICIT_SIGN_EXTEND): Likewise. * m/ibms390x.h (EXPLICIT_SIGN_EXTEND): Likewise. * m/iris4d.h (EXPLICIT_SIGN_EXTEND): Likewise. * m/m68k.h (EXPLICIT_SIGN_EXTEND): Likewise. * m/sparc.h (EXPLICIT_SIGN_EXTEND): Likewise. * m/template.h (EXPLICIT_SIGN_EXTEND): Likewise. * m/hp800.h: Remove file. * m/mips.h: Remove file.
* | Revert to 2010-12-03T11:48:24Z!jan.h.d@swipnet.se.Chong Yidong2010-12-031-0/+7
| |
* | Remove EXPLICIT_SIGN_EXTEND.Andreas Schwab2010-12-031-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp.h (union Lisp_Object): Explicitly declare signedness of bit-field. (XINT): Remove variant for EXPLICIT_SIGN_EXTEND. * m/alpha.h (EXPLICIT_SIGN_EXTEND): Don't define. * m/amdx86-64.h (EXPLICIT_SIGN_EXTEND): Likewise. * m/ia64.h (EXPLICIT_SIGN_EXTEND): Likewise. * m/ibms390.h (EXPLICIT_SIGN_EXTEND): Likewise. * m/ibms390x.h (EXPLICIT_SIGN_EXTEND): Likewise. * m/iris4d.h (EXPLICIT_SIGN_EXTEND): Likewise. * m/m68k.h (EXPLICIT_SIGN_EXTEND): Likewise. * m/sparc.h (EXPLICIT_SIGN_EXTEND): Likewise. * m/template.h (EXPLICIT_SIGN_EXTEND): Likewise. * m/hp800.h: Remove file. * m/mips.h: Remove file. * CPP-DEFINES (EXPLICIT_SIGN_EXTEND): Remove.
* | Use autoconf determined WORDS_BIGENDIAN instead of hardcoded definition.Andreas Schwab2010-08-091-4/+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.
* | Minor comment reformatting for some src/m/*.h files.Glenn Morris2010-05-111-10/+3
| |
* | * 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.
* | 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-261-23/+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-251-5/+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)
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* Don't set LIB_STANDARD and START_FILES under __Apple__.Adrian Robert2009-10-161-1/+6
|
* Add 2009 to copyright years.Glenn Morris2009-01-081-1/+1
|
* * m/amdx86-64.h (HAVE_LIB64_DIR): Consolidate ifdefs.Dan Nicolaescu2008-07-241-8/+3
| | | | | | | | | | * m/alpha.h (TEXT_END): * m/ibmrs6000.h (TEXT_END): * m/macppc.h (TEXT_END): * s/darwin.h (TEXT_END): * s/msdos.h (TEXT_END): Remove, unused. * s/gnu-linux.h (BSD_PGRPS): Add a comment. * s/cygwin.h: Remove comment.
* Use SOLARIS2 instead of sun.Dan Nicolaescu2008-07-211-2/+2
|
* * m/ia64.h (PNTR_COMPARISON_TYPE): Remove, same as the default.Dan Nicolaescu2008-07-161-24/+0
| | | | | | | | | Remove boilerplate comments. * m/amdx86-64.h (PNTR_COMPARISON_TYPE): Remove, same as the default. Remove boilerplate comments. * m/ibms390x.h (PNTR_COMPARISON_TYPE): Remove, same as the default. Remove boilerplate comments. * lisp.h (PNTR_COMPARISON_TYPE): Define it unconditionally.
* * config.nt (HAVE_FACES): Remove, unused.Dan Nicolaescu2008-07-131-1/+0
| | | | | | | | | | | | | | | | | | | | | * s/vms.h: Use __GNUC__ instead of _GNUC_. * m/macppc.h: * m/alpha.h: Use GNU_LINUX instead of LINUX. Reorganize conditionals. * m/ibms390x.h (XINT, XUINT): Don't define, same as the default (SPECIAL_EMACS_INT): * m/ia64.h (SPECIAL_EMACS_INT): * m/amdx86-64.h (SPECIAL_EMACS_INT): * s/gnu.h (NLIST_STRUCT): * aix4-2.h (X11R5_INHIBIT_I18N): * s/gnu-linux.h (LINUX): * s/msdos.h (HAVE_FACES): * s/ms-w32.h (HAVE_FACES): Don't define, unused. * systty.h: * sysdep.c (setup_pty): Don't depend on SYSV_PTYS, it is not used anymore.
* * lisp.h:Dan Nicolaescu2008-07-111-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | * w32heap.c: * emacs.c: * alloc.c: Replace all references of NO_UNION_TYPE with USE_LISP_UNION_TYPE. * m/xtensa.h (NO_UNION_TYPE): * m/vax.h (NO_UNION_TYPE): * m/template.h (NO_UNION_TYPE): * m/sparc.h (NO_UNION_TYPE): * m/mips.h (NO_UNION_TYPE): * m/macppc.h (NO_UNION_TYPE): * m/m68k.h (NO_UNION_TYPE): * m/iris4d.h (NO_UNION_TYPE): * m/intel386.h (NO_UNION_TYPE): * m/ibms390x.h (NO_UNION_TYPE): * m/ibms390.h (NO_UNION_TYPE): * m/ibmrs6000.h (NO_UNION_TYPE): * m/ia64.h (NO_UNION_TYPE): * m/hp800.h (NO_UNION_TYPE): * m/arm.h (NO_UNION_TYPE): * m/amdx86-64.h (NO_UNION_TYPE): * m/alpha.h (NO_UNION_TYPE): Remove definition, all platform were defining it the same.
* * m/template.h:Dan Nicolaescu2008-07-101-5/+0
| | | | | | | | | | | | | | | * m/sparc.h: * m/mips.h: * m/m68k.h: * m/iris4d.h: * m/intel386.h: * m/ibms390x.h: * m/ibms390.h: * m/ia64.h: * m/hp800.h: * m/arm.h: * m/amdx86-64.h: Remove dead code and references to unused and compiler defined symbols.
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-071-6/+4
|
* (START_FILES, LIB_STANDARD): Use HAVE_LIB64_DIRAndreas Schwab2008-01-171-2/+2
| | | | instead of HAVE_X86_64_LIB64_DIR.
* Merge from emacs--rel--22Miles Bader2008-01-081-1/+2
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
| * Add 2008 to copyright years.Glenn Morris2008-01-081-1/+2
| |
* | Redirect to intel386.h if compiling for i386.Stefan Monnier2007-08-251-0/+9
|/
* Replace `iff' in comments.Glenn Morris2007-08-081-1/+1
|
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* Add support for NetBSD.Eli Zaretskii2006-12-221-1/+5
|
* Add support for Solaris 10 on x86-64.Chong Yidong2006-12-081-1/+6
|
* Look for standard libs in /usr/lib64 only if that directory exists.Chong Yidong2006-11-261-0/+8
|
* * m/amdx86-64.h: Add defines for OpenBSD x86-64.Chong Yidong2006-10-291-1/+8
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* FreeBSD and m/amdx86-64.hKarl Berry2005-12-251-0/+27
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-071-1/+1
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (XPNTR): Don't redefine.Stefan Monnier2003-11-181-2/+1
|
* (VALBITS, XINT, XUINT): Remove.Stefan Monnier2003-11-051-8/+0
|