diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-23 12:08:21 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-23 12:08:21 +0000 |
commit | bdd793b231c5454437e28d91ecda885a83819e66 (patch) | |
tree | 5a2534c26dcca183ded5325723da202b9e3ced1c /gcc/config.in | |
parent | 6bd88b86b4b1a4d3adc1b51f33a23191dd268d32 (diff) | |
download | gcc-bdd793b231c5454437e28d91ecda885a83819e66.tar.gz |
* configure.ac (gcc_cv_ld_eh_frame_hdr): Only check GNU ld for
--eh-frame-hdr.
Check for working Sun ld version.
(HAVE_LD_EH_FRAME_HDR): Adapt comment.
(glibc_header_dir): Set only once.
Rename to ...
(target_header_dir): ... this.
Adapt users.
(gcc_cv_target_dl_iterate_frame_hdr): Check on *-*-solaris2*.
(TARGET_DL_ITERATE_PHDR): Define if present.
* configure: Regenerate.
* config.in: Likewise.
* config/t-sol2 (LIB2ADDEH, LIB2ADDEHDEP): Define.
* crtstuff.c (USE_PT_GNU_EH_FRAME): Define for recent Solaris 11
with linker support and dl_iterate_phdr.
* unwind-dw2-fde-glibc.c (USE_PT_GNU_EH_FRAME): Likewise.
(_Unwind_IteratePhdrCallback) [PT_SUNW_UNWIND]: Also accept
PT_SUNW_UNWIND .eh_frame_hdr sections.
[CRT_GET_RFIB_DATA && __i386__ && __sun__ && __svr4__]: Add
load_base to data->dbase.
[CRT_GET_RFIB_DATA && __x86_64__ && __sun__ && __svr4__]: Handle
64-bit Solaris 10+/x86.
* config/sol2-gld.h [TARGET_DL_ITERATE_PHDR && HAVE_LD_EH_FRAME_HDR]
(LINK_EH_SPEC): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168204 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.in')
-rw-r--r-- | gcc/config.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config.in b/gcc/config.in index fff7f4d22b1..f129f3dec4b 100644 --- a/gcc/config.in +++ b/gcc/config.in @@ -1161,7 +1161,7 @@ #endif -/* Define if your linker supports --eh-frame-hdr option. */ +/* Define if your linker supports .eh_frame_hdr. */ #undef HAVE_LD_EH_FRAME_HDR /* Define if your linker supports garbage collection of sections in presence @@ -1686,6 +1686,9 @@ #endif +/* Define if your target C library provides the `dl_iterate_phdr' function. */ +#undef TARGET_DL_ITERATE_PHDR + /* Define if your target C library provides stack protector support */ #ifndef USED_FOR_TARGET #undef TARGET_LIBC_PROVIDES_SSP |