On Mon, 2 Nov 2015, Jeff Law wrote: > Based on Bernd's comments, I think this is fine. Any sense of how much work > there is left to cleanup the runtime's inclusion of gcc's config/ target > headers?
See <https://gcc.gnu.org/wiki/Top-Level_Libgcc_Migration>. I think most of that page other than the list of target macros describes stuff that was done some time ago (which should be verified, and then the obsolete pieces removed), and the list of host-side target macros used in target-side code may not be fully up to date, but it should be indicative of what needs fixing. (The division by possible approaches for fixing each macro is extremely rough, however - probably several macros would best be fixed in some way other than the initial guess I put on that page. And if moving macros to libgcc_tm.h, note my warning at (b)(ii) in <https://gcc.gnu.org/ml/gcc/2015-02/msg00218.html> about some libgcc files not including libgcc_tm.h.) -- Joseph S. Myers jos...@codesourcery.com