diff options
author | Nick Clifton <nickc@redhat.com> | 2010-06-16 15:12:51 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2010-06-16 15:12:51 +0000 |
commit | 09ec0d177a3ca98495ba2c4fec834a5e1c9c3e17 (patch) | |
tree | 4eb2516612b3029b1a325bf15466984149d8a6c7 /gas | |
parent | 81efa4eed00bc6af13b4fb7b4fb3dca5def20e10 (diff) | |
download | gdb-09ec0d177a3ca98495ba2c4fec834a5e1c9c3e17.zip gdb-09ec0d177a3ca98495ba2c4fec834a5e1c9c3e17.tar.gz gdb-09ec0d177a3ca98495ba2c4fec834a5e1c9c3e17.tar.bz2 |
2010-06-16 Vincent Rivire <vincent.riviere@freesbee.fr>
PR binutils/11676
* m68k-dis.c (print_insn_arg): Prefix float constants with #0e.
2010-06-16 Nick Clifton <nickc@redhat.com>
PR binutils/11676
* gas/m68k/pr11676.s: New test.
* gas/m68k/pr11676.d: Expected disassembly.
* gas/m68k/all.exp: Run the new test.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gas/testsuite/gas/m68k/all.exp | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/m68k/pr11676.d | 9 | ||||
-rw-r--r-- | gas/testsuite/gas/m68k/pr11676.s | 4 |
4 files changed, 22 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 1a5b9f2..3a9f361 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2010-06-16 Nick Clifton <nickc@redhat.com> + + PR binutils/11676 + * gas/m68k/pr11676.s: New test. + * gas/m68k/pr11676.d: Expected disassembly. + * gas/m68k/all.exp: Run the new test. + 2010-06-15 Joseph Myers <joseph@codesourcery.com> * gas/elf/elf.exp: Set target_machine for tic6x-*-*. diff --git a/gas/testsuite/gas/m68k/all.exp b/gas/testsuite/gas/m68k/all.exp index 4a93561..eec1684 100644 --- a/gas/testsuite/gas/m68k/all.exp +++ b/gas/testsuite/gas/m68k/all.exp @@ -91,6 +91,8 @@ if { [istarget m68*-*-*] || [istarget fido*-*-*] } then { if { [istarget m68k-*-linux*] } then { run_dump_test tls-gd-3 } + + run_dump_test pr11676 } if [info exists errorInfo] then { unset errorInfo diff --git a/gas/testsuite/gas/m68k/pr11676.d b/gas/testsuite/gas/m68k/pr11676.d new file mode 100644 index 0000000..f8f79bc --- /dev/null +++ b/gas/testsuite/gas/m68k/pr11676.d @@ -0,0 +1,9 @@ +#objdump: -d --prefix-addresses +#name: PR 11676 + +# Test disassembling of floating point constants. + +.*: +file format .* + +Disassembly of section .text: +0+000 <foo>[ ]fmoves #0e1.23,%fp0 diff --git a/gas/testsuite/gas/m68k/pr11676.s b/gas/testsuite/gas/m68k/pr11676.s new file mode 100644 index 0000000..3468c6f --- /dev/null +++ b/gas/testsuite/gas/m68k/pr11676.s @@ -0,0 +1,4 @@ + .text + .global foo +foo: + fmoves #0e1.23,%fp0 |