]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix checking bignum values that are being inserted into byte sized containers.
authorNick Clifton <nickc@redhat.com>
Wed, 16 Mar 2016 11:33:55 +0000 (11:33 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 16 Mar 2016 11:33:55 +0000 (11:33 +0000)
commit5f2b6bc955535ebfc280a04c22c937cfedb83916
tree1e3ab4d035b80a0ea3f91f113d4bf7ce070e00e2
parent9bff188f0da2859bd5efa8d0def8c0f93d0be410
Fix checking bignum values that are being inserted into byte sized containers.

* read.c (emit_expr_with_reloc): Add code check a bignum with
nbytes == 1.
* config/rx/rx-parse.y (rx_intop): Accept bignum values for sizes
other than 32-bits.
* testsuite/gas/elf/bignum.s: New test source file.
* testsuite/gas/elf/bignum.d: New test driver file.
* testsuite/gas/elf/elf.exp: Run the new test.
gas/ChangeLog
gas/config/rx-parse.y
gas/read.c
gas/testsuite/gas/elf/bignums.d [new file with mode: 0644]
gas/testsuite/gas/elf/bignums.s [new file with mode: 0644]
gas/testsuite/gas/elf/elf.exp