Fix unexpected failures in GAS testsuite for ARM VxWorks target.
authorNick Clifton <nickc@redhat.com>
Wed, 20 Jan 2016 17:02:42 +0000 (17:02 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 20 Jan 2016 17:02:42 +0000 (17:02 +0000)
PR 19456
* testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
* testsuite/gas/arm/blx-bl-convert.d
* testsuite/gas/arm/plt-1.d: Likewise.
* testsuite/gas/arm/reloc-bad.d: Likewise.
* testsuite/gas/arm/thumb-w-good.d: Likewise.
* testsuite/gas/arm/thumb2_pool.d: Likewise.
* testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
* testsuite/gas/arm/tls_vxworks.d: Update expected output.

gas/ChangeLog
gas/testsuite/gas/arm/blx-bl-convert.d
gas/testsuite/gas/arm/ldconst.d
gas/testsuite/gas/arm/plt-1.d
gas/testsuite/gas/arm/reloc-bad.d
gas/testsuite/gas/arm/thumb-w-good.d
gas/testsuite/gas/arm/thumb2_pool.d
gas/testsuite/gas/arm/tls_vxworks.d
gas/testsuite/gas/arm/weakdef-1.d

index b5c8884b32e5f841bd49fff355073e1686bd63a1..7c59774f0aa23c17f38580e8a50fdf15a972bda9 100644 (file)
@@ -1,5 +1,15 @@
 2016-01-20  Nick Clifton  <nickc@redhat.com>
 
+       PR 19456
+       * testsuite/gas/arm/weakdef-1.d: Skip for VxWorks.
+       * testsuite/gas/arm/blx-bl-convert.d
+       * testsuite/gas/arm/plt-1.d: Likewise.
+       * testsuite/gas/arm/reloc-bad.d: Likewise.
+       * testsuite/gas/arm/thumb-w-good.d: Likewise.
+       * testsuite/gas/arm/thumb2_pool.d: Likewise.
+       * testsuite/gas/arm/ldconst.d: Adjust so that it works with VxWorks
+       * testsuite/gas/arm/tls_vxworks.d: Update expected output.
+
        PR 19499
        * doc/as.texinfo (Errors): Correct documentation describing the
        interaction of .file and .line with warning and error messages.
index 1005d0f762426fc0993085dc829d802e46379e7c..37f0b67677ddc537a282281635dacfaf7065d066 100644 (file)
@@ -1,7 +1,7 @@
 #name: blx->bl convert under no -march/cpu
 #error-output: blx-bl-convert.l
 #objdump: -d
-#skip: *-*-pe *-wince-* *-*-coff
+#skip: *-*-pe *-wince-* *-*-coff *-*-vxworks
 
 .*:     file format .*
 
index f8c273db7f0823461b9249763485ec9c249a9d16..e29acf3527c98aef42b2db104f1aa6c90547a893 100644 (file)
@@ -36,7 +36,5 @@ Disassembly of section .text:
 0+6c <[^>]*> e59f8008 ?        ldr     r8, \[pc, #8\]  ; 0+7c <[^>]*>
 0+70 <[^>]*> e59fb004 ?        ldr     fp, \[pc, #4\]  ; 0+7c <[^>]*>
 0+74 <[^>]*> e51fe000 ?        ldr     lr, \[pc, #-0\] ; 0+7c <[^>]*>
-0+78 <[^>]*> 00000000  .word   0x00000000
-                       78: R_ARM_ABS32 ext_symbol
-0+7c <[^>]*> 00001000  .word   0x00001000
-                       7c: R_ARM_ABS32 ext_symbol
+#pass
+
index d2a64f7ee84a8fe24ce53b6b9f9a24c61182850d..891270698bcb32db8f571258e234fa2d0fd0fc71 100644 (file)
@@ -2,7 +2,7 @@
 # as:
 # objdump: -dr
 # This test is only valid on ELF based ports.
-#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
+#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* *-*-vxworks
 
 .*: +file format .*arm.*
 
index 486687149883b08fb13f66ca0f496e43da01a5d6..1c40a6f89aa976089fbca7fc8d658a2764faab97 100644 (file)
@@ -1,2 +1,3 @@
 #name: Invalid relocations
 #error-output: reloc-bad.l
+#not-target: *-*-vxworks
index da25e6442a8f558b60752a24684c4abcc79c4194..4fd7da43d89307729561b9d16f12ceb46b1c0e79 100644 (file)
@@ -1,6 +1,6 @@
 #name: Wide instruction acceptance in Thumb-2 cores
 #objdump: -d --prefix-addresses --show-raw-insn
-#skip: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
+#skip: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* *-*-vxworks
 
 .*: +file format .*arm.*
 
index 8f8d881829c08795647fd7565f87d3896adde4a8..fdf63baaf342d14d001878dd02d3849fc71f1665 100644 (file)
@@ -1,7 +1,7 @@
 # as: -march=armv6t2
 # objdump: -dr --prefix-addresses --show-raw-insn
 # This test is only valid on ELF based ports.
-#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
+#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* *-*-vxworks
 
 .*: +file format .*arm.*
 
index 6303a54b0cafcc3c843ef5f6e8d4e0351588593e..62b16b86045495fd579a5c006042799fac078ea4 100644 (file)
 
 Disassembly of section .text:
 
-00+0 <main>:
-   0:  e1a00000        nop                     \(mov r0,r0\)
-   4:  e1a00000        nop                     \(mov r0,r0\)
-   8:  e1a0f00e        mov     pc, lr
-   c:  00000000        .word   0x00000000
-                       c: R_ARM_TLS_GD32       a
+00+0 <arm_fn>:
+   0:  e1a00000        nop                     \; \(mov r0, r0\)
+                       0: R_ARM_TLS_DESCSEQ    af
+   4:  e59f0014        ldr     r0, \[pc, \#20\]        ; 20 <\.arm_pool\+0x10>
+   8:  fa000000        blx     8 <ae\+0x8>
+                       8: R_ARM_TLS_CALL       ae
 # ??? The addend is appearing in both the RELA field and the
 # contents.  Shouldn't it be just one?  bfd_install_relocation
 # appears to write the addend into the contents unconditionally,
 # yet somehow this does not happen for the majority of relocations.
-  10:  00000004        .word   0x00000004
-                       10: R_ARM_TLS_LDM32     b\+0x4
-  14:  00000008        .word   0x00000008
-                       14: R_ARM_TLS_IE32      c\+0x8
-  18:  00000000        .word   0x00000000
-                       18: R_ARM_TLS_LE32      d
+   c:  e1a00000        nop                     \; \(mov r0, r0\)
+00000010 <.arm_pool>:
+  10:  00000008        .word   0x00000008
+                       10: R_ARM_TLS_GD32      aa\+0x8
+  14:  0000000c        .word   0x0000000c
+                       14: R_ARM_TLS_LDM32     ab\+0xc
+  18:  00000010        .word   0x00000010
+#pass
index 3ba6f9a48af915117e9ae13e1751a1c72d9cd28e..80535f8117aca6cacdf947b9072e8fc1241e4330 100644 (file)
@@ -2,7 +2,7 @@
 # as:
 # objdump: -dr
 # This test is only valid on ELF based ports.
-#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix*
+#not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* *-*-vxworks
 
 .*: +file format .*arm.*