summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-29 06:49:53 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-29 06:49:53 +0000
commit1dcae640c979e0944f26d16e1ee52892243d7ea5 (patch)
treea1ce68dc299758e41e6aee3729b542ed987ad52b /gnu
parente8b0d3f01d916b171195912c62a286f9fc9f4372 (diff)
from netbsd
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gas/config/tc-i386.c11
-rw-r--r--gnu/usr.bin/gas/config/tc-i860.c2
2 files changed, 9 insertions, 4 deletions
diff --git a/gnu/usr.bin/gas/config/tc-i386.c b/gnu/usr.bin/gas/config/tc-i386.c
index 0e003e61260..7e16d7a8867 100644
--- a/gnu/usr.bin/gas/config/tc-i386.c
+++ b/gnu/usr.bin/gas/config/tc-i386.c
@@ -25,7 +25,7 @@
*/
#ifndef lint
-static char rcsid[] = "$Id: tc-i386.c,v 1.1 1995/10/18 08:39:04 deraadt Exp $";
+static char rcsid[] = "$Id: tc-i386.c,v 1.2 1996/01/29 06:49:46 deraadt Exp $";
#endif
#include "as.h"
@@ -1913,8 +1913,9 @@ char **argP;
int *cntP;
char ***vecP;
{
+ switch (**argP) {
#ifdef PIC
- if (argP && *argP && **argP == 'k') {
+ case 'k':
#if 00
char *tmp = xmalloc(3+1+strlen(operand_special_chars));
strcpy(tmp, operand_special_chars);
@@ -1931,8 +1932,12 @@ char ***vecP;
/* Predefine GOT symbol */
GOT_symbol = symbol_find_or_make("__GLOBAL_OFFSET_TABLE_");
- }
+ break;
#endif
+
+ default:
+ return 0;
+ }
return 1;
}
diff --git a/gnu/usr.bin/gas/config/tc-i860.c b/gnu/usr.bin/gas/config/tc-i860.c
index 01231384169..a4698f86601 100644
--- a/gnu/usr.bin/gas/config/tc-i860.c
+++ b/gnu/usr.bin/gas/config/tc-i860.c
@@ -1081,7 +1081,7 @@ char **argP;
int *cntP;
char ***vecP;
{
- return 1;
+ return 0;
}
#ifdef comment