config changes for musl libc support
authorGregor Richards <gregor.richards@uwaterloo.ca>
Wed, 22 Apr 2015 14:16:41 +0000 (14:16 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Wed, 22 Apr 2015 14:16:41 +0000 (14:16 +0000)
commit513686a6a7780225692162d9d5ae31c618c503e1
tree7dc2b7d7f0eaecfa789b2f5b8f781e385c6dca7d
parent96ce40cbce449cb5f434425d148a9bcf02270c96
config changes for musl libc support

On behalf of Szabolcs.Nagy@arm.com

2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>

* config.gcc (LIBC_MUSL): New tm_defines macro.
* config/linux.h (OPTION_MUSL): Define.
(INCLUDE_DEFAULTS_MUSL_GPP, INCLUDE_DEFAULTS_MUSL_LOCAL,)
(INCLUDE_DEFAULTS_MUSL_PREFIX, INCLUDE_DEFAULTS_MUSL_CROSS,)
(INCLUDE_DEFAULTS_MUSL_TOOL, INCLUDE_DEFAULTS_MUSL_NATIVE): Define.

* config/linux.opt (mmusl): New option.
* configure.ac (gcc_cv_libc_provides_ssp): Add *-*-musl*.
(gcc_cv_target_dl_iterate_phdr): Add *-linux-musl*.

* configure: Regenerate.

From-SVN: r222326
gcc/ChangeLog
gcc/config.gcc
gcc/config/linux.h
gcc/config/linux.opt
gcc/configure
gcc/configure.ac