aboutsummaryrefslogtreecommitdiff
path: root/gnulib/import/malloca.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2020-02-22 20:31:54 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2020-02-22 20:37:18 -0500
commit5df4cba632201687fd8472663138fbeffaa8f315 (patch)
tree330eb3060e16abd42ff22c501843164d1a97b3e5 /gnulib/import/malloca.h
parent7e702065b4730379730c58a2c72e8715526c8875 (diff)
downloadgdb-5df4cba632201687fd8472663138fbeffaa8f315.zip
gdb-5df4cba632201687fd8472663138fbeffaa8f315.tar.gz
gdb-5df4cba632201687fd8472663138fbeffaa8f315.tar.bz2
gdb: update gnulib import
This is mostly to get this commit from gnulib: e22cd2677a4b7beacbf30b93bb0559f7b89f96ce Add ‘extern "C"’ to count-one-bits.h etc. ... which fixes this compilation problem I observed with clang++: CXXLD gdb arch/arm-get-next-pcs.o:arm-get-next-pcs.c:function thumb_get_next_pcs_raw(arm_get_next_pcs*): error: undefined reference to 'count_one_bits(unsigned int)' <more such undefined references> I built-tested on GNU/Linux x86-64 (gcc-9 and clang-9) as well as with the x86_64-w64-mingw32-gcc cross-compiler. gnulib/ChangeLog: * update-gnulib.sh (GNULIB_COMMIT_SHA1): Bump to e22cd2677a4b7beacbf30b93bb0559f7b89f96ce. * Makefile.in, config.in, configure, import/*: Re-generate.
Diffstat (limited to 'gnulib/import/malloca.h')
-rw-r--r--gnulib/import/malloca.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/gnulib/import/malloca.h b/gnulib/import/malloca.h
index d80c316..cfcd4de 100644
--- a/gnulib/import/malloca.h
+++ b/gnulib/import/malloca.h
@@ -1,5 +1,5 @@
/* Safe automatic memory allocation.
- Copyright (C) 2003-2007, 2009-2019 Free Software Foundation, Inc.
+ Copyright (C) 2003-2007, 2009-2020 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program is free software; you can redistribute it and/or modify
@@ -112,14 +112,10 @@ enum
among all elementary types. */
sa_alignment_long = sa_alignof (long),
sa_alignment_double = sa_alignof (double),
-#if HAVE_LONG_LONG_INT
sa_alignment_longlong = sa_alignof (long long),
-#endif
sa_alignment_longdouble = sa_alignof (long double),
sa_alignment_max = ((sa_alignment_long - 1) | (sa_alignment_double - 1)
-#if HAVE_LONG_LONG_INT
| (sa_alignment_longlong - 1)
-#endif
| (sa_alignment_longdouble - 1)
) + 1
};