[PATCH]: Separate target and host config files
Richard Earnshaw
rearnsha@gcc.gnu.org
Tue May 10 08:56:00 GMT 2005
> 2005-05-06 Nathan Sidwell <nathan@codesourcery.com>
> Paolo Bonzini <bonzini@gnu.org>
>
> * Makefile.in (cs-tconfig.h): Pass USED_FOR_TARGET to mkconfig.sh
> * configure.ac (enable_checking): Fix typos in runtime_checking.
> (ENABLE_RUNTIME_CHECKING): Mark as target template.
> (xm_file): Prepend auto-host.h
> (HAVE_GAS_HIDDEN, HAVE_LD_EH_FRAME_HDR): Mark as target template.
> * mkconfig.sh: Do not automatically define USED_FOR_TARGET in
> tconfig.h.
> * crtstuff.c: Do not include auto-host.h.
> (IN_LIBGCC2): Do not define.
> * gcov-io.h: Include tconfig.h, not auto-host.h.
> * libgcc2.c: Do not include auto-host.h.
> (abort): Do not undefine.
> * libgcov.c: Remove unneeded comment about config.h.
> * unwind-dw2-fde-glibc: Do not inlude auto-host.h.
> * config.in, configure: Regenerated.
Breaks bootstrap on arm-netbsdelf2 and building any arm-elf style
cross. The problem is the removal of IN_LIBGCC when compiling
crtstuff.c, but I can't see any explanation why you wanted to do that.
On ARM that macro is needed to get a suitable static declaration of the
CTOR macros that can be used in an ASM statement.
R.
More information about the Gcc-patches
mailing list