binutils-gdb/gnulib/import
Simon Marchi b318629fe7 gnulib: update to bd11400942d6
Update the gnulib import to fixes these issues:

  - GDB build with clang + glibc < 2.33.

      https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=d6a07b4dc21b3118727743142c678858df442853
      https://lists.gnu.org/archive/html/bug-gnulib/2022-04/msg00072.html

    With glibc < 2.33, gnulib (since relatively recently) enables a
    replacement for free (see gnulib/import/m4/free.m4).  In that path,
    clang shows this error:

        make[2]: Entering directory '/home/smarchi/build/binutils-gdb-clang/gdbsupport'
          CXX      agent.o
        In file included from /home/smarchi/src/binutils-gdb/gdbsupport/agent.cc:20:
        In file included from /home/smarchi/src/binutils-gdb/gdbsupport/common-defs.h:95:
        ../gnulib/import/string.h:636:19: error: exception specification in declaration does not match previous declaration
        _GL_EXTERN_C void free (void *) throw ();
                          ^
        ../gnulib/import/stdlib.h:737:17: note: expanded from macro 'free'
        #   define free rpl_free
                        ^
        ../gnulib/import/stdlib.h:739:1: note: previous declaration is here
        _GL_FUNCDECL_RPL (free, void, (void *ptr));
        ^
        ../gnulib/import/sys/select.h:251:23: note: expanded from macro '_GL_FUNCDECL_RPL'
          _GL_FUNCDECL_RPL_1 (rpl_##func, rettype, parameters_and_attributes)
                              ^
        <scratch space>:139:1: note: expanded from here
        rpl_free
        ^

    The gnulib commit mentioned fixes the exception specification of `free`.

 - GDB build on RHEL 7:

      CC       libgnu_a-openat-proc.o
    In file included from /usr/include/string.h:633,
                     from ./string.h:41,
                     from ../../../binutils-gdb/gnulib/import/openat-proc.c:30:
    ./string.h:1105:1: error: expected identifier or '(' before '__extension__'
     1105 | _GL_FUNCDECL_SYS (strndup, char *,
          | ^~~~~~~~~~~~~~~~

     https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=84863a1c4dc8cca8fb0f6f670f67779cdd2d543b
     https://lists.gnu.org/archive/html/bug-gnulib/2022-04/msg00075.html

Change-Id: Ibd51302feece6f385d0c53e0d08921b5d95e2776
2022-05-02 10:54:19 -04:00
..
extra Update gnulib 2022-04-18 10:14:04 -06:00
glthread Update gnulib 2022-04-18 10:14:04 -06:00
m4 gnulib: update to bd11400942d6 2022-05-02 10:54:19 -04:00
malloc Update gnulib 2022-04-18 10:14:04 -06:00
_Noreturn.h Update gnulib 2022-04-18 10:14:04 -06:00
accept.c Update gnulib 2022-04-18 10:14:04 -06:00
alloca.c Update gnulib 2022-04-18 10:14:04 -06:00
alloca.in.h Update gnulib 2022-04-18 10:14:04 -06:00
arg-nonnull.h Update gnulib 2022-04-18 10:14:04 -06:00
arpa_inet.in.h Update gnulib 2022-04-18 10:14:04 -06:00
assure.h Update gnulib 2022-04-18 10:14:04 -06:00
at-func.c Update gnulib 2022-04-18 10:14:04 -06:00
attribute.h Update gnulib 2022-04-18 10:14:04 -06:00
basename-lgpl.c Update gnulib 2022-04-18 10:14:04 -06:00
basename-lgpl.h Update gnulib 2022-04-18 10:14:04 -06:00
bind.c Update gnulib 2022-04-18 10:14:04 -06:00
btowc.c Update gnulib 2022-04-18 10:14:04 -06:00
c++defs.h Update gnulib 2022-04-18 10:14:04 -06:00
canonicalize-lgpl.c Update gnulib 2022-04-18 10:14:04 -06:00
cdefs.h Update gnulib 2022-04-18 10:14:04 -06:00
chdir-long.c Update gnulib 2022-04-18 10:14:04 -06:00
chdir-long.h Update gnulib 2022-04-18 10:14:04 -06:00
chown.c Update gnulib 2022-04-18 10:14:04 -06:00
cloexec.c Update gnulib 2022-04-18 10:14:04 -06:00
cloexec.h Update gnulib 2022-04-18 10:14:04 -06:00
close.c Update gnulib 2022-04-18 10:14:04 -06:00
closedir.c Update gnulib 2022-04-18 10:14:04 -06:00
connect.c Update gnulib 2022-04-18 10:14:04 -06:00
count-one-bits.c Update gnulib 2022-04-18 10:14:04 -06:00
count-one-bits.h Update gnulib 2022-04-18 10:14:04 -06:00
ctype.in.h Update gnulib 2022-04-18 10:14:04 -06:00
dirent-private.h Update gnulib 2022-04-18 10:14:04 -06:00
dirent.in.h Update gnulib 2022-04-18 10:14:04 -06:00
dirfd.c Update gnulib 2022-04-18 10:14:04 -06:00
dirname-lgpl.c Update gnulib 2022-04-18 10:14:04 -06:00
dirname.h Update gnulib 2022-04-18 10:14:04 -06:00
dup2.c Update gnulib 2022-04-18 10:14:04 -06:00
dup-safer-flag.c Update gnulib 2022-04-18 10:14:04 -06:00
dup-safer.c Update gnulib 2022-04-18 10:14:04 -06:00
dup.c Update gnulib 2022-04-18 10:14:04 -06:00
eloop-threshold.h Update gnulib 2022-04-18 10:14:04 -06:00
errno.in.h Update gnulib 2022-04-18 10:14:04 -06:00
error.c Update gnulib 2022-04-18 10:14:04 -06:00
error.h Update gnulib 2022-04-18 10:14:04 -06:00
exitfail.c Update gnulib 2022-04-18 10:14:04 -06:00
exitfail.h Update gnulib 2022-04-18 10:14:04 -06:00
fchdir.c Update gnulib 2022-04-18 10:14:04 -06:00
fchown-stub.c Update gnulib 2022-04-18 10:14:04 -06:00
fcntl.c Update gnulib 2022-04-18 10:14:04 -06:00
fcntl.in.h Update gnulib 2022-04-18 10:14:04 -06:00
fd-hook.c Update gnulib 2022-04-18 10:14:04 -06:00
fd-hook.h Update gnulib 2022-04-18 10:14:04 -06:00
fd-safer-flag.c Update gnulib 2022-04-18 10:14:04 -06:00
fd-safer.c Update gnulib 2022-04-18 10:14:04 -06:00
fdopendir.c Update gnulib 2022-04-18 10:14:04 -06:00
ffs.c Update gnulib 2022-04-18 10:14:04 -06:00
filename.h Update gnulib 2022-04-18 10:14:04 -06:00
filenamecat-lgpl.c Update gnulib 2022-04-18 10:14:04 -06:00
filenamecat.h Update gnulib 2022-04-18 10:14:04 -06:00
flexmember.h Update gnulib 2022-04-18 10:14:04 -06:00
float.c Update gnulib 2022-04-18 10:14:04 -06:00
float.in.h Update gnulib 2022-04-18 10:14:04 -06:00
float+.h Update gnulib 2022-04-18 10:14:04 -06:00
fnmatch_loop.c Update gnulib 2022-04-18 10:14:04 -06:00
fnmatch.c Update gnulib 2022-04-18 10:14:04 -06:00
fnmatch.in.h Update gnulib 2022-04-18 10:14:04 -06:00
fpucw.h Update gnulib 2022-04-18 10:14:04 -06:00
free.c Update gnulib 2022-04-18 10:14:04 -06:00
frexp.c Update gnulib 2022-04-18 10:14:04 -06:00
frexpl.c Update gnulib 2022-04-18 10:14:04 -06:00
fstat.c Update gnulib 2022-04-18 10:14:04 -06:00
fstatat.c Update gnulib 2022-04-18 10:14:04 -06:00
getcwd-lgpl.c Update gnulib 2022-04-18 10:14:04 -06:00
getcwd.c Update gnulib 2022-04-18 10:14:04 -06:00
getdelim.c Update gnulib 2022-04-18 10:14:04 -06:00
getdtablesize.c Update gnulib 2022-04-18 10:14:04 -06:00
getline.c Update gnulib 2022-04-18 10:14:04 -06:00
getlogin_r.c Update gnulib 2022-04-18 10:14:04 -06:00
getprogname.c Update gnulib 2022-04-18 10:14:04 -06:00
getprogname.h Update gnulib 2022-04-18 10:14:04 -06:00
getrandom.c Update gnulib 2022-04-18 10:14:04 -06:00
gettext.h Update gnulib 2022-04-18 10:14:04 -06:00
gettimeofday.c Update gnulib 2022-04-18 10:14:04 -06:00
glob_internal.h Update gnulib 2022-04-18 10:14:04 -06:00
glob_pattern_p.c Update gnulib 2022-04-18 10:14:04 -06:00
glob-libc.h Update gnulib 2022-04-18 10:14:04 -06:00
glob.c gnulib: update to bd11400942d6 2022-05-02 10:54:19 -04:00
glob.in.h Update gnulib 2022-04-18 10:14:04 -06:00
globfree.c Update gnulib 2022-04-18 10:14:04 -06:00
hard-locale.c Update gnulib 2022-04-18 10:14:04 -06:00
hard-locale.h Update gnulib 2022-04-18 10:14:04 -06:00
idx.h Update gnulib 2022-04-18 10:14:04 -06:00
inet_ntop.c Update gnulib 2022-04-18 10:14:04 -06:00
intprops.h Update gnulib 2022-04-18 10:14:04 -06:00
inttypes.in.h Update gnulib 2022-04-18 10:14:04 -06:00
isblank.c Update gnulib 2022-04-18 10:14:04 -06:00
isnan.c Update gnulib 2022-04-18 10:14:04 -06:00
isnand-nolibm.h Update gnulib 2022-04-18 10:14:04 -06:00
isnand.c Update gnulib 2022-04-18 10:14:04 -06:00
isnanl-nolibm.h Update gnulib 2022-04-18 10:14:04 -06:00
isnanl.c Update gnulib 2022-04-18 10:14:04 -06:00
itold.c Update gnulib 2022-04-18 10:14:04 -06:00
lc-charset-dispatch.c Update gnulib 2022-04-18 10:14:04 -06:00
lc-charset-dispatch.h Update gnulib 2022-04-18 10:14:04 -06:00
libc-config.h Update gnulib 2022-04-18 10:14:04 -06:00
limits.in.h Update gnulib 2022-04-18 10:14:04 -06:00
listen.c Update gnulib 2022-04-18 10:14:04 -06:00
localcharset.c Update gnulib 2022-04-18 10:14:04 -06:00
localcharset.h Update gnulib 2022-04-18 10:14:04 -06:00
locale.in.h Update gnulib 2022-04-18 10:14:04 -06:00
lstat.c Update gnulib 2022-04-18 10:14:04 -06:00
Makefile.am Update gnulib 2022-04-18 10:14:04 -06:00
Makefile.in Update gnulib 2022-04-18 10:14:04 -06:00
malloc.c Update gnulib 2022-04-18 10:14:04 -06:00
malloca.c Update gnulib 2022-04-18 10:14:04 -06:00
malloca.h Update gnulib 2022-04-18 10:14:04 -06:00
math.c Update gnulib 2022-04-18 10:14:04 -06:00
math.in.h Update gnulib 2022-04-18 10:14:04 -06:00
mbrtowc-impl-utf8.h Update gnulib 2022-04-18 10:14:04 -06:00
mbrtowc-impl.h Update gnulib 2022-04-18 10:14:04 -06:00
mbrtowc.c Update gnulib 2022-04-18 10:14:04 -06:00
mbsinit.c Update gnulib 2022-04-18 10:14:04 -06:00
mbsrtowcs-impl.h Update gnulib 2022-04-18 10:14:04 -06:00
mbsrtowcs-state.c Update gnulib 2022-04-18 10:14:04 -06:00
mbsrtowcs.c Update gnulib 2022-04-18 10:14:04 -06:00
mbtowc-impl.h Update gnulib 2022-04-18 10:14:04 -06:00
mbtowc-lock.c Update gnulib 2022-04-18 10:14:04 -06:00
mbtowc-lock.h Update gnulib 2022-04-18 10:14:04 -06:00
mbtowc.c Update gnulib 2022-04-18 10:14:04 -06:00
memchr.c Update gnulib 2022-04-18 10:14:04 -06:00
memchr.valgrind Update gnulib 2022-04-18 10:14:04 -06:00
memmem.c Update gnulib 2022-04-18 10:14:04 -06:00
mempcpy.c Update gnulib 2022-04-18 10:14:04 -06:00
memrchr.c Update gnulib 2022-04-18 10:14:04 -06:00
minmax.h Update gnulib 2022-04-18 10:14:04 -06:00
mkdir.c Update gnulib 2022-04-18 10:14:04 -06:00
mkdtemp.c Update gnulib 2022-04-18 10:14:04 -06:00
mkostemp.c Update gnulib 2022-04-18 10:14:04 -06:00
msvc-inval.c Update gnulib 2022-04-18 10:14:04 -06:00
msvc-inval.h Update gnulib 2022-04-18 10:14:04 -06:00
msvc-nothrow.c Update gnulib 2022-04-18 10:14:04 -06:00
msvc-nothrow.h Update gnulib 2022-04-18 10:14:04 -06:00
netdb.in.h Update gnulib 2022-04-18 10:14:04 -06:00
netinet_in.in.h Update gnulib 2022-04-18 10:14:04 -06:00
open.c Update gnulib 2022-04-18 10:14:04 -06:00
openat-die.c Update gnulib 2022-04-18 10:14:04 -06:00
openat-priv.h Update gnulib 2022-04-18 10:14:04 -06:00
openat-proc.c Update gnulib 2022-04-18 10:14:04 -06:00
openat.c Update gnulib 2022-04-18 10:14:04 -06:00
openat.h Update gnulib 2022-04-18 10:14:04 -06:00
opendir.c Update gnulib 2022-04-18 10:14:04 -06:00
pathmax.h Update gnulib 2022-04-18 10:14:04 -06:00
pipe-safer.c Update gnulib 2022-04-18 10:14:04 -06:00
pipe.c Update gnulib 2022-04-18 10:14:04 -06:00
rawmemchr.c Update gnulib 2022-04-18 10:14:04 -06:00
rawmemchr.valgrind Update gnulib 2022-04-18 10:14:04 -06:00
readdir.c Update gnulib 2022-04-18 10:14:04 -06:00
readlink.c Update gnulib 2022-04-18 10:14:04 -06:00
realloc.c Update gnulib 2022-04-18 10:14:04 -06:00
rename.c Update gnulib 2022-04-18 10:14:04 -06:00
rewinddir.c Update gnulib 2022-04-18 10:14:04 -06:00
rmdir.c Update gnulib 2022-04-18 10:14:04 -06:00
same-inode.h Update gnulib 2022-04-18 10:14:04 -06:00
save-cwd.c Update gnulib 2022-04-18 10:14:04 -06:00
save-cwd.h Update gnulib 2022-04-18 10:14:04 -06:00
scratch_buffer.h Update gnulib 2022-04-18 10:14:04 -06:00
select.c Update gnulib 2022-04-18 10:14:04 -06:00
setenv.c Update gnulib 2022-04-18 10:14:04 -06:00
setlocale_null.c Update gnulib 2022-04-18 10:14:04 -06:00
setlocale_null.h Update gnulib 2022-04-18 10:14:04 -06:00
setlocale-lock.c Update gnulib 2022-04-18 10:14:04 -06:00
setsockopt.c Update gnulib 2022-04-18 10:14:04 -06:00
signal.in.h Update gnulib 2022-04-18 10:14:04 -06:00
socket.c Update gnulib 2022-04-18 10:14:04 -06:00
sockets.c Update gnulib 2022-04-18 10:14:04 -06:00
sockets.h Update gnulib 2022-04-18 10:14:04 -06:00
stat-time.c Update gnulib 2022-04-18 10:14:04 -06:00
stat-time.h Update gnulib 2022-04-18 10:14:04 -06:00
stat-w32.c Update gnulib 2022-04-18 10:14:04 -06:00
stat-w32.h Update gnulib 2022-04-18 10:14:04 -06:00
stat.c Update gnulib 2022-04-18 10:14:04 -06:00
stdalign.in.h Update gnulib 2022-04-18 10:14:04 -06:00
stdbool.in.h Update gnulib 2022-04-18 10:14:04 -06:00
stddef.in.h Update gnulib 2022-04-18 10:14:04 -06:00
stdint.in.h Update gnulib 2022-04-18 10:14:04 -06:00
stdio-read.c Update gnulib 2022-04-18 10:14:04 -06:00
stdio-write.c Update gnulib 2022-04-18 10:14:04 -06:00
stdio.in.h Update gnulib 2022-04-18 10:14:04 -06:00
stdlib.in.h gnulib: update to bd11400942d6 2022-05-02 10:54:19 -04:00
str-two-way.h Update gnulib 2022-04-18 10:14:04 -06:00
strchrnul.c Update gnulib 2022-04-18 10:14:04 -06:00
strchrnul.valgrind Update gnulib 2022-04-18 10:14:04 -06:00
strdup.c Update gnulib 2022-04-18 10:14:04 -06:00
streq.h Update gnulib 2022-04-18 10:14:04 -06:00
strerror_r.c Update gnulib 2022-04-18 10:14:04 -06:00
strerror-override.c Update gnulib 2022-04-18 10:14:04 -06:00
strerror-override.h Update gnulib 2022-04-18 10:14:04 -06:00
strerror.c Update gnulib 2022-04-18 10:14:04 -06:00
string.in.h gnulib: update to bd11400942d6 2022-05-02 10:54:19 -04:00
strings.in.h Update gnulib 2022-04-18 10:14:04 -06:00
stripslash.c Update gnulib 2022-04-18 10:14:04 -06:00
strnlen1.c Update gnulib 2022-04-18 10:14:04 -06:00
strnlen1.h Update gnulib 2022-04-18 10:14:04 -06:00
strnlen.c Update gnulib 2022-04-18 10:14:04 -06:00
strstr.c Update gnulib 2022-04-18 10:14:04 -06:00
strtok_r.c Update gnulib 2022-04-18 10:14:04 -06:00
sys_random.in.h Update gnulib 2022-04-18 10:14:04 -06:00
sys_select.in.h Update gnulib 2022-04-18 10:14:04 -06:00
sys_socket.c Update gnulib 2022-04-18 10:14:04 -06:00
sys_socket.in.h Update gnulib 2022-04-18 10:14:04 -06:00
sys_stat.in.h Update gnulib 2022-04-18 10:14:04 -06:00
sys_time.in.h Update gnulib 2022-04-18 10:14:04 -06:00
sys_types.in.h Update gnulib 2022-04-18 10:14:04 -06:00
sys_uio.in.h Update gnulib 2022-04-18 10:14:04 -06:00
sys_wait.in.h Update gnulib 2022-04-18 10:14:04 -06:00
tempname.c Update gnulib 2022-04-18 10:14:04 -06:00
tempname.h Update gnulib 2022-04-18 10:14:04 -06:00
time_r.c Update gnulib 2022-04-18 10:14:04 -06:00
time.in.h Update gnulib 2022-04-18 10:14:04 -06:00
unistd--.h Update gnulib 2022-04-18 10:14:04 -06:00
unistd-safer.h Update gnulib 2022-04-18 10:14:04 -06:00
unistd.c Update gnulib 2022-04-18 10:14:04 -06:00
unistd.in.h Update gnulib 2022-04-18 10:14:04 -06:00
unsetenv.c Update gnulib 2022-04-18 10:14:04 -06:00
verify.h gnulib: update to bd11400942d6 2022-05-02 10:54:19 -04:00
w32sock.h Update gnulib 2022-04-18 10:14:04 -06:00
warn-on-use.h Update gnulib 2022-04-18 10:14:04 -06:00
wchar.in.h Update gnulib 2022-04-18 10:14:04 -06:00
wctype-h.c Update gnulib 2022-04-18 10:14:04 -06:00
wctype.in.h Update gnulib 2022-04-18 10:14:04 -06:00
windows-initguard.h Update gnulib 2022-04-18 10:14:04 -06:00
windows-mutex.c Update gnulib 2022-04-18 10:14:04 -06:00
windows-mutex.h Update gnulib 2022-04-18 10:14:04 -06:00
windows-once.c Update gnulib 2022-04-18 10:14:04 -06:00
windows-once.h Update gnulib 2022-04-18 10:14:04 -06:00
windows-recmutex.c Update gnulib 2022-04-18 10:14:04 -06:00
windows-recmutex.h Update gnulib 2022-04-18 10:14:04 -06:00
windows-rwlock.c Update gnulib 2022-04-18 10:14:04 -06:00
windows-rwlock.h Update gnulib 2022-04-18 10:14:04 -06:00
wmemchr-impl.h Update gnulib 2022-04-18 10:14:04 -06:00
wmemchr.c Update gnulib 2022-04-18 10:14:04 -06:00
wmempcpy.c Update gnulib 2022-04-18 10:14:04 -06:00
xalloc-oversized.h Update gnulib 2022-04-18 10:14:04 -06:00