[PATCH] Add new target h8300-*-linux

Joseph Myers joseph@codesourcery.com
Fri Jan 23 01:53:00 GMT 2015


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



More information about the Gcc-patches mailing list