diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-05-01 16:30:59 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-05-01 16:37:39 -0400 |
commit | fe3486178040db782f18d67a95a1e63bdf68eedf (patch) | |
tree | 1445ff740a5f797e32834a3df73c0b790fef1345 /sim/bfin | |
parent | 2a83fd8f4806f8580d86057dc00bfdb5efcfa1f6 (diff) | |
download | gdb-fe3486178040db782f18d67a95a1e63bdf68eedf.zip gdb-fe3486178040db782f18d67a95a1e63bdf68eedf.tar.gz gdb-fe3486178040db782f18d67a95a1e63bdf68eedf.tar.bz2 |
sim: nrun: add local strsignal prototype
While libiberty provides a definition for this for systems that lack
the function (e.g. Windows), it doesn't provide a prototype. So add
our own local copy in the one file that uses the func.
Diffstat (limited to 'sim/bfin')
-rw-r--r-- | sim/bfin/ChangeLog | 4 | ||||
-rw-r--r-- | sim/bfin/config.in | 3 | ||||
-rwxr-xr-x | sim/bfin/configure | 7 |
3 files changed, 12 insertions, 2 deletions
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog index 4db4214..9e9c13e 100644 --- a/sim/bfin/ChangeLog +++ b/sim/bfin/ChangeLog @@ -1,3 +1,7 @@ +2021-05-01 Mike Frysinger <vapier@gentoo.org> + + * config.in, configure: Regenerate. + 2021-04-26 Mike Frysinger <vapier@gentoo.org> * Makefile.in (NL_TARGET): Delete. diff --git a/sim/bfin/config.in b/sim/bfin/config.in index 5ccb707..851b3f8 100644 --- a/sim/bfin/config.in +++ b/sim/bfin/config.in @@ -109,6 +109,9 @@ /* Define to 1 if you have the <string.h> header file. */ #undef HAVE_STRING_H +/* Define to 1 if you have the `strsignal' function. */ +#undef HAVE_STRSIGNAL + /* Define to 1 if `st_atime' is a member of `struct stat'. */ #undef HAVE_STRUCT_STAT_ST_ATIME diff --git a/sim/bfin/configure b/sim/bfin/configure index 128621c..af65c13 100755 --- a/sim/bfin/configure +++ b/sim/bfin/configure @@ -2325,6 +2325,7 @@ as_fn_append ac_func_list " mmap" as_fn_append ac_func_list " munmap" as_fn_append ac_func_list " posix_fallocate" as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " strsignal" as_fn_append ac_func_list " time" as_fn_append ac_func_list " truncate" as_fn_append ac_func_list " getuid" @@ -3980,6 +3981,8 @@ done + + case `pwd` in *\ * | *\ *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 @@ -11219,7 +11222,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11222 "configure" +#line 11225 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11325,7 +11328,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11328 "configure" +#line 11331 "configure" #include "confdefs.h" #if HAVE_DLFCN_H |