aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-i960.c
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1992-02-17 15:54:49 +0000
committerK. Richard Pixley <rich@cygnus>1992-02-17 15:54:49 +0000
commit542e1629fdd4df8920511c4eb2df15bb83feb13b (patch)
treef1b70b61ce3707e08b2f43081adfd3b4850654f3 /gas/config/tc-i960.c
parentaf2136245013fad2f72249258452d5f7154d5719 (diff)
downloadgdb-542e1629fdd4df8920511c4eb2df15bb83feb13b.zip
gdb-542e1629fdd4df8920511c4eb2df15bb83feb13b.tar.gz
gdb-542e1629fdd4df8920511c4eb2df15bb83feb13b.tar.bz2
fighting bitrot in a major way
Diffstat (limited to 'gas/config/tc-i960.c')
-rw-r--r--gas/config/tc-i960.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gas/config/tc-i960.c b/gas/config/tc-i960.c
index c2baa08..262ed8b 100644
--- a/gas/config/tc-i960.c
+++ b/gas/config/tc-i960.c
@@ -1,5 +1,5 @@
-/* i960.c - All the i80960-specific stuff
- Copyright (C) 1989, 1990, 1991 Free Software Foundation, Inc.
+/* tc-i960.c - All the i80960-specific stuff
+ Copyright (C) 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
This file is part of GAS.
@@ -496,7 +496,7 @@ char *textP; /* Source text of instruction */
/* Parse instruction into opcode and operands */
- bzero(args, sizeof(args));
+ memset(args, '\0', sizeof(args));
n_ops = i_scan(textP, args);
if (n_ops == -1){
return; /* Error message already issued */
@@ -1471,7 +1471,7 @@ struct i960_opcode *oP; /* Pointer to description of instruction */
expressionS expr; /* Parsed expression */
fixS *fixP; /*->description of deferred address fixup */
- bzero(&instr, sizeof(memS));
+ memset(&instr, '\0', sizeof(memS));
instr.opcode = oP->opcode;
/* Process operands. */
@@ -2551,7 +2551,7 @@ relax_addressT segment_address_in_file;
symbolS *symbolP;
/* JF this is for paranoia */
- bzero((char *)&ri, sizeof(ri));
+ memset((char *)&ri, '\0', sizeof(ri));
know((symbolP = fixP->fx_addsy) != 0);