summaryrefslogtreecommitdiff
path: root/lisp/auth-source.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-10-19 09:06:52 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2018-10-19 09:26:50 -0700
commitd2a07b9a82a632e8baa179c667a98d275e5f6973 (patch)
treeaa9ba321dc84936722b5345f67bf089678840bc6 /lisp/auth-source.el
parentfc3f93705543408b868feb7b93b8d77ab1c6ae53 (diff)
downloademacs-d2a07b9a82a632e8baa179c667a98d275e5f6973.tar.gz
emacs-d2a07b9a82a632e8baa179c667a98d275e5f6973.tar.bz2
emacs-d2a07b9a82a632e8baa179c667a98d275e5f6973.zip
Fix struct thread alignment on FreeBSD x86
Problem reported by Joseph Mingrone in: https://lists.gnu.org/r/emacs-devel/2018-10/msg00238.html While we’re at it, apply a similar fix to struct Lisp_Subr; this removes the need for GCALIGNED_STRUCT_MEMBER and thus can shrink struct Lisp_Subr a bit. * configure.ac (HAVE_STRUCT_ATTRIBUTE_ALIGNED): Bring back this macro. Although used only for performance (not to actually align structures), we might as well take advantage of it. * src/lisp.h (GCALIGNED_STRUCT_MEMBER): Remove; all uses removed. (union Aligned_Lisp_Subr): New type, like struct Lisp_Subr but aligned. * src/lisp.h (XSUBR, DEFUN): * src/lread.c (defsubr): Use it. All callers changed. * src/thread.c (union aligned_thread_state): New type. (main_thread): Now of this type, so it’s aligned. All uses changed. * src/xmenu.c (syms_of_xmenu) [USE_GTK || USE_X_TOOLKIT]: Adjust to union Aligned_Lisp_Subr change.
Diffstat (limited to 'lisp/auth-source.el')
0 files changed, 0 insertions, 0 deletions