2004-08-31 02:58:14 +08:00
|
|
|
/* config.in. Generated from configure.in by autoheader. */
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2012-05-17 23:13:28 +08:00
|
|
|
/* Check that config.h is #included before system headers
|
|
|
|
(this works only for glibc, but that should be enough). */
|
2012-09-11 06:30:57 +08:00
|
|
|
#if defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__CONFIG_H__)
|
2012-05-17 23:13:28 +08:00
|
|
|
# error config.h must be #included before system headers
|
|
|
|
#endif
|
|
|
|
#define __CONFIG_H__ 1
|
|
|
|
|
2010-04-11 06:21:31 +08:00
|
|
|
/* Name of host specific core header file to include in elf.c. */
|
|
|
|
#undef CORE_HEADER
|
|
|
|
|
2006-06-05 20:28:18 +08:00
|
|
|
/* Define to 1 if translation of program messages to the user's native
|
|
|
|
language is requested. */
|
2004-08-31 02:58:14 +08:00
|
|
|
#undef ENABLE_NLS
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2007-10-16 23:15:50 +08:00
|
|
|
/* Define to 1 if you have the <alloca.h> header file. */
|
|
|
|
#undef HAVE_ALLOCA_H
|
|
|
|
|
2005-04-01 00:09:03 +08:00
|
|
|
/* Define to 1 if you have the declaration of `basename', and to 0 if you
|
|
|
|
don't. */
|
2005-03-31 23:35:38 +08:00
|
|
|
#undef HAVE_DECL_BASENAME
|
|
|
|
|
2005-04-22 21:58:14 +08:00
|
|
|
/* Define to 1 if you have the declaration of `ffs', and to 0 if you don't. */
|
|
|
|
#undef HAVE_DECL_FFS
|
|
|
|
|
|
|
|
/* Define to 1 if you have the declaration of `free', and to 0 if you don't.
|
|
|
|
*/
|
|
|
|
#undef HAVE_DECL_FREE
|
|
|
|
|
2005-04-20 23:00:15 +08:00
|
|
|
/* Define to 1 if you have the declaration of `fseeko', and to 0 if you don't.
|
|
|
|
*/
|
|
|
|
#undef HAVE_DECL_FSEEKO
|
|
|
|
|
|
|
|
/* Define to 1 if you have the declaration of `fseeko64', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_FSEEKO64
|
|
|
|
|
|
|
|
/* Define to 1 if you have the declaration of `ftello', and to 0 if you don't.
|
|
|
|
*/
|
|
|
|
#undef HAVE_DECL_FTELLO
|
|
|
|
|
|
|
|
/* Define to 1 if you have the declaration of `ftello64', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_FTELLO64
|
|
|
|
|
2005-04-22 21:58:14 +08:00
|
|
|
/* Define to 1 if you have the declaration of `getenv', and to 0 if you don't.
|
|
|
|
*/
|
|
|
|
#undef HAVE_DECL_GETENV
|
|
|
|
|
|
|
|
/* Define to 1 if you have the declaration of `malloc', and to 0 if you don't.
|
|
|
|
*/
|
|
|
|
#undef HAVE_DECL_MALLOC
|
|
|
|
|
|
|
|
/* Define to 1 if you have the declaration of `realloc', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_REALLOC
|
|
|
|
|
2005-05-28 19:44:49 +08:00
|
|
|
/* Define to 1 if you have the declaration of `snprintf', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_SNPRINTF
|
|
|
|
|
2005-05-05 06:15:30 +08:00
|
|
|
/* Define to 1 if you have the declaration of `stpcpy', and to 0 if you don't.
|
|
|
|
*/
|
|
|
|
#undef HAVE_DECL_STPCPY
|
|
|
|
|
2014-03-14 19:21:00 +08:00
|
|
|
/* Define to 1 if you have the declaration of `strnlen', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_STRNLEN
|
|
|
|
|
2005-04-22 21:58:14 +08:00
|
|
|
/* Define to 1 if you have the declaration of `strstr', and to 0 if you don't.
|
|
|
|
*/
|
|
|
|
#undef HAVE_DECL_STRSTR
|
|
|
|
|
2005-05-28 19:44:49 +08:00
|
|
|
/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_VSNPRINTF
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
|
|
|
|
*/
|
|
|
|
#undef HAVE_DIRENT_H
|
|
|
|
|
2007-07-02 15:12:53 +08:00
|
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
|
|
#undef HAVE_DLFCN_H
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the `fcntl' function. */
|
1999-05-03 15:29:11 +08:00
|
|
|
#undef HAVE_FCNTL
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the <fcntl.h> header file. */
|
|
|
|
#undef HAVE_FCNTL_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `fdopen' function. */
|
1999-05-03 15:29:11 +08:00
|
|
|
#undef HAVE_FDOPEN
|
|
|
|
|
2008-11-06 22:10:46 +08:00
|
|
|
/* Define to 1 if you have the `fileno' function. */
|
|
|
|
#undef HAVE_FILENO
|
|
|
|
|
2005-11-04 00:06:11 +08:00
|
|
|
/* Define to 1 if you have the `fopen64' function. */
|
|
|
|
#undef HAVE_FOPEN64
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the `fseeko' function. */
|
2004-02-12 06:05:35 +08:00
|
|
|
#undef HAVE_FSEEKO
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the `fseeko64' function. */
|
2004-02-12 06:05:35 +08:00
|
|
|
#undef HAVE_FSEEKO64
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the `ftello' function. */
|
2004-02-12 06:05:35 +08:00
|
|
|
#undef HAVE_FTELLO
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the `ftello64' function. */
|
2004-02-12 06:05:35 +08:00
|
|
|
#undef HAVE_FTELLO64
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the `getgid' function. */
|
1999-05-28 06:48:53 +08:00
|
|
|
#undef HAVE_GETGID
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the `getpagesize' function. */
|
1999-05-03 15:29:11 +08:00
|
|
|
#undef HAVE_GETPAGESIZE
|
|
|
|
|
2013-05-27 15:55:17 +08:00
|
|
|
/* Define to 1 if you have the `getrlimit' function. */
|
|
|
|
#undef HAVE_GETRLIMIT
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the `getuid' function. */
|
1999-05-28 06:48:53 +08:00
|
|
|
#undef HAVE_GETUID
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
|
|
#undef HAVE_INTTYPES_H
|
|
|
|
|
|
|
|
/* Define if <sys/procfs.h> has lwpstatus_t. */
|
|
|
|
#undef HAVE_LWPSTATUS_T
|
|
|
|
|
|
|
|
/* Define if <sys/procfs.h> has lwpstatus_t.pr_context. */
|
|
|
|
#undef HAVE_LWPSTATUS_T_PR_CONTEXT
|
|
|
|
|
2010-01-05 08:40:07 +08:00
|
|
|
/* Define if <sys/procfs.h> has lwpstatus_t.pr_fpreg. */
|
|
|
|
#undef HAVE_LWPSTATUS_T_PR_FPREG
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define if <sys/procfs.h> has lwpstatus_t.pr_reg. */
|
|
|
|
#undef HAVE_LWPSTATUS_T_PR_REG
|
|
|
|
|
|
|
|
/* Define if <sys/procfs.h> has lwpxstatus_t. */
|
|
|
|
#undef HAVE_LWPXSTATUS_T
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `madvise' function. */
|
1999-05-03 15:29:11 +08:00
|
|
|
#undef HAVE_MADVISE
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
|
|
#undef HAVE_MEMORY_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have a working `mmap' system call. */
|
|
|
|
#undef HAVE_MMAP
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `mprotect' function. */
|
1999-05-03 15:29:11 +08:00
|
|
|
#undef HAVE_MPROTECT
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
|
|
|
|
#undef HAVE_NDIR_H
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define if <sys/procfs.h> has prpsinfo32_t. */
|
|
|
|
#undef HAVE_PRPSINFO32_T
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2011-05-12 15:41:43 +08:00
|
|
|
/* Define if <sys/procfs.h> has prpsinfo32_t.pr_pid. */
|
|
|
|
#undef HAVE_PRPSINFO32_T_PR_PID
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define if <sys/procfs.h> has prpsinfo_t. */
|
|
|
|
#undef HAVE_PRPSINFO_T
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2011-05-12 15:41:43 +08:00
|
|
|
/* Define if <sys/procfs.h> has prpsinfo_t.pr_pid. */
|
|
|
|
#undef HAVE_PRPSINFO_T_PR_PID
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define if <sys/procfs.h> has prstatus32_t. */
|
|
|
|
#undef HAVE_PRSTATUS32_T
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define if <sys/procfs.h> has prstatus32_t.pr_who. */
|
|
|
|
#undef HAVE_PRSTATUS32_T_PR_WHO
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define if <sys/procfs.h> has prstatus_t. */
|
|
|
|
#undef HAVE_PRSTATUS_T
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define if <sys/procfs.h> has prstatus_t.pr_who. */
|
|
|
|
#undef HAVE_PRSTATUS_T_PR_WHO
|
2003-08-28 01:57:33 +08:00
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define if <sys/procfs.h> has psinfo32_t. */
|
|
|
|
#undef HAVE_PSINFO32_T
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2011-05-12 15:41:43 +08:00
|
|
|
/* Define if <sys/procfs.h> has psinfo32_t.pr_pid. */
|
|
|
|
#undef HAVE_PSINFO32_T_PR_PID
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define if <sys/procfs.h> has psinfo_t. */
|
|
|
|
#undef HAVE_PSINFO_T
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2011-05-12 15:41:43 +08:00
|
|
|
/* Define if <sys/procfs.h> has psinfo_t.pr_pid. */
|
|
|
|
#undef HAVE_PSINFO_T_PR_PID
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define if <sys/procfs.h> has pstatus32_t. */
|
|
|
|
#undef HAVE_PSTATUS32_T
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define if <sys/procfs.h> has pstatus_t. */
|
|
|
|
#undef HAVE_PSTATUS_T
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define if <sys/procfs.h> has pxstatus_t. */
|
|
|
|
#undef HAVE_PXSTATUS_T
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the `setitimer' function. */
|
|
|
|
#undef HAVE_SETITIMER
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the <stddef.h> header file. */
|
1999-05-03 15:29:11 +08:00
|
|
|
#undef HAVE_STDDEF_H
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
|
|
#undef HAVE_STDINT_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
1999-05-03 15:29:11 +08:00
|
|
|
#undef HAVE_STDLIB_H
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
1999-05-03 15:29:11 +08:00
|
|
|
#undef HAVE_STRINGS_H
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
|
|
#undef HAVE_STRING_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `strtoull' function. */
|
|
|
|
#undef HAVE_STRTOULL
|
|
|
|
|
|
|
|
/* Define if struct core_dumpx has member c_impl */
|
|
|
|
#undef HAVE_ST_C_IMPL
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `sysconf' function. */
|
|
|
|
#undef HAVE_SYSCONF
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
|
|
|
|
*/
|
1999-05-03 15:29:11 +08:00
|
|
|
#undef HAVE_SYS_DIR_H
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the <sys/file.h> header file. */
|
1999-05-03 15:29:11 +08:00
|
|
|
#undef HAVE_SYS_FILE_H
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
|
|
|
|
*/
|
1999-05-03 15:29:11 +08:00
|
|
|
#undef HAVE_SYS_NDIR_H
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the <sys/procfs.h> header file. */
|
1999-05-03 15:29:11 +08:00
|
|
|
#undef HAVE_SYS_PROCFS_H
|
|
|
|
|
2013-05-27 15:55:17 +08:00
|
|
|
/* Define to 1 if you have the <sys/resource.h> header file. */
|
|
|
|
#undef HAVE_SYS_RESOURCE_H
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
2004-03-19 15:00:51 +08:00
|
|
|
#undef HAVE_SYS_STAT_H
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the <sys/time.h> header file. */
|
1999-05-03 15:29:11 +08:00
|
|
|
#undef HAVE_SYS_TIME_H
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
2004-03-19 15:00:51 +08:00
|
|
|
#undef HAVE_SYS_TYPES_H
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the <time.h> header file. */
|
1999-05-03 15:29:11 +08:00
|
|
|
#undef HAVE_TIME_H
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
1999-05-03 15:29:11 +08:00
|
|
|
#undef HAVE_UNISTD_H
|
|
|
|
|
2013-12-17 23:39:13 +08:00
|
|
|
/* Define to 1 if you have the <wchar.h> header file. */
|
|
|
|
#undef HAVE_WCHAR_H
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define if <sys/procfs.h> has win32_pstatus_t. */
|
|
|
|
#undef HAVE_WIN32_PSTATUS_T
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2012-03-21 03:24:32 +08:00
|
|
|
/* Define to 1 if you have the <windows.h> header file. */
|
|
|
|
#undef HAVE_WINDOWS_H
|
|
|
|
|
2008-07-10 09:32:23 +08:00
|
|
|
/* Define to 1 if you have the <zlib.h> header file. */
|
|
|
|
#undef HAVE_ZLIB_H
|
|
|
|
|
2007-07-02 15:12:53 +08:00
|
|
|
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
|
|
|
*/
|
|
|
|
#undef LT_OBJDIR
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Name of package */
|
|
|
|
#undef PACKAGE
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
|
|
#undef PACKAGE_BUGREPORT
|
2000-12-01 03:16:54 +08:00
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to the full name of this package. */
|
|
|
|
#undef PACKAGE_NAME
|
2000-08-31 02:12:21 +08:00
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to the full name and version of this package. */
|
|
|
|
#undef PACKAGE_STRING
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to the one symbol short name of this package. */
|
|
|
|
#undef PACKAGE_TARNAME
|
2000-08-31 02:12:21 +08:00
|
|
|
|
2009-08-23 00:56:56 +08:00
|
|
|
/* Define to the home page for this package. */
|
|
|
|
#undef PACKAGE_URL
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to the version of this package. */
|
|
|
|
#undef PACKAGE_VERSION
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2009-08-23 00:56:56 +08:00
|
|
|
/* The size of `char', as computed by sizeof. */
|
2007-04-24 12:05:04 +08:00
|
|
|
#undef SIZEOF_CHAR
|
|
|
|
|
2009-08-23 00:56:56 +08:00
|
|
|
/* The size of `int', as computed by sizeof. */
|
2007-04-24 12:05:04 +08:00
|
|
|
#undef SIZEOF_INT
|
|
|
|
|
2009-08-23 00:56:56 +08:00
|
|
|
/* The size of `long', as computed by sizeof. */
|
2004-08-31 02:58:14 +08:00
|
|
|
#undef SIZEOF_LONG
|
2000-08-31 02:12:21 +08:00
|
|
|
|
2009-08-23 00:56:56 +08:00
|
|
|
/* The size of `long long', as computed by sizeof. */
|
2004-08-31 02:58:14 +08:00
|
|
|
#undef SIZEOF_LONG_LONG
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2009-08-23 00:56:56 +08:00
|
|
|
/* The size of `off_t', as computed by sizeof. */
|
2004-08-31 02:58:14 +08:00
|
|
|
#undef SIZEOF_OFF_T
|
2000-12-01 03:16:54 +08:00
|
|
|
|
2009-08-23 00:56:56 +08:00
|
|
|
/* The size of `short', as computed by sizeof. */
|
2007-04-24 12:05:04 +08:00
|
|
|
#undef SIZEOF_SHORT
|
|
|
|
|
2009-08-23 00:56:56 +08:00
|
|
|
/* The size of `void *', as computed by sizeof. */
|
2007-04-24 12:05:04 +08:00
|
|
|
#undef SIZEOF_VOID_P
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
|
|
#undef STDC_HEADERS
|
1999-05-03 15:29:11 +08:00
|
|
|
|
2005-05-06 02:51:14 +08:00
|
|
|
/* Define if you can safely include both <string.h> and <strings.h>. */
|
|
|
|
#undef STRING_WITH_STRINGS
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
|
|
|
#undef TIME_WITH_SYS_TIME
|
2000-01-11 02:50:16 +08:00
|
|
|
|
1999-05-03 15:29:11 +08:00
|
|
|
/* Name of host specific header file to include in trad-core.c. */
|
|
|
|
#undef TRAD_HEADER
|
|
|
|
|
2004-08-31 02:58:14 +08:00
|
|
|
/* Use b modifier when opening binary files? */
|
|
|
|
#undef USE_BINARY_FOPEN
|
2004-02-12 06:05:35 +08:00
|
|
|
|
2010-04-28 01:26:09 +08:00
|
|
|
/* Define if we should use leading underscore on 64 bit mingw targets */
|
|
|
|
#undef USE_MINGW64_LEADING_UNDERSCORES
|
|
|
|
|
1999-05-03 15:29:11 +08:00
|
|
|
/* Use mmap if it's available? */
|
|
|
|
#undef USE_MMAP
|
|
|
|
|
* configure.in (--enable-secureplt): New.
* elf64-alpha.c (INSN_LDA, INSN_LDAH, INSN_LDQ, INSN_BR): New.
(INSN_SUBQ, INSN_S4SUBQ, INSN_JMP): New.
(INSN_A, INSN_AB, INSN_ABC, INSN_ABO, INSN_AD): New.
(elf64_alpha_use_secureplt): New.
(OLD_PLT_HEADER_SIZE, OLD_PLT_ENTRY_SIZE): New.
(NEW_PLT_HEADER_SIZE, NEW_PLT_ENTRY_SIZE): New.
(PLT_HEADER_SIZE, PLT_ENTRY_SIZE): Conditionalize on secureplt.
(ALPHA_ELF_LINK_HASH_PLT_LOC): Remove.
(struct alpha_elf_link_hash_entry): Add plt_offset.
(PLT_HEADER_WORD1, PLT_HEADER_WORD2, PLT_HEADER_WORD3): Remove.
(PLT_HEADER_WORD4, PLT_ENTRY_WORD1, PLT_ENTRY_WORD2): Remove.
(PLT_ENTRY_WORD3): Remove.
(elf64_alpha_create_dynamic_sections): If secureplt, set SEC_READONLY
on .plt and create .got.plt.
(elf64_alpha_output_extsym): Remove .plt frobbing for symbol values.
(get_got_entry): Initialize plt_offset.
(elf64_alpha_want_plt): New.
(elf64_alpha_check_relocs): Use it.
(elf64_alpha_adjust_dynamic_symbol): Likewise. Don't allocate
plt entries here.
(elf64_alpha_calc_got_offsets_for_symbol): Don't report internal
error as user error.
(elf64_alpha_size_plt_section_1): Allocate one plt entry per
got subsection.
(elf64_alpha_size_plt_section): Size .got.plt section.
(elf64_alpha_size_rela_got_1): Don't allocate relocations if
plt entries used.
(elf64_alpha_size_dynamic_sections): Call elf64_alpha_size_plt_section.
Add PLTRO DYNAMIC entry.
(elf64_alpha_finish_dynamic_symbol): Generate secureplt format.
(elf64_alpha_finish_dynamic_sections): Likewise.
2005-05-30 07:13:39 +08:00
|
|
|
/* Define if we should default to creating read-only plt entries */
|
|
|
|
#undef USE_SECUREPLT
|
|
|
|
|
2007-10-16 22:42:15 +08:00
|
|
|
/* Define if we may generate symbols with ELF's STT_COMMON type */
|
|
|
|
#undef USE_STT_COMMON
|
|
|
|
|
2008-08-15 16:31:52 +08:00
|
|
|
/* Enable extensions on AIX 3, Interix. */
|
|
|
|
#ifndef _ALL_SOURCE
|
|
|
|
# undef _ALL_SOURCE
|
|
|
|
#endif
|
|
|
|
/* Enable GNU extensions on systems that have them. */
|
|
|
|
#ifndef _GNU_SOURCE
|
|
|
|
# undef _GNU_SOURCE
|
|
|
|
#endif
|
|
|
|
/* Enable threading extensions on Solaris. */
|
|
|
|
#ifndef _POSIX_PTHREAD_SEMANTICS
|
|
|
|
# undef _POSIX_PTHREAD_SEMANTICS
|
|
|
|
#endif
|
|
|
|
/* Enable extensions on HP NonStop. */
|
|
|
|
#ifndef _TANDEM_SOURCE
|
|
|
|
# undef _TANDEM_SOURCE
|
|
|
|
#endif
|
|
|
|
/* Enable general extensions on Solaris. */
|
|
|
|
#ifndef __EXTENSIONS__
|
|
|
|
# undef __EXTENSIONS__
|
|
|
|
#endif
|
|
|
|
|
2009-08-23 00:56:56 +08:00
|
|
|
|
|
|
|
/* Version number of package */
|
|
|
|
#undef VERSION
|
|
|
|
|
|
|
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
|
|
|
#undef _FILE_OFFSET_BITS
|
|
|
|
|
|
|
|
/* Define for large files, on AIX-style hosts. */
|
|
|
|
#undef _LARGE_FILES
|
|
|
|
|
|
|
|
/* Define to 1 if on MINIX. */
|
|
|
|
#undef _MINIX
|
|
|
|
|
|
|
|
/* Define to 2 if the system does not provide POSIX.1 features except with
|
|
|
|
this defined. */
|
|
|
|
#undef _POSIX_1_SOURCE
|
|
|
|
|
|
|
|
/* Define to 1 if you need to in order for `stat' and other things to work. */
|
|
|
|
#undef _POSIX_SOURCE
|