From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10203 invoked by alias); 25 Apr 2006 15:47:24 -0000 Received: (qmail 10188 invoked by uid 22791); 25 Apr 2006 15:47:23 -0000 X-Spam-Check-By: sourceware.org Received: from hq.tensilica.com (HELO mailapp.tensilica.com) (65.205.227.29) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 25 Apr 2006 15:47:20 +0000 Received: from localhost ([127.0.0.1] ident=amavis) by mailapp.tensilica.com with esmtp (Exim 4.34) id 1FYPl0-0006Fn-Rd for binutils@sources.redhat.com; Tue, 25 Apr 2006 08:47:18 -0700 Received: from mailapp.tensilica.com ([127.0.0.1]) by localhost (mailapp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23593-05 for ; Tue, 25 Apr 2006 08:47:18 -0700 (PDT) Received: from heron.hq.tensilica.com ([192.168.11.123]) by mailapp.tensilica.com with esmtp (Exim 4.34) id 1FYPl0-0006Fh-Gp for binutils@sources.redhat.com; Tue, 25 Apr 2006 08:47:18 -0700 Received: from [192.168.11.123] (heron.hq.tensilica.com [192.168.11.123]) by heron.hq.tensilica.com (8.13.6/8.13.6) with ESMTP id k3PFlImf007595 for ; Tue, 25 Apr 2006 08:47:18 -0700 Message-ID: <444E4486.5060800@tensilica.com> Date: Tue, 25 Apr 2006 16:51:00 -0000 From: Bob Wilson User-Agent: Thunderbird 1.5 (X11/20060313) MIME-Version: 1.0 To: binutils@sources.redhat.com Subject: [Xtensa] add default value for new macro Content-Type: multipart/mixed; boundary="------------080803050003070507070704" Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00337.txt.bz2 This is a multi-part message in MIME format. --------------080803050003070507070704 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 584 My change on 2006-01-09 added a new XCHAL_HAVE_WIDE_BRANCHES macro to include/xtensa-config.h. That file is intended to be replaced with values to match particular Xtensa processor configurations, and if someone replaces it with an older copy of the file, the new macro may be missing. This patch adds a default value in the assembler so that it will still build with an older version of the xtensa-config.h header. Committed on mainline and the 2.17 branch. 2006-04-25 Bob Wilson * config/xtensa-relax.c (XCHAL_HAVE_WIDE_BRANCHES): Provide default. --------------080803050003070507070704 Content-Type: text/x-patch; name="gas-widebr-default.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="gas-widebr-default.diff" Content-length: 537 Index: config/xtensa-relax.c =================================================================== RCS file: /cvs/src/src/gas/config/xtensa-relax.c,v retrieving revision 1.10 diff -u -p -r1.10 xtensa-relax.c --- config/xtensa-relax.c 30 Dec 2005 23:34:00 -0000 1.10 +++ config/xtensa-relax.c 25 Apr 2006 15:38:37 -0000 @@ -101,6 +101,10 @@ #include #include "xtensa-config.h" +#ifndef XCHAL_HAVE_WIDE_BRANCHES +#define XCHAL_HAVE_WIDE_BRANCHES 0 +#endif + /* Imported from bfd. */ extern xtensa_isa xtensa_default_isa; --------------080803050003070507070704--