From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12427 invoked by alias); 22 Jan 2015 23:17:23 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 12406 invoked by uid 89); 22 Jan 2015 23:17:21 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 22 Jan 2015 23:17:19 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-FEM-01.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1YEQzz-0000Bx-LS from joseph_myers@mentor.com ; Thu, 22 Jan 2015 15:17:15 -0800 Received: from digraph.polyomino.org.uk (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.3.224.2; Thu, 22 Jan 2015 23:17:14 +0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.82) (envelope-from ) id 1YEQzw-0007ol-Tv; Thu, 22 Jan 2015 23:17:12 +0000 Date: Fri, 23 Jan 2015 01:53:00 -0000 From: Joseph Myers To: Yoshinori Sato CC: Subject: Re: [PATCH] Add new target h8300-*-linux In-Reply-To: <8761bzqkg1.wl-ysato@users.sourceforge.jp> Message-ID: References: <8761bzqkg1.wl-ysato@users.sourceforge.jp> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2015-01/txt/msg02067.txt.bz2 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