This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Add new target h8300-*-linux
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Yoshinori Sato <ysato at users dot sourceforge dot jp>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 22 Jan 2015 23:17:12 +0000
- Subject: Re: [PATCH] Add new target h8300-*-linux
- Authentication-results: sourceware.org; auth=none
- References: <8761bzqkg1 dot wl-ysato at users dot sourceforge dot jp>
On Thu, 22 Jan 2015, Yoshinori Sato wrote:
> +h8300-*-linux*)
> + tmake_file="${tmake_file} h8300/t-h8300 h8300/t-linux"
> + tm_file="h8300/linux.h dbxelf.h elfos.h linux.h"
Toplevel linux.h should always be used together with gnu-user.h and
glibc-stdint.h.
> +#define __h8300_linux__
This macro is in the implementation namespace, so should not be defined on
the host. Macros for communication between one part of the host code and
another should be in the user namespace, e.g. H8300_LINUX.
--
Joseph S. Myers
joseph@codesourcery.com