From patchwork Fri Jun 9 12:53:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Richard Earnshaw \(lists\)" X-Patchwork-Id: 103481 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp194163qgd; Fri, 9 Jun 2017 05:56:27 -0700 (PDT) X-Received: by 10.99.49.206 with SMTP id x197mr42767883pgx.181.1497012987636; Fri, 09 Jun 2017 05:56:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497012987; cv=none; d=google.com; s=arc-20160816; b=OZfMPByZRyKKUgboopRWzpbGwMFJJNCwD9evTZ0kamfbJmsqt2rOrbXF+QpWEXlrcX OIeSwsNMPJzQ7WN6fNnxTCs9bum08l5ue1OlGFEQM/h9jqm8g9hJEhSENqDk0lf+JY7I k6iepSlc3/89kJKyrVgcg9ICRvIjeD4Tc9M5s/COQr5hEDwtY9mRL94HmhnPowEcmNV5 HXKLuC4Jk0wAHVcPZ5gMti+qfY+jt2hKOquShod3Kb3/Bd3GdZkW+on7qKasVT7O9isF Z1S8ro5Vmb8fxx9No/aXikgqBkD4xnVLMXj0MnxeqApkOkq0oRIDuWP7WJLtakKaB26S csjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:references:in-reply-to:references:in-reply-to :message-id:date:subject:cc:to:from:delivered-to:sender:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence :mailing-list:dkim-signature:domainkey-signature :arc-authentication-results; bh=svDKzMp3dKah09EF2fr6wQ6spcl0Y9pBMzk5sKOWczI=; b=jH133YQwNCHHNSwenktcd9tWN7jP2mPnVVUAyolXp4H3qfo70R7+ll0G+N6arEs1m4 ttRqR3FMjZqwe4RlPH8f+dr3tkquNKEGmQGAqO65u3/N7FUYOlqUVDu1+Gk70bEdJzle hr25AYp/9XXyHBTU9277c3lsttRxyjRQ03tsTr70sbHAVO/HSIa4hEqR6dAq+ySyNF2O TJWe+OVV2amGbiySTiEH3XPc6lWlwqpfua6XQDxU5ihdlQFQApSjdbKgOv95W/bzSjfE RUpP8hz/Bwr73vWbr6pC9zzBNhFbNm86dchT7n8sy9R2gKdgeEH6ZHO023QcDK4H5w0/ KSlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-return-455525-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-455525-patch=linaro.org@gcc.gnu.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id c19si926741pfe.59.2017.06.09.05.56.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Jun 2017 05:56:27 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-455525-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-return-455525-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-455525-patch=linaro.org@gcc.gnu.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references:mime-version:content-type; q=dns; s= default; b=HdwVONZsX7Tr58AFCUWDU5jSvkatZZslDGGBWmwxramT3F2k+87Vc 8TYTBT1dxsL9QaYJ+jiXTRkzMwJfB9lq7GvfI0Sh+a+L275lFh4Dhq1fXMhXnX8R MNdiitHEiS2pVJuRp6lFnEVG6C7EuA9WVJ9mdqS21DpOibrjoHOhjQ= 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:from :to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references:mime-version:content-type; s=default; bh=l2VoasfYvyp6Kqe5X61y488MWEw=; b=YGL0hmXjzjyhHV/8Ys4VDqctscYT Bj7Rsvg2ALojusLcUUP4Z6z5JKhhWctnKy3fuZLsBu0D8YR0qKJHoxsrXYDjeNCv dnHkMjgq8QtOLXCAc7VCviYrJ2+qjNo1heGawVzI6teZbv26dudTHgjrCvahO93R XXhcDkn5j/euzmg= Received: (qmail 80993 invoked by alias); 9 Jun 2017 12:54:24 -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 80648 invoked by uid 89); 9 Jun 2017 12:54:23 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.2 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_SOFTFAIL autolearn=ham version=3.3.2 spammy= X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (208.118.235.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 09 Jun 2017 12:54:17 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJJQd-0007V0-LF for gcc-patches@gcc.gnu.org; Fri, 09 Jun 2017 08:54:20 -0400 Received: from foss.arm.com ([217.140.101.70]:47128) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJJQd-0007Te-E0 for gcc-patches@gcc.gnu.org; Fri, 09 Jun 2017 08:54:15 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6821A2B; Fri, 9 Jun 2017 05:54:13 -0700 (PDT) Received: from e105689-lin.cambridge.arm.com (e105689-lin.cambridge.arm.com [10.2.207.32]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EB86A3F3E1; Fri, 9 Jun 2017 05:54:12 -0700 (PDT) From: Richard Earnshaw To: gcc-patches@gcc.gnu.org Cc: Richard Earnshaw Subject: [PATCH 07/30] [build] Make sbitmap code available to the driver programs Date: Fri, 9 Jun 2017 13:53:36 +0100 Message-Id: <6c8ee69e5b6dc87a390ba17e42d8d04739a5c7ff.1497004220.git.Richard.Earnshaw@arm.com> In-Reply-To: References: In-Reply-To: References: MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.140.101.70 The ARM option parsing code uses sbitmap data structures to manage features and upcoming patches will shortly need to use these bitmaps within the driver. This patch moves sbitmap.o from OBJS to OBJS-libcommon to facilitate this. The patch has no impact on targets that don't need this functionality, since the object is part of an archive and will only be extracted if needed. * Makefile.in (OBJS): Move sbitmap.o from here ... (OBJS-libcommon): ... to here. --- gcc/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/Makefile.in b/gcc/Makefile.in index da98c8e..67d69c1 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1441,7 +1441,6 @@ OBJS = \ rtlanal.o \ rtlhooks.o \ run-rtl-passes.o \ - sbitmap.o \ sched-deps.o \ sched-ebb.o \ sched-rgn.o \ @@ -1587,6 +1586,7 @@ OBJS = \ OBJS-libcommon = diagnostic.o diagnostic-color.o diagnostic-show-locus.o \ edit-context.o \ pretty-print.o intl.o \ + sbitmap.o \ vec.o input.o version.o hash-table.o ggc-none.o memory-block.o \ selftest.o