This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch: update to 64 bit conditions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]