public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Bob Wilson <bwilson@tensilica.com>
To: binutils@sources.redhat.com
Subject: [Xtensa] add default value for new macro
Date: Tue, 25 Apr 2006 16:51:00 -0000	[thread overview]
Message-ID: <444E4486.5060800@tensilica.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 584 bytes --]

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  <bob.wilson@acm.org>

	* config/xtensa-relax.c (XCHAL_HAVE_WIDE_BRANCHES): Provide default.

[-- Attachment #2: gas-widebr-default.diff --]
[-- Type: text/x-patch, Size: 537 bytes --]

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 <stddef.h>
 #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;
 

                 reply	other threads:[~2006-04-25 15:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=444E4486.5060800@tensilica.com \
    --to=bwilson@tensilica.com \
    --cc=binutils@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).