public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: "Jerry Quinn" <jquinn@nortelnetworks.com>
To: binutils@sourceware.cygnus.com
Subject: Patch: update to 64 bit conditions
Date: Thu, 29 Jul 1999 12:23:00 -0000	[thread overview]
Message-ID: <31004.933276237.0@NO-ID-FOUND.mhonarc.org> (raw)

OK, that will teach me to run the test set before submitting a patch.  This
prevents 32 bit conditions from bailing in a condition argument handler.

ChangeLog:

	* gas/config/tc-hppa.c (pa_ip):  Fix handling of 32 bit conditions.

*** pa-prev/gas/config/tc-hppa.c	Wed Jul 28 15:20:14 1999
--- gas-src/gas/config/tc-hppa.c	Thu Jul 29 13:10:49 1999
***************
*** 1736,1745 ****
  			name = s;
  
  			/* 64 bit conditions.  */
! 			if (*args == 'A' && *s == '*')
! 			  s++;
! 			else
! 			  break;
  
  			while (*s != ',' && *s != ' ' && *s != '\t')
  			  s += 1;
--- 1755,1767 ----
  			name = s;
  
  			/* 64 bit conditions.  */
! 			if (*args == 'A')
! 			  {
! 			    if (*s == '*')
! 			      s++;
! 			    else
! 			      break;
! 			  }
  
  			while (*s != ',' && *s != ' ' && *s != '\t')
  			  s += 1;
***************
*** 1859,1868 ****
  		      {
  			s++;
  
! 			if (*args == 'B' && *s == '*')
! 			  s++;
! 			else
! 			  break;
  
  			if (strncmp (s, "<", 1) == 0)
  			  {
--- 1881,1893 ----
  		      {
  			s++;
  
! 			if (*args == 'B')
! 			  {
! 			    if (*s == '*')
! 			      s++;
! 			    else
! 			      break;
! 			  }
  
  			if (strncmp (s, "<", 1) == 0)
  			  {
***************
*** 1884,1900 ****
  		  case 's':
  		    cmpltr = 0;
  		    flag = 0;
  		    if (*s == ',')
  		      {
  			s++;
  			name = s;
  
  			/* 64 bit conditions.  */
! 			if (*args == 'S' && *s == '*')
! 			    s++;
! 			else
! 			  break;
  			    
  			while (*s != ',' && *s != ' ' && *s != '\t')
  			  s += 1;
--- 1909,1927 ----
  		  case 's':
  		    cmpltr = 0;
  		    flag = 0;
  		    if (*s == ',')
  		      {
  			s++;
  			name = s;
  
  			/* 64 bit conditions.  */
! 			if (*args == 'S')
! 			  {
! 			    if (*s == '*')
! 			      s++;
! 			    else
! 			      break;
! 			  }
  			    
  			while (*s != ',' && *s != ' ' && *s != '\t')
  			  s += 1;
***************
*** 2023,2032 ****
  			name = s;
  
  			/* 64 bit conditions.  */
! 			if (*args == 'L' && *s == '*')
! 			    s++;
! 			else
! 			  break;
  			    
  			while (*s != ',' && *s != ' ' && *s != '\t')
  			  s += 1;
--- 2050,2062 ----
  			name = s;
  
  			/* 64 bit conditions.  */
! 			if (*args == 'L')
! 			  {
! 			    if (*s == '*')
! 			      s++;
! 			    else
! 			      break;
! 			  }
  			    
  			while (*s != ',' && *s != ' ' && *s != '\t')
  			  s += 1;
***************
*** 2087,2096 ****
  			name = s;
  
  			/* 64 bit conditions.  */
! 			if (*args == 'X' && *s == '*')
! 			    s++;
! 			else
! 			  break;
  			    
  			while (*s != ',' && *s != ' ' && *s != '\t')
  			  s += 1;
--- 2117,2129 ----
  			name = s;
  
  			/* 64 bit conditions.  */
! 			if (*args == 'X')
! 			  {
! 			    if (*s == '*')
! 			      s++;
! 			    else
! 			      break;
! 			  }
  			    
  			while (*s != ',' && *s != ' ' && *s != '\t')
  			  s += 1;
***************
*** 2135,2144 ****
  			s++;
  	    
  			/* 64 bit conditions.  */
! 			if (*args == 'U' && *s == '*')
! 			    s++;
! 			else
! 			  break;
  			    
  			if (strncasecmp (s, "sbz", 3) == 0)
  			  {
--- 2168,2180 ----
  			s++;
  	    
  			/* 64 bit conditions.  */
! 			if (*args == 'U')
! 			  {
! 			    if (*s == '*')
! 			      s++;
! 			    else
! 			      break;
! 			  }
  			    
  			if (strncasecmp (s, "sbz", 3) == 0)
  			  {

-- 
Jerry Quinn                             Tel: (514) 761-8737
jquinn@nortelnetworks.com               Fax: (514) 761-8505
Speech Recognition Research

             reply	other threads:[~1999-07-29 12:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-29 12:23 Jerry Quinn [this message]
1999-07-29 12:23 Jerry Quinn

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=31004.933276237.0@NO-ID-FOUND.mhonarc.org \
    --to=jquinn@nortelnetworks.com \
    --cc=binutils@sourceware.cygnus.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).