diff options
author | David Howells <dhowells@redhat.com> | 2012-05-31 11:12:20 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2012-05-31 11:12:20 +0100 |
commit | d2cefe8543797ce8640e2c5625933fc10593d2e7 (patch) | |
tree | 66c6da6eb584af0faed58c30fe7f4d6cc649386d /binutils-2.22.52.0.3-fix-signedness-warning.patch | |
parent | d17fb9c8eb0f84d32c2664147c92761612e556cb (diff) | |
download | cross-binutils-d2cefe8543797ce8640e2c5625933fc10593d2e7.tar.gz cross-binutils-d2cefe8543797ce8640e2c5625933fc10593d2e7.tar.xz cross-binutils-d2cefe8543797ce8640e2c5625933fc10593d2e7.zip |
Fixed a warning in the assembler for h8300 that caused the build to fail.
Diffstat (limited to 'binutils-2.22.52.0.3-fix-signedness-warning.patch')
-rw-r--r-- | binutils-2.22.52.0.3-fix-signedness-warning.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/binutils-2.22.52.0.3-fix-signedness-warning.patch b/binutils-2.22.52.0.3-fix-signedness-warning.patch new file mode 100644 index 0000000..544be93 --- /dev/null +++ b/binutils-2.22.52.0.3-fix-signedness-warning.patch @@ -0,0 +1,20 @@ +--- gas/config/tc-h8300.c.signedness~ 2012-05-07 18:08:33.000000000 +0100 ++++ gas/config/tc-h8300.c 2012-05-30 21:26:20.668415305 +0100 +@@ -359,7 +359,7 @@ + static char *skip_colonthing (char *, int *); + static char *parse_exp (char *, struct h8_op *); + +-static int constant_fits_width_p (struct h8_op *, unsigned int); ++static int constant_fits_width_p (struct h8_op *, offsetT); + static int constant_fits_size_p (struct h8_op *, int, int); + + /* +@@ -561,7 +561,7 @@ + @@aa[:8] memory indirect. */ + + static int +-constant_fits_width_p (struct h8_op *operand, unsigned int width) ++constant_fits_width_p (struct h8_op *operand, offsetT width) + { + offsetT num; + |