From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25759 invoked by alias); 18 May 2016 03:25:20 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 25722 invoked by uid 89); 18 May 2016 03:25:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,FSL_HELO_HOME,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,UNWANTED_LANGUAGE_BODY autolearn=ham version=3.3.2 spammy=Hx-languages-length:768 X-HELO: paperclip.tbsaunde.org Received: from tbsaunde.org (HELO paperclip.tbsaunde.org) (66.228.47.254) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 18 May 2016 03:25:10 +0000 Received: from iceball.hitronhub.home (CPE00fc8d3ff2d3-CM00fc8d3ff2d0.cpe.net.cable.rogers.com [99.242.1.93]) by paperclip.tbsaunde.org (Postfix) with ESMTPSA id 6C071C13F for ; Wed, 18 May 2016 03:25:09 +0000 (UTC) From: tbsaunde+binutils@tbsaunde.org To: binutils@sourceware.org Subject: [PATCH 2/2] rx: make field type enum Date: Wed, 18 May 2016 03:25:00 -0000 Message-Id: <1463541902-11708-2-git-send-email-tbsaunde+binutils@tbsaunde.org> In-Reply-To: <1463541902-11708-1-git-send-email-tbsaunde+binutils@tbsaunde.org> References: <1463541902-11708-1-git-send-email-tbsaunde+binutils@tbsaunde.org> X-IsSubscribed: yes X-SW-Source: 2016-05/txt/msg00229.txt.bz2 From: Trevor Saunders Hi, Same as previous with a different enum type. built and regtested cross to rx-elf, ok? Trev gas/ChangeLog: 2016-05-17 Trevor Saunders * config/tc-rx.c (struct cpu_type): Change the type of a field from int to enum rx_cpu_types. --- gas/config/tc-rx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gas/config/tc-rx.c b/gas/config/tc-rx.c index a1590ac..834a76b 100644 --- a/gas/config/tc-rx.c +++ b/gas/config/tc-rx.c @@ -109,7 +109,7 @@ size_t md_longopts_size = sizeof (md_longopts); struct cpu_type { const char *cpu_name; - int type; +enum rx_cpu_types type; }; struct cpu_type cpu_type_list[] = -- 2.7.0