diff options
author | Alan Modra <amodra@gmail.com> | 2017-06-20 09:30:23 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-06-21 22:45:15 +0930 |
commit | 81209eff905bf76a01bbc3dc07b8973d1d0cdaad (patch) | |
tree | 02a3217390721aa4363216ae51a26634f6634570 /ld/testsuite/ld-powerpc/tocsave2a.d | |
parent | [ARM] Simplify Tag_DSP_extension selection logic (diff) | |
download | binutils-gdb-81209eff905bf76a01bbc3dc07b8973d1d0cdaad.tar.gz binutils-gdb-81209eff905bf76a01bbc3dc07b8973d1d0cdaad.tar.bz2 binutils-gdb-81209eff905bf76a01bbc3dc07b8973d1d0cdaad.zip |
PowerPC64 tocsave testcases
* testsuite/ld-powerpc/powerpc.exp: Run TOCSAVE tests.
* testsuite/ld-powerpc/tocsave1.s,
* testsuite/ld-powerpc/tocsave1a.d,
* testsuite/ld-powerpc/tocsave1s.d,
* testsuite/ld-powerpc/tocsave2.s,
* testsuite/ld-powerpc/tocsave2a.d,
* testsuite/ld-powerpc/tocsave2s.d,
* testsuite/ld-powerpc/tocsavelib.s: New files.
Diffstat (limited to 'ld/testsuite/ld-powerpc/tocsave2a.d')
-rw-r--r-- | ld/testsuite/ld-powerpc/tocsave2a.d | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ld/testsuite/ld-powerpc/tocsave2a.d b/ld/testsuite/ld-powerpc/tocsave2a.d new file mode 100644 index 00000000000..fbae8c009dd --- /dev/null +++ b/ld/testsuite/ld-powerpc/tocsave2a.d @@ -0,0 +1,18 @@ + +.*: file format .* + +Disassembly of section \.text: + +.* <_start>: +.*: (00 00 00 60|60 00 00 00) nop +.*: (00 00 00 60|60 00 00 00) nop +.*: (00 00 00 60|60 00 00 00) nop +.*: (19 00 00 48|48 00 00 19) bl .* <foo> +.*: (00 00 00 60|60 00 00 00) nop +.*: (00 00 00 60|60 00 00 00) nop +.*: (0d 00 00 48|48 00 00 0d) bl .* <foo> +.*: (00 00 00 60|60 00 00 00) nop +.*: (20 00 80 4e|4e 80 00 20) blr + +.* <foo>: +.*: (20 00 80 4e|4e 80 00 20) blr |