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 | |
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.
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | binutils-2.22.52.0.3-fix-signedness-warning.patch | 20 | ||||
-rw-r--r-- | cross-binutils.spec | 5 |
3 files changed, 25 insertions, 1 deletions
@@ -1,2 +1 @@ -/binutils-2.22.52.0.1.tar.bz2 /binutils-2.22.52.0.3.tar.xz 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; + diff --git a/cross-binutils.spec b/cross-binutils.spec index eb5269d..3f2dade 100644 --- a/cross-binutils.spec +++ b/cross-binutils.spec @@ -64,6 +64,8 @@ Patch08: binutils-2.22.52.0.1-relro-on-by-default.patch # Local patch - export demangle.h with the binutils-devel rpm. Patch09: binutils-2.22.52.0.1-export-demangle.h.patch +Patch100: binutils-2.22.52.0.3-fix-signedness-warning.patch + Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: texinfo >= 4.0, gettext, flex, bison, zlib-devel # Required for: ld-bootstrap/bootstrap.exp bootstrap with --static @@ -168,6 +170,8 @@ cd %{srcdir} %endif %patch09 -p0 -b .export-demangle-h~ +%patch100 -p0 -b .signedness~ + # We cannot run autotools as there is an exact requirement of autoconf-2.59. # On ppc64 we might use 64KiB pages @@ -572,6 +576,7 @@ rm -rf %{buildroot} %changelog * Wed May 30 2012 David Howells <dhowells@redhat.com> - 2.22.52.0.3-1 - Update to binutils-2.22.52.0.3. +- Fixed a warning in the assembler for h8300 that caused the build to fail. * Thu Mar 22 2012 David Howells <dhowells@redhat.com> - 2.22.52.0.1-8.1 - Initial import of cross-binutils [BZ 761619]. |