1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00
emacs/m4
Paul Eggert e32a579975 Use Gnulib stdalign and environ modules (Bug#9772, Bug#9960).
* .bzrignore: Add lib/stdalign.h.
* config.bat: Do not set NO_DECL_ALIGN; no longer needed.
Copy lib/stdalign.in.h to lib/stdalign.in-h as needed.
* configure.ac (HAVE_ATTRIBUTE_ALIGNED): Remove the code that
fiddles with this, as gnulib now does this for us.
* admin/merge-gnulib: Add environ, stdalign.
* m4/environ.m4: New file, from gnulib.
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
* lib/stdalign.in.h, m4/stdalign.m4: New files, from gnulib.
* sed2v2.inp (HAVE_ATTRIBUTE_ALIGNED): Remove edit.
* sedlibmk.inp (STDALIGN_H, @GL_GENERATE_STDALIGN_H_TRUE@)
(GL_GENERATE_STDALIGN_H_FALSE): New edits.
* nt/config.nt (HAVE_ATTRIBUTE_ALIGNED): Remove.
* src/alloc.c (XMALLOC_BASE_ALIGNMENT, GC_POINTER_ALIGNMENT, pure_alloc):
Simplify by using alignof.
(pure_alloc) [! USE_LSB_TAG]: Don't over-align EMACS_INT values.
* src/lisp.h: Include <stdalign.h>.
(GCALIGNMENT): New macro and constant.
(DECL_ALIGN): Remove.  All uses replaced by alignas (GCALIGNMENT).
(USE_LSB_TAG): ifdef on alignas, not on DECL_ALIGN.
(stdalign): New macro, if not already defined.
2012-07-28 16:05:32 -07:00
..
00gnulib.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
alloca.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
c-strtod.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
clock_time.m4 Add gnulib files to support higher-resolution time stamps. 2012-06-22 14:26:37 -07:00
dup2.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
environ.m4 Use Gnulib stdalign and environ modules (Bug#9772, Bug#9960). 2012-07-28 16:05:32 -07:00
extensions.m4 Merge from gnulib. 2012-06-22 10:20:00 -07:00
filemode.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
getloadavg.m4 Remove "#define unix" that is no longer needed (Bug#11905). 2012-07-10 17:01:21 -07:00
getopt.m4 Remove "#define unix" that is no longer needed (Bug#11905). 2012-07-10 17:01:21 -07:00
gettime.m4 Add gnulib files to support higher-resolution time stamps. 2012-06-22 14:26:37 -07:00
gettimeofday.m4 Add gnulib files to support higher-resolution time stamps. 2012-06-22 14:26:37 -07:00
gnulib-common.m4 Merge from gnulib. 2012-06-22 10:20:00 -07:00
gnulib-comp.m4 Use Gnulib stdalign and environ modules (Bug#9772, Bug#9960). 2012-07-28 16:05:32 -07:00
gnulib-tool.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
include_next.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
inttypes.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
largefile.m4 Merge from gnulib. 2012-06-22 10:20:00 -07:00
longlong.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
lstat.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
manywarnings.m4 Make 'configure' a bit smaller and faster. 2012-05-27 17:46:33 -07:00
md5.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
mktime.m4 Merge from gnulib. 2012-06-22 10:20:00 -07:00
multiarch.m4 Merge from gnulib. 2012-06-22 10:20:00 -07:00
nocrash.m4 Merge from gnulib. 2012-06-22 10:20:00 -07:00
off_t.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
pathmax.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
pselect.m4 Add gnulib files to support higher-resolution time stamps. 2012-06-22 14:26:37 -07:00
pthread_sigmask.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
readlink.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
sha1.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
sha256.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
sha512.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
signal_h.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
signalblocking.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
socklen.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
ssize_t.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
st_dm_mode.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
stat-time.m4 Add gnulib files to support higher-resolution time stamps. 2012-06-22 14:26:37 -07:00
stat.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
stdalign.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
stdarg.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
stdbool.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
stddef_h.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
stdint.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
stdio_h.m4 Merge from gnulib. 2012-06-22 10:20:00 -07:00
stdlib_h.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
strftime.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
strtoimax.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
strtoll.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
strtoull.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
strtoumax.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
symlink.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
sys_select_h.m4 Add gnulib files to support higher-resolution time stamps. 2012-06-22 14:26:37 -07:00
sys_socket_h.m4 Add gnulib files to support higher-resolution time stamps. 2012-06-22 14:26:37 -07:00
sys_stat_h.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
sys_time_h.m4 Port to OpenBSD 5.1 amd64. 2012-07-06 03:08:57 +00:00
sys_types_h.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
time_h.m4 Merge from gnulib (comment-only change). 2012-06-25 07:49:15 -07:00
time_r.m4 Merge from gnulib. 2012-06-22 10:20:00 -07:00
timespec.m4 Add gnulib files to support higher-resolution time stamps. 2012-06-22 14:26:37 -07:00
tm_gmtoff.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
unistd_h.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
utimbuf.m4 Add gnulib files to support higher-resolution time stamps. 2012-06-22 14:26:37 -07:00
utimens.m4 Add gnulib files to support higher-resolution time stamps. 2012-06-22 14:26:37 -07:00
utimes.m4 Add gnulib files to support higher-resolution time stamps. 2012-06-22 14:26:37 -07:00
warnings.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00
wchar_t.m4 Merge from gnulib. 2012-05-26 16:14:36 -07:00