[PATCH 2/13] musl libc config
authorGregor Richards <gregor.richards@uwaterloo.ca>
Fri, 8 May 2015 08:25:47 +0000 (08:25 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Fri, 8 May 2015 08:25:47 +0000 (08:25 +0000)
commit755658a56b57beca14b5fb70afdf1e588a058f7f
treed58af8e5ce6c899c1a2f997371ebaa401a793229
parent2a0e43c247254ddc5e8d670f641e301f6bb07959
[PATCH 2/13] musl libc config

2015-05-08  Gregor Richards  <gregor.richards@uwaterloo.ca>
    Szabolcs Nagy  <szabolcs.nagy@arm.com>

* config.gcc (LIBC_MUSL): New tm_defines macro.
* config/linux.h (OPTION_MUSL): Define.
(MUSL_DYNAMIC_LINKER, MUSL_DYNAMIC_LINKER32,)
(MUSL_DYNAMIC_LINKER64, MUSL_DYNAMIC_LINKERX32,)
(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.
* doc/invoke.texi (GNU/Linux Options): Document -mmusl.
* configure.ac (gcc_cv_libc_provides_ssp): Add *-*-musl*.
(gcc_cv_target_dl_iterate_phdr): Add *-linux-musl*.
* configure: Regenerate.

Co-Authored-By: Szabolcs Nagy <szabolcs.nagy@arm.com>
From-SVN: r222904
gcc/ChangeLog
gcc/config.gcc
gcc/config/linux.h
gcc/config/linux.opt
gcc/configure
gcc/configure.ac
gcc/doc/invoke.texi