diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-09-10 16:01:07 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-09-10 16:01:07 +0000 |
commit | 58d4951d00478086d83aa397f03944f9a5233270 (patch) | |
tree | 6c79a9a7f3dab39dba5d1390d0508ff6b6ccdf1b /gas/config/tc-i386.c | |
parent | 941ffd19606475d07bf1713d05ff191b87f18883 (diff) | |
download | gdb-58d4951d00478086d83aa397f03944f9a5233270.zip gdb-58d4951d00478086d83aa397f03944f9a5233270.tar.gz gdb-58d4951d00478086d83aa397f03944f9a5233270.tar.bz2 |
gcc lint. See ChangeLog for details. Also:
* config/obj-elf.h (S_SET_SIZE): Actually set the size.
Diffstat (limited to 'gas/config/tc-i386.c')
-rw-r--r-- | gas/config/tc-i386.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index c77d2cb..f1d92ef 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -316,6 +316,9 @@ const pseudo_typeS md_pseudo_table[] = {"value", cons, 2}, {"noopt", s_ignore, 0}, {"optim", s_ignore, 0}, +#ifdef OBJ_ELF + {"zero", s_space, 0}, +#endif {0, 0, 0} }; @@ -2384,7 +2387,7 @@ parse_register (reg_string) s++; /* skip REGISTER_PREFIX */ for (p = reg_name_given; is_register_char (*s); p++, s++) { - *p = register_chars[*s]; + *p = register_chars[(unsigned char) *s]; if (p >= reg_name_given + MAX_REG_NAME_SIZE) return (reg_entry *) 0; } |