From patchwork Mon Nov 2 05:15:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 538859 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id CF71D1402D8 for ; Mon, 2 Nov 2015 16:15:33 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=NRNG9aTt; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=RGk77vYvVnCLi6V45L13jTAXqGgW3Vl7J1tai6IUt73JlrH49V /tqolum8xlAIzrmxpUrpGQ1+bNlAxY9cbEfMtpWz4ereh0ljIk0pgxCzK25njuiM dMCp3ZWQvV/2hYMTPJ22uLRKDNWEL8/WbY/9bNHvl60GokzEXLFm+VjbU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=i2BcPd6ImEv19aMEav11RM7ODg4=; b=NRNG9aTt9KarZTxPQKjE ci6xWMa/ceXp3g/uIIHujvMS0Xv2f6y324JJda/iR89p0OXV5NOH+kQQD9DNusgh g9QwLAiB+VrY+XirO518GYAYS/K5mUsj37XzeSB3DHP20VolsS/uGGcuJ1NHVPi1 XbTUd4br7CwBzxpKrH3GRYY= Received: (qmail 35923 invoked by alias); 2 Nov 2015 05:15:18 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 35879 invoked by uid 89); 2 Nov 2015 05:15:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL, BAYES_00, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 02 Nov 2015 05:15:08 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id DC4C0C1C7517 for ; Mon, 2 Nov 2015 05:15:04 +0000 (UTC) Received: from localhost.localdomain ([10.3.113.16]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id tA25F4qw001353 for ; Mon, 2 Nov 2015 00:15:04 -0500 To: gcc-patches@gcc.gnu.org From: Jeff Law Subject: [PATCH] Fix mcore-elf builds Message-ID: <5636F158.7030507@redhat.com> Date: Sun, 1 Nov 2015 22:15:04 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 X-IsSubscribed: yes Something must have changed as mcore-elf isn't building because mcore.c doesn't have access to reg_renumber via regs.h. Fixed in the obvious way and verified that mcore-elf builds again. Jeff commit dc49c8409d2ed0ee53618fc334c7c72401550992 Author: Jeff Law Date: Sun Nov 1 22:13:54 2015 -0700 * config/mcore/mcore.c: Include regs.h. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ff4a7ff..1ce0d36 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-11-01 Jeff Law + + * config/mcore/mcore.c: Include regs.h. + 2015-10-31 Segher Boessenkool * config/rs6000/rs6000.c (rs6000_reg_live_or_pic_offset_p): Rewrite. diff --git a/gcc/config/mcore/mcore.c b/gcc/config/mcore/mcore.c index b42f633..9ca2326 100644 --- a/gcc/config/mcore/mcore.c +++ b/gcc/config/mcore/mcore.c @@ -38,6 +38,7 @@ #include "expr.h" #include "cfgrtl.h" #include "builtins.h" +#include "regs.h" /* This file should be included last. */ #include "target-def.h"