diff options
author | Nick Clifton <nickc@redhat.com> | 2007-10-01 16:24:40 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2007-10-01 16:24:40 +0000 |
commit | 3a9eaa7da6fb02fcd137b2b7a4f99c6eb0221abd (patch) | |
tree | fb69a87a293f2a22c9828d47565883bc59147db8 /gas | |
parent | 7fac7ff4ae7bb9a3cf6be14d963944805c46a755 (diff) | |
download | gdb-3a9eaa7da6fb02fcd137b2b7a4f99c6eb0221abd.zip gdb-3a9eaa7da6fb02fcd137b2b7a4f99c6eb0221abd.tar.gz gdb-3a9eaa7da6fb02fcd137b2b7a4f99c6eb0221abd.tar.bz2 |
* gas/ppc/altivec_xcoff.s: Do not use .machine pseudo-ops as it overrides gas options.
* gas/ppc/altivec_xcoff64.s: Likewise.
* gas/ppc/booke_xcoff64.s: Likewise.
* gas/ppc/altivec_xcoff.d: Accept 32bits offsets.
* gas/ppc/booke_xcoff.s: Do not use .machine pseudo-op and remove
* booke64 opcodes.
* gas/ppc/booke_xcoff.d: Accept 32bits offsets and renumber.
* gas/ppc/booke_xcoff64.d: Use booke opcodes.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 12 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/altivec_xcoff.d | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/altivec_xcoff.s | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/altivec_xcoff64.s | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/booke_xcoff.d | 27 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/booke_xcoff.s | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/booke_xcoff64.d | 8 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/booke_xcoff64.s | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/ppc/textalign-xcoff-001.d | 6 |
9 files changed, 33 insertions, 31 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 2f84c24..7967a1a 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,15 @@ +2007-10-01 Tristan Gingold <gingold@adacore.com> + + * gas/ppc/altivec_xcoff.s: Do not use .machine pseudo-ops as it + overrides gas options. + * gas/ppc/altivec_xcoff64.s: Likewise. + * gas/ppc/booke_xcoff64.s: Likewise. + * gas/ppc/altivec_xcoff.d: Accept 32bits offsets. + * gas/ppc/booke_xcoff.s: Do not use .machine pseudo-op and remove + booke64 opcodes. + * gas/ppc/booke_xcoff.d: Accept 32bits offsets and renumber. + * gas/ppc/booke_xcoff64.d: Use booke opcodes. + 2007-09-30 H.J. Lu <hongjiu.lu@intel.com> PR gas/5080 diff --git a/gas/testsuite/gas/ppc/altivec_xcoff.d b/gas/testsuite/gas/ppc/altivec_xcoff.d index e8f0a33..6d9f8dc 100644 --- a/gas/testsuite/gas/ppc/altivec_xcoff.d +++ b/gas/testsuite/gas/ppc/altivec_xcoff.d @@ -6,7 +6,7 @@ Disassembly of section .text: -0000000000000000 <.text>: +(00000000)?00000000 <.text>: 0: 7c 60 06 6c dss 3 4: 7e 00 06 6c dssall 8: 7c 25 22 ac dst r5,r4,1 diff --git a/gas/testsuite/gas/ppc/altivec_xcoff.s b/gas/testsuite/gas/ppc/altivec_xcoff.s index 846ae56..999a075 100644 --- a/gas/testsuite/gas/ppc/altivec_xcoff.s +++ b/gas/testsuite/gas/ppc/altivec_xcoff.s @@ -1,6 +1,5 @@ # PowerPC xcoff AltiVec tests #as: -mppc -maltivec - .machine "ppc" .csect .text[PR] .csect main[DS] main: diff --git a/gas/testsuite/gas/ppc/altivec_xcoff64.s b/gas/testsuite/gas/ppc/altivec_xcoff64.s index 55b0686..6b8e21b 100644 --- a/gas/testsuite/gas/ppc/altivec_xcoff64.s +++ b/gas/testsuite/gas/ppc/altivec_xcoff64.s @@ -1,6 +1,5 @@ # PowerPC xcoff64 AltiVec tests #as: -a64 -mppc64 -maltivec - .machine "ppc64" .csect .text[PR] .csect main[DS] main: diff --git a/gas/testsuite/gas/ppc/booke_xcoff.d b/gas/testsuite/gas/ppc/booke_xcoff.d index 30a594b..dfb308d 100644 --- a/gas/testsuite/gas/ppc/booke_xcoff.d +++ b/gas/testsuite/gas/ppc/booke_xcoff.d @@ -6,23 +6,20 @@ Disassembly of section .text: -0000000000000000 <.text>: +(00000000)?00000000 <.text>: 0: 7c 22 3f 64 tlbre r1,r2,7 4: 7c be 1f a4 tlbwe r5,r30,3 8: 7c a8 48 2c icbt 5,r8,r9 c: 7c a6 02 26 mfapidi r5,r6 10: 7c 07 46 24 tlbivax r7,r8 - 14: 7c 09 56 26 tlbivaxe r9,r10 - 18: 7c 0b 67 24 tlbsx r11,r12 - 1c: 7c 0d 77 26 tlbsxe r13,r14 - 20: 7e 80 04 40 mcrxr64 cr5 - 24: 4c 00 00 66 rfci - 28: 7c 60 01 06 wrtee r3 - 2c: 7c 00 81 46 wrteei 1 - 30: 7c 85 02 06 mfdcrx r4,r5 - 34: 7c aa 3a 86 mfdcr r5,234 - 38: 7c e6 03 06 mtdcrx r6,r7 - 3c: 7d 10 6b 86 mtdcr 432,r8 - 40: 7c 00 04 ac sync - 44: 7c 09 55 ec dcba r9,r10 - 48: 7c 00 06 ac eieio + 14: 7c 0b 67 24 tlbsx r11,r12 + 18: 4c 00 00 66 rfci + 1c: 7c 60 01 06 wrtee r3 + 20: 7c 00 81 46 wrteei 1 + 24: 7c 85 02 06 mfdcrx r4,r5 + 28: 7c aa 3a 86 mfdcr r5,234 + 2c: 7c e6 03 06 mtdcrx r6,r7 + 30: 7d 10 6b 86 mtdcr 432,r8 + 34: 7c 00 04 ac msync + 38: 7c 09 55 ec dcba r9,r10 + 3c: 7c 00 06 ac mbar diff --git a/gas/testsuite/gas/ppc/booke_xcoff.s b/gas/testsuite/gas/ppc/booke_xcoff.s index d6222ab..db3578d 100644 --- a/gas/testsuite/gas/ppc/booke_xcoff.s +++ b/gas/testsuite/gas/ppc/booke_xcoff.s @@ -1,6 +1,5 @@ # Motorola PowerPC BookE tests -#as: -mppc32 -mbooke32 - .machine "ppc32" +#as: -mbooke32 .csect .text[PR] .csect main[DS] main: @@ -12,10 +11,7 @@ main: icbt 5, 8, 9 mfapidi 5, 6 tlbivax 7, 8 - tlbivaxe 9, 10 tlbsx 11, 12 - tlbsxe 13, 14 - mcrxr64 5 rfci wrtee 3 wrteei 1 diff --git a/gas/testsuite/gas/ppc/booke_xcoff64.d b/gas/testsuite/gas/ppc/booke_xcoff64.d index 646ce9d..bd0e6c8 100644 --- a/gas/testsuite/gas/ppc/booke_xcoff64.d +++ b/gas/testsuite/gas/ppc/booke_xcoff64.d @@ -13,12 +13,12 @@ Disassembly of section .text: c: 24 46 00 3d bcel 2,4\*cr1\+eq,48 <.text\+0x48> 10: 24 67 00 5a bcea 3,4\*cr1\+so,58 <.text\+0x58> 12: R_BA_16 .text - 14: 24 88 00 7b bcela 4,4\*cr2,78 <.text\+0x78> + 14: 24 88 00 7b bcela 4,4\*cr2\+lt,78 <.text\+0x78> 16: R_BA_16 .text 18: 4c a9 00 22 bclre 5,4\*cr2\+gt 1c: 4c aa 00 23 bclrel 5,4\*cr2\+eq 20: 4d 0b 04 22 bcctre 8,4\*cr2\+so - 24: 4d 0c 04 23 bcctrel 8,4\*cr3 + 24: 4d 0c 04 23 bcctrel 8,4\*cr3\+lt 28: 58 00 00 74 be 9c <.text\+0x9c> 2c: 58 00 00 89 bel b4 <.text\+0xb4> 30: 58 00 00 f2 bea f0 <.text\+0xf0> @@ -120,6 +120,6 @@ Disassembly of section .text: 1a8: 7c aa 3a 86 mfdcr r5,234 1ac: 7c e6 03 06 mtdcrx r6,r7 1b0: 7d 10 6b 86 mtdcr 432,r8 - 1b4: 7c 00 04 ac sync + 1b4: 7c 00 04 ac msync 1b8: 7c 09 55 ec dcba r9,r10 - 1bc: 7c 00 06 ac eieio + 1bc: 7c 00 06 ac mbar diff --git a/gas/testsuite/gas/ppc/booke_xcoff64.s b/gas/testsuite/gas/ppc/booke_xcoff64.s index afd6d15..e915703 100644 --- a/gas/testsuite/gas/ppc/booke_xcoff64.s +++ b/gas/testsuite/gas/ppc/booke_xcoff64.s @@ -1,6 +1,5 @@ # Motorola PowerPC BookE tests #as: -a64 -mppc64 -mbooke64 - .machine "ppc64" .csect .text[PR] .csect main[DS] main: diff --git a/gas/testsuite/gas/ppc/textalign-xcoff-001.d b/gas/testsuite/gas/ppc/textalign-xcoff-001.d index 6292c32..04ad379 100644 --- a/gas/testsuite/gas/ppc/textalign-xcoff-001.d +++ b/gas/testsuite/gas/ppc/textalign-xcoff-001.d @@ -6,9 +6,9 @@ Sections: Idx Name Size VMA LMA File off Algn - 0 \.text 00000004 0000000000000000 0000000000000000 000000a8 2\*\*2 + 0 \.text 00000004 0+0 0+0 000000a8 2\*\*2 CONTENTS, ALLOC, LOAD, CODE - 1 \.data 00000008 0000000000000004 0000000000000004 000000ac 2\*\*3 + 1 \.data 00000008 0+04 0+04 000000ac 2\*\*3 CONTENTS, ALLOC, LOAD, RELOC, DATA - 2 \.bss 00000000 000000000000000c 000000000000000c 00000000 2\*\*3 + 2 \.bss 00000000 0+0c 0+0c 00000000 2\*\*3 ALLOC |