collect2.c (ldgetname): Check HAVE_DECL_LDGETNAME before prototyping.
* collect2.c (ldgetname): Check HAVE_DECL_LDGETNAME before prototyping. * configure.in: Check for <ldfcn.h> and ldgetname() prototype. * config.in, configure: Regenerate. From-SVN: r61511
This commit is contained in:
parent
e32894124d
commit
351df80413
@ -1,3 +1,11 @@
|
||||
2003-01-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* collect2.c (ldgetname): Check HAVE_DECL_LDGETNAME before
|
||||
prototyping.
|
||||
* configure.in: Check for <ldfcn.h> and ldgetname() prototype.
|
||||
|
||||
* config.in, configure: Regenerate.
|
||||
|
||||
2003-01-20 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* config/arm/arm.md (sibcall_epilogue): Add an
|
||||
|
@ -2720,7 +2720,9 @@ ignore_library (name)
|
||||
}
|
||||
#endif /* COLLECT_EXPORT_LIST */
|
||||
|
||||
extern char *ldgetname PARAMS ((struct ldfile *, void *));
|
||||
#if defined (HAVE_DECL_LDGETNAME) && !HAVE_DECL_LDGETNAME
|
||||
extern char *ldgetname PARAMS ((LDFILE *, GCC_SYMENT *));
|
||||
#endif
|
||||
|
||||
/* COFF version to scan the name list of the loaded program for
|
||||
the symbols g++ uses for static constructors and destructors.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* config.in. Generated automatically from configure.in by autoheader 2.13. */
|
||||
/* config.in. Generated automatically from configure.in by autoheader. */
|
||||
|
||||
/* Define if using alloca.c. */
|
||||
#undef C_ALLOCA
|
||||
@ -225,6 +225,9 @@
|
||||
/* Define if you have the <langinfo.h> header file. */
|
||||
#undef HAVE_LANGINFO_H
|
||||
|
||||
/* Define if you have the <ldfcn.h> header file. */
|
||||
#undef HAVE_LDFCN_H
|
||||
|
||||
/* Define if you have the <limits.h> header file. */
|
||||
#undef HAVE_LIMITS_H
|
||||
|
||||
@ -483,6 +486,9 @@
|
||||
/* Define to 1 if we found this declaration otherwise define to 0. */
|
||||
#undef HAVE_DECL_GETRUSAGE
|
||||
|
||||
/* Define to 1 if we found this declaration otherwise define to 0. */
|
||||
#undef HAVE_DECL_LDGETNAME
|
||||
|
||||
/* Define to 1 if we found this declaration otherwise define to 0. */
|
||||
#undef HAVE_DECL_TIMES
|
||||
|
||||
|
309
gcc/configure
vendored
309
gcc/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -569,7 +569,7 @@ AC_HEADER_SYS_WAIT
|
||||
AC_CHECK_HEADERS(limits.h stddef.h string.h strings.h stdlib.h time.h \
|
||||
fcntl.h unistd.h sys/file.h sys/time.h \
|
||||
sys/resource.h sys/param.h sys/times.h sys/stat.h \
|
||||
direct.h malloc.h langinfo.h)
|
||||
direct.h malloc.h langinfo.h ldfcn.h)
|
||||
|
||||
# Check for thread headers.
|
||||
AC_CHECK_HEADER(thread.h, [have_thread_h=yes], [have_thread_h=])
|
||||
@ -750,6 +750,14 @@ gcc_AC_CHECK_DECLS(getrlimit setrlimit getrusage, , ,[
|
||||
#endif
|
||||
])
|
||||
|
||||
gcc_AC_CHECK_DECLS(ldgetname, , ,[
|
||||
#include "ansidecl.h"
|
||||
#include "system.h"
|
||||
#ifdef HAVE_LDFCN_H
|
||||
#include <ldfcn.h>
|
||||
#endif
|
||||
])
|
||||
|
||||
gcc_AC_CHECK_DECLS(times, , ,[
|
||||
#include "ansidecl.h"
|
||||
#include "system.h"
|
||||
|
Loading…
Reference in New Issue
Block a user