Arm: Clean up PE GAS testsuite correct THUMB tests.
[deliverable/binutils-gdb.git] / gas / testsuite / gas / arm / pic.d
index 5db6a61985a75cdd297c159d911aee2bea7ee3a2..bee64a4faec93cb1af78d4910f6480582941a432 100644 (file)
@@ -1,19 +1,23 @@
 #objdump: -dr --prefix-addresses --show-raw-insn
 #name: PIC
+# This test is only valid on ELF based ports.
+#notarget: *-*-pe *-*-wince
+# VxWorks needs a special variant of this file.
+#skip: *-*-vxworks*
 
 # Test generation of PIC
 
 .*: +file format .*arm.*
 
 Disassembly of section .text:
-00+0 <[^>]*> ebfffffe  bl      00+0 <[^>]*>
-                       0: R_ARM_PC24   foo
-00+4 <[^>]*> ebfffffe  bl      0[0123456789abcdef]+ <[^>]*>
-                       4: R_ARM_PLT32  foo
+00+0 <[^>]*> eb......  bl      00+. <[^>]*>
+                       0: R_ARM_(PC24|CALL)    foo.*
+00+4 <[^>]*> eb......  bl      0[0123456789abcdef]+ <[^>]*>
+                       4: R_ARM_(PLT32|CALL)   foo
        \.\.\.
                        8: R_ARM_ABS32  sym
                        c: R_ARM_GOT32  sym
-                       10: R_ARM_GOTOFF        sym
+                       10: R_ARM_GOTOFF32      sym
                        14: R_ARM_GOTPC _GLOBAL_OFFSET_TABLE_
                        18: R_ARM_TARGET1       foo2
                        1c: R_ARM_SBREL32       foo3
This page took 0.025016 seconds and 4 git commands to generate.