From owner-freebsd-mips@FreeBSD.ORG Tue Jul 19 14:06:30 2011 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD4C51065679 for ; Tue, 19 Jul 2011 14:06:30 +0000 (UTC) (envelope-from rmh.aybabtu@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 986FC8FC0A for ; Tue, 19 Jul 2011 14:06:30 +0000 (UTC) Received: by iyb11 with SMTP id 11so5007929iyb.13 for ; Tue, 19 Jul 2011 07:06:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=ueCrPlYoqi+j81ME8rutH00bHynrgdWaxkHjpuUtgrQ=; b=hCaqGy3dt2HzqFF+COmT0GovSg8W7I3zoWUKr0pwSit6A3WUG9hqEwh7ei1Dt656e/ MluWqQOGgMH+5yWM+Zp9qNJADAYklNGS454DxWiOMwdxyFR2kB5Txecfq72ckR74XuxJ xKe5VAyTBpr+T0Xq49mugWBN9S9PElhR4C2D4= MIME-Version: 1.0 Received: by 10.42.73.9 with SMTP id q9mr9146161icj.314.1311084389905; Tue, 19 Jul 2011 07:06:29 -0700 (PDT) Sender: rmh.aybabtu@gmail.com Received: by 10.42.224.70 with HTTP; Tue, 19 Jul 2011 07:06:29 -0700 (PDT) In-Reply-To: References: Date: Tue, 19 Jul 2011 16:06:29 +0200 X-Google-Sender-Auth: DUfVSuv2lfXdnPoo6p56_UKHFwI Message-ID: From: Robert Millan To: "Jayachandran C." Content-Type: text/plain; charset=UTF-8 Cc: freebsd-mips@freebsd.org Subject: Re: [PATCH] _MIPS_SIM builtin macro X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2011 14:06:30 -0000 2011/7/19 Jayachandran C. : > The macros seems to be already there, or am I missing something here? > > [jc@daemon]$ make buildenv > Entering world for mips64eb:mips > $ touch /tmp/x.c > $ gcc -dM -E /tmp/x.c | grep SIM > #define _MIPS_SIM _ABI64 My bad. I checked gcc/config/mips/mips.h, but in FreeBSD tree they're implemented as OS-specific macros. I should have grepped in the whole tree. Sorry. -- Robert Millan