diff options
author | Nick Clifton <nickc@redhat.com> | 2012-05-15 12:55:51 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2012-05-15 12:55:51 +0000 |
commit | 6927f98292aaa6f7fcb3152d5d902758538e626c (patch) | |
tree | b459b91d4d7f001cc57214f7c4a554b7ab3cb192 /gas/testsuite/gas/m68hc11/opers12-dwarf2.d | |
parent | 9cc815f56d3c2f1fc8f033b869693975bceb9633 (diff) | |
download | ppe42-binutils-6927f98292aaa6f7fcb3152d5d902758538e626c.tar.gz ppe42-binutils-6927f98292aaa6f7fcb3152d5d902758538e626c.zip |
* config/tc-m68hc11.c: Add S12X and XGATE co-processor support.
Add option to offset S12 addresses into XGATE memory space.
Tweak target flags to match other tools. (i.e. -m m68hc11).
* doc/as.texinfo: Mention new options.
* doc/c-m68hc11.texi: Document new options.
* NEWS: Mention new support.
* archures.c: Add bfd_arch_m9s12x and bfd_arch_m9s12xg.
* config.bfd: Likewise.
* cpu-m9s12x.c: New.
* cpu-m9s12xg.c: New.
* elf32-m68hc12.c: Add S12X and XGATE co-processor support.
Add option to offset S12 addresses into XGATE memory space.
Fix carry bug in IMM16 (IMM8 low/high) relocate.
* Makefile.am (ALL_MACHINES): Add cpu-m9s12x and cpu-m9s12xg.
(ALL_MACHINES_CFILES): Likewise.
* reloc.c: Add S12X relocs.
* Makefile.in: Regenerate.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* gas/m68hc11/insns9s12x.s: New
* gas/m68hc11/insns9s12x.d: New
* gas/m68hc11/hexprefix.s: New
* gas/m68hc11/hexprefix.d: New
* gas/m68hc11/9s12x-exg-sex-tfr.s: New
* gas/m68hc11/9s12x-exg-sex-tfr.d: New
* gas/m68hc11/insns9s12xg.s: New
* gas/m68hc11/insns9s12xg.d: New
* gas/m68hc11/9s12x-mov.s: New
* gas/m68hc11/9s12x-mov.d: New
* gas/m68hc11/m68hc11.exp: Updated
* gas/m68hc11/*.d: Brought in line with changed objdump output.
* gas/all/gas.exp: XFAIL all hc11/12 targets for redef2,3.
* gas/elf/elf.exp: XFAIL all hc11/12 targets for redef.
* gas/elf/dwarf2-1.d: Skip for hc11/12 targets.
* gas/elf/dwarf2-2.d: Likewise.
* ld-m68hc11/xgate-link.s: New.
* ld-m68hc11/xgate-link.d: New.
* ld-m68hc11/xgate-offset.s: New.
* ld-m68hc11/xgate-offset.d: New.
* ld-m68hc11/xgate1.s: New.
* ld-m68hc11/xgate1.d: New.
* ld-m68hc11/xgate2.s: New.
* ld-m68hc11/m68hc11.exp: Updated.
* ld-m68hc11/*.d: Brought in line with changed objdump output.
* ld-gc/gc.exp: Update CFLAGS for m68hc11.
* ld-plugin/plugin.exp: Likewise.
* ld-srec/srec.exp: XFAIL for m68hc11 and m68hc12.
* configure.in: Add S12X and XGATE co-processor support to m68hc11
target.
* disassemble.c: Likewise.
* configure: Regenerate.
* m68hc11-dis.c: Make objdump output more consistent, use hex
instead of decimal and use 0x prefix for hex.
* m68hc11-opc.c: Add S12X and XGATE opcodes.
* dis-asm.h (print_insn_m9s12x): Prototype.
(print_insn_m9s12xg): Prototype.
* m68hc11.h (R_M68HC12_16B, R_M68HC12_PCREL_9, R_M68HC12_PCREL_10)
R_M68HC12_HI8XG, R_M68HC12_LO8XG): New relocations.
(E_M68HC11_XGATE_RAMOFFSET): Define.
* m68hc11.h: Add XGate definitions.
(struct m68hc11_opcode): Add xg_mask field.
Diffstat (limited to 'gas/testsuite/gas/m68hc11/opers12-dwarf2.d')
-rw-r--r-- | gas/testsuite/gas/m68hc11/opers12-dwarf2.d | 136 |
1 files changed, 68 insertions, 68 deletions
diff --git a/gas/testsuite/gas/m68hc11/opers12-dwarf2.d b/gas/testsuite/gas/m68hc11/opers12-dwarf2.d index 9542460c0e..8faaf4c257 100644 --- a/gas/testsuite/gas/m68hc11/opers12-dwarf2.d +++ b/gas/testsuite/gas/m68hc11/opers12-dwarf2.d @@ -14,49 +14,49 @@ Disassembly of section .text: start: anda \[12,x\] ; Indexed indirect - 0: a4 e3 00 0c anda \[12,X\] + 0: a4 e3 00 0c anda \[0xc,X\] ldaa #10 - 4: 86 0a ldaa #10 + 4: 86 0a ldaa #0xa ldx L1 - 6: fe 00 00 ldx 0 <start> + 6: fe 00 00 ldx 0x0 <start> 0+09 <L1>: L1: ldy ,x - 9: ed 00 ldy 0,X + 9: ed 00 ldy 0x0,X addd 1,y ; Offset from register - b: e3 41 addd 1,Y + b: e3 41 addd 0x1,Y subd \-1,y - d: a3 5f subd \-1,Y + d: a3 5f subd 0xffff,Y eora 15,y - f: a8 4f eora 15,Y + f: a8 4f eora 0xf,Y eora \-16,y - 11: a8 50 eora \-16,Y + 11: a8 50 eora 0xfff0,Y eorb 16,y - 13: e8 e8 10 eorb 16,Y + 13: e8 e8 10 eorb 0x10,Y eorb \-17,y - 16: e8 e9 ef eorb \-17,Y + 16: e8 e9 ef eorb 0xffef,Y oraa 128,sp - 19: aa f0 80 oraa 128,SP + 19: aa f0 80 oraa 0x80,SP orab \-128,sp - 1c: ea f1 80 orab \-128,SP + 1c: ea f1 80 orab 0xff80,SP orab 255,x - 1f: ea e0 ff orab 255,X + 1f: ea e0 ff orab 0xff,X orab \-256,x - 22: ea e1 00 orab \-256,X + 22: ea e1 00 orab 0xff00,X anda 256,x - 25: a4 e2 01 00 anda 256,X + 25: a4 e2 01 00 anda 0x100,X andb \-257,x - 29: e4 e2 fe ff andb \-257,X + 29: e4 e2 fe ff andb 0xfeff,X anda \[12,x\] ; Indexed indirect \(16\-bit offset\) - 2d: a4 e3 00 0c anda \[12,X\] + 2d: a4 e3 00 0c anda \[0xc,X\] ldaa \[257,y\] - 31: a6 eb 01 01 ldaa \[257,Y\] + 31: a6 eb 01 01 ldaa \[0x101,Y\] ldab \[32767,sp\] - 35: e6 f3 7f ff ldab \[32767,SP\] + 35: e6 f3 7f ff ldab \[0x7fff,SP\] ldd \[32768,pc\] - 39: ec fb 80 00 ldd \[32768,PC\] + 39: ec fb 80 00 ldd \[0x8000,PC\] ldd L1,pc - 3d: ec f9 c9 ldd -55,PC \{9 <L1>\} + 3d: ec f9 c9 ldd 0xffc9,PC \{0x9 <L1>\} std a,x ; Two\-reg index 40: 6c e4 std A,X ldx b,x @@ -96,92 +96,92 @@ L1: ldy ,x std \[d,pc\] 64: 6c ff std \[D,PC\] beq L1 - 66: 27 a1 beq 9 <L1> + 66: 27 a1 beq 0x9 <L1> lbeq start - 68: 18 27 ff 94 lbeq 0 <start> + 68: 18 27 ff 94 lbeq 0x0 <start> lbcc L2 - 6c: 18 24 00 4c lbcc bc <L2> + 6c: 18 24 00 4c lbcc 0xbc <L2> ;; ;; Move insn with various operands ;; movb start, 1,x - 70: 18 09 01 00 movb 0 <start>, 1,X + 70: 18 09 01 00 movb 0x0 <start>, 0x1,X 74: 00 movw 1,x, start - 75: 18 05 01 00 movw 1,X, 0 <start> + 75: 18 05 01 00 movw 0x1,X, 0x0 <start> 79: 00 movb start, 1,\+x - 7a: 18 09 20 00 movb 0 <start>, 1,\+X + 7a: 18 09 20 00 movb 0x0 <start>, 1,\+X 7e: 00 movb start, 1,\-x - 7f: 18 09 2f 00 movb 0 <start>, 1,\-X + 7f: 18 09 2f 00 movb 0x0 <start>, 1,\-X 83: 00 movb #23, 1,\-sp - 84: 18 08 af 17 movb #23, 1,\-SP + 84: 18 08 af 17 movb #0x17, 1,\-SP movb L1, L2 - 88: 18 0c 00 00 movb 0 <start>, 0 <start> + 88: 18 0c 00 00 movb 0x0 <start>, 0x0 <start> 8c: 00 00 movb L1, a,x - 8e: 18 09 e4 00 movb 0 <start>, A,X + 8e: 18 09 e4 00 movb 0x0 <start>, A,X 92: 00 movw L1, b,x - 93: 18 01 e5 00 movw 0 <start>, B,X + 93: 18 01 e5 00 movw 0x0 <start>, B,X 97: 00 movw L1, d,x - 98: 18 01 e6 00 movw 0 <start>, D,X + 98: 18 01 e6 00 movw 0x0 <start>, D,X 9c: 00 movw d,x, a,x 9d: 18 02 e6 e4 movw D,X, A,X movw b,sp, d,pc a1: 18 02 f5 fe movw B,SP, D,PC movw b,sp, L1 - a5: 18 05 f5 00 movw B,SP, 0 <start> + a5: 18 05 f5 00 movw B,SP, 0x0 <start> a9: 00 movw b,sp, 1,x - aa: 18 02 f5 01 movw B,SP, 1,X + aa: 18 02 f5 01 movw B,SP, 0x1,X movw d,x, a,y ae: 18 02 e6 ec movw D,X, A,Y trap #0x30 - b2: 18 30 trap #48 + b2: 18 30 trap #0x30 trap #0x39 - b4: 18 39 trap #57 + b4: 18 39 trap #0x39 trap #0x40 - b6: 18 40 trap #64 + b6: 18 40 trap #0x40 trap #0x80 - b8: 18 80 trap #128 + b8: 18 80 trap #0x80 trap #255 - ba: 18 ff trap #255 + ba: 18 ff trap #0xff 0+bc <L2>: L2: movw 1,x,2,x - bc: 18 02 01 02 movw 1,X, 2,X + bc: 18 02 01 02 movw 0x1,X, 0x2,X movw \-1,\-1 - c0: 18 04 ff ff movw ffff <bb\+0xd7ff>, ffff <bb\+0xd7ff> + c0: 18 04 ff ff movw 0xffff <bb\+0xd7ff>, 0xffff <bb\+0xd7ff> c4: ff ff movw \-1,1,x - c6: 18 01 01 ff movw ffff <bb\+0xd7ff>, 1,X + c6: 18 01 01 ff movw 0xffff <bb\+0xd7ff>, 0x1,X ca: ff movw #\-1,1,x - cb: 18 00 01 ff movw #ffff <bb\+0xd7ff>, 1,X + cb: 18 00 01 ff movw #0xffff <bb\+0xd7ff>, 0x1,X cf: ff movw 3,8 - d0: 18 04 00 03 movw 3 <start\+0x3>, 8 <start\+0x8> + d0: 18 04 00 03 movw 0x3 <start\+0x3>, 0x8 <start\+0x8> d4: 00 08 movw #3,3 - d6: 18 03 00 03 movw #3 <start\+0x3>, 3 <start\+0x3> + d6: 18 03 00 03 movw #0x3 <start\+0x3>, 0x3 <start\+0x3> da: 00 03 movw #3,1,x - dc: 18 00 01 00 movw #3 <start\+0x3>, 1,X + dc: 18 00 01 00 movw #0x3 <start\+0x3>, 0x1,X e0: 03 movw 3,1,x - e1: 18 01 01 00 movw 3 <start\+0x3>, 1,X + e1: 18 01 01 00 movw 0x3 <start\+0x3>, 0x1,X e5: 03 movw 3,\+2,x - e6: 18 01 02 00 movw 3 <start\+0x3>, 2,X + e6: 18 01 02 00 movw 0x3 <start\+0x3>, 0x2,X ea: 03 movw 4,\-2,x - eb: 18 01 1e 00 movw 4 <start\+0x4>, \-2,X + eb: 18 01 1e 00 movw 0x4 <start\+0x4>, 0xfffe,X ef: 04 rts f0: 3d rts @@ -193,50 +193,50 @@ L2: post_indexed_pb: t1: leas abort,x - f1: 1b e2 00 00 leas 0,X + f1: 1b e2 00 00 leas 0x0,X 0+f5 <t2>: t2: leax t2\-t1,y - f5: 1a 44 leax 4,Y + f5: 1a 44 leax 0x4,Y leax toto,x - f7: 1a e0 64 leax 100,X + f7: 1a e0 64 leax 0x64,X leas toto\+titi,sp - fa: 1b f0 6e leas 110,SP + fa: 1b f0 6e leas 0x6e,SP leay titi,x - fd: 19 0a leay 10,X + fd: 19 0a leay 0xa,X leas bb,y - ff: 1b ea 28 00 leas 10240,Y + ff: 1b ea 28 00 leas 0x2800,Y leas min5b,pc - 103: 1b d0 leas -16,PC \{f5 <t2>\} + 103: 1b d0 leas 0xfff0,PC \{0xf5 <t2>\} leas max5b,pc - 105: 1b cf leas 15,PC \{116 <t2\+0x21>\} + 105: 1b cf leas 0xf,PC \{0x116 <t2\+0x21>\} leas min9b,pc - 107: 1b fa ff 00 leas -256,PC \{b <L1\+0x2>\} + 107: 1b fa ff 00 leas 0xff00,PC \{0xb <L1\+0x2>\} leas max9b,pc - 10b: 1b f8 ff leas 255,PC \{20d <L0\+0xd9>\} + 10b: 1b f8 ff leas 0xff,PC \{0x20d <L0\+0xd9>\} ;; ;; Disassembler bug with movb ;; movb #23,0x2345 - 10e: 18 0b 17 23 movb #23, 2345 <L0\+0x2211> + 10e: 18 0b 17 23 movb #0x17, 0x2345 <L0\+0x2211> 112: 45 movb #40,12,sp - 113: 18 08 8c 28 movb #40, 12,SP + 113: 18 08 8c 28 movb #0x28, 0xc,SP movb #39,3,\+sp - 117: 18 08 a2 27 movb #39, 3,\+SP + 117: 18 08 a2 27 movb #0x27, 3,\+SP movb #20,14,sp - 11b: 18 08 8e 14 movb #20, 14,SP + 11b: 18 08 8e 14 movb #0x14, 0xe,SP movw #0x3210,0x3456 - 11f: 18 03 32 10 movw #3210 <bb\+0xa10>, 3456 <bb\+0xc56> + 11f: 18 03 32 10 movw #0x3210 <bb\+0xa10>, 0x3456 <bb\+0xc56> 123: 34 56 movw #0x4040,12,sp - 125: 18 00 8c 40 movw #4040 <bb\+0x1840>, 12,SP + 125: 18 00 8c 40 movw #0x4040 <bb\+0x1840>, 0xc,SP 129: 40 movw #0x3900,3,\+sp - 12a: 18 00 a2 39 movw #3900 <bb\+0x1100>, 3,\+SP + 12a: 18 00 a2 39 movw #0x3900 <bb\+0x1100>, 3,\+SP 12e: 00 movw #0x2000,14,sp - 12f: 18 00 8e 20 movw #2000 <L0\+0x1ecc>, 14,SP + 12f: 18 00 8e 20 movw #0x2000 <L0\+0x1ecc>, 0xe,SP 133: 00 |