Arm: Fix performance issue with thumb-2 tailcalls
[deliverable/binutils-gdb.git] / ld / testsuite / ld-arm / farcall-mixed-lib-v4t.d
index b6729b200b2da65152bde918036eece01d1ddf4a..1b15879b253ded7351277387024886dd38c62eef 100644 (file)
@@ -1,5 +1,5 @@
 tmpdir/farcall-mixed-lib.so:     file format elf32-(little|big)arm
-architecture: arm, flags 0x00000150:
+architecture: arm.*, flags 0x00000150:
 HAS_SYMS, DYNAMIC, D_PAGED
 start address 0x.*
 
@@ -7,27 +7,31 @@ Disassembly of section .plt:
 
 .* <.plt>:
  .*:   e52de004        push    {lr}            ; \(str lr, \[sp, #-4\]!\)
- .*:   e59fe004        ldr     lr, \[pc, #4\]  ; .* <lib_func1-0x.*>
+ .*:   e59fe004        ldr     lr, \[pc, #4\]  ; .* <.*>
  .*:   e08fe00e        add     lr, pc, lr
  .*:   e5bef008        ldr     pc, \[lr, #8\]!
  .*:   .*      .word   .*
+.* <app_func@plt>:
  .*:   4778            bx      pc
- .*:   46c0            nop                     ; \(mov r8, r8\)
+ .*:   e7fd            b.n     .+ <.+>
  .*:   e28fc6.*        add     ip, pc, #.*
  .*:   e28cca.*        add     ip, ip, #.*     ; 0x.*
  .*:   e5bcf.*         ldr     pc, \[ip, #.*\]!        ; .*
+.* <app_func_weak@plt>:
  .*:   4778            bx      pc
- .*:   46c0            nop                     ; \(mov r8, r8\)
+ .*:   e7fd            b.n     .+ <.+>
  .*:   e28fc6.*        add     ip, pc, #.*
  .*:   e28cca.*        add     ip, ip, #.*     ; 0x.*
  .*:   e5bcf.*         ldr     pc, \[ip, #.*\]!        ; 0x.*
+.* <lib_func3@plt>:
  .*:   4778            bx      pc
- .*:   46c0            nop                     ; \(mov r8, r8\)
+ .*:   e7fd            b.n     .+ <.+>
  .*:   e28fc6.*        add     ip, pc, #.*
  .*:   e28cca.*        add     ip, ip, #.*     ; 0x.*
  .*:   e5bcf.*         ldr     pc, \[ip, #.*\]!        ; 0x.*
+.* <lib_func4@plt>:
  .*:   4778            bx      pc
- .*:   46c0            nop                     ; \(mov r8, r8\)
+ .*:   e7fd            b.n     .+ <.+>
  .*:   e28fc6.*        add     ip, pc, #.*
  .*:   e28cca.*        add     ip, ip, #.*     ; 0x.*
  .*:   e5bcf.*         ldr     pc, \[ip, #.*\]!        ; 0x.*
@@ -37,87 +41,79 @@ Disassembly of section .text:
 .* <lib_func1>:
  .*:   e1a0c00d        mov     ip, sp
  .*:   e92dd800        push    {fp, ip, lr, pc}
- .*:   ebffff..        bl      .* <lib_func1-0x.*>
- .*:   ebffff..        bl      .* <lib_func1-0x.*>
- .*:   ebffff..        bl      .* <lib_func1-0x.*>
- .*:   ebffff..        bl      .* <lib_func1-0x.*>
+ .*:   ebffff..        bl      .* <app_func@plt\+0x.*>
+ .*:   ebffff..        bl      .* <app_func_weak@plt\+0x.*>
+ .*:   ebffff..        bl      .* <lib_func3@plt\+0x.*>
+ .*:   ebffff..        bl      .* <lib_func4@plt\+0x.*>
  .*:   e89d6800        ldm     sp, {fp, sp, lr}
  .*:   e12fff1e        bx      lr
        ...
 
 .* <__real_lib_func2>:
- .*:   f000 f80e       bl      1000330 <__app_func_from_thumb>
- .*:   f000 f81c       bl      1000350 <__app_func_weak_from_thumb>
- .*:   f000 f822       bl      1000360 <__lib_func3_from_thumb>
- .*:   f000 f810       bl      1000340 <__lib_func4_from_thumb>
+ .*:   f000 f8..       bl      .* <__app_func_from_thumb>
+ .*:   f000 f8..       bl      .* <__app_func_weak_from_thumb>
+ .*:   f000 f8..       bl      .* <__lib_func3_from_thumb>
+ .*:   f000 f8..       bl      .* <__lib_func4_from_thumb>
  .*:   4770            bx      lr
- .*:   46c0            nop                     ; \(mov r8, r8\)
- .*:   46c0            nop                     ; \(mov r8, r8\)
- .*:   46c0            nop                     ; \(mov r8, r8\)
- .*:   46c0            nop                     ; \(mov r8, r8\)
- .*:   46c0            nop                     ; \(mov r8, r8\)
- .*:   46c0            nop                     ; \(mov r8, r8\)
- .*:   46c0            nop                     ; \(mov r8, r8\)
+#...
 
 .* <__app_func_from_thumb>:
  .*:   4778            bx      pc
- .*:   46c0            nop                     ; \(mov r8, r8\)
- .*:   e59fc000        ldr     ip, \[pc, #0\]  ; 100033c <__app_func_from_thumb\+0xc>
+ .*:   e7fd            b.n     .+ <.+>
+ .*:   e59fc000        ldr     ip, \[pc\]      ; .* <__app_func_from_thumb\+0xc>
  .*:   e08cf00f        add     pc, ip, pc
- .*:   feffff68        .word   0xfeffff68
+ .*:   feffff..        .word   0xfeffff..
 
 .* <__lib_func4_from_thumb>:
  .*:   4778            bx      pc
- .*:   46c0            nop                     ; \(mov r8, r8\)
- .*:   e59fc000        ldr     ip, \[pc, #0\]  ; 100034c <__lib_func4_from_thumb\+0xc>
+ .*:   e7fd            b.n     .+ <.+>
+ .*:   e59fc000        ldr     ip, \[pc\]      ; .* <__lib_func4_from_thumb\+0xc>
  .*:   e08cf00f        add     pc, ip, pc
- .*:   feffff88        .word   0xfeffff88
+ .*:   feffff..        .word   0xfeffff..
 
 .* <__app_func_weak_from_thumb>:
  .*:   4778            bx      pc
- .*:   46c0            nop                     ; \(mov r8, r8\)
- .*:   e59fc000        ldr     ip, \[pc, #0\]  ; 100035c <__app_func_weak_from_thumb\+0xc>
+ .*:   e7fd            b.n     .+ <.+>
+ .*:   e59fc000        ldr     ip, \[pc\]      ; .* <__app_func_weak_from_thumb\+0xc>
  .*:   e08cf00f        add     pc, ip, pc
- .*:   feffff58        .word   0xfeffff58
+ .*:   feffff..        .word   0xfeffff..
 
 .* <__lib_func3_from_thumb>:
  .*:   4778            bx      pc
- .*:   46c0            nop                     ; \(mov r8, r8\)
- .*:   e59fc000        ldr     ip, \[pc, #0\]  ; 100036c <__lib_func3_from_thumb\+0xc>
+ .*:   e7fd            b.n     .+ <.+>
+ .*:   e59fc000        ldr     ip, \[pc\]      ; .* <__lib_func3_from_thumb\+0xc>
  .*:   e08cf00f        add     pc, ip, pc
- .*:   feffff58        .word   0xfeffff58
+ .*:   feffff..        .word   0xfeffff..
        ...
 
 .* <__real_lib_func3>:
- .*:   f000 f806       bl      2000380 <__app_func_from_thumb>
- .*:   f000 f80c       bl      2000390 <__app_func_weak_from_thumb>
+ .*:   f000 f80(e|6)   bl      .* <__app_func_from_thumb>
+ .*:   f000 f80(4|c)   bl      .* <__app_func_weak_from_thumb>
  .*:   4770            bx      lr
- .*:   46c0            nop                     ; \(mov r8, r8\)
- .*:   46c0            nop                     ; \(mov r8, r8\)
- .*:   46c0            nop                     ; \(mov r8, r8\)
+#...
 
-.* <__app_func_from_thumb>:
+.* <__app_func_weak_from_thumb>:
  .*:   4778            bx      pc
- .*:   46c0            nop                     ; \(mov r8, r8\)
- .*:   e59fc000        ldr     ip, \[pc, #0\]  ; 200038c <__app_func_from_thumb\+0xc>
+ .*:   e7fd            b.n     .+ <.+>
+ .*:   e59fc000        ldr     ip, \[pc\]      ; .* <__app_func_weak_from_thumb\+0xc>
  .*:   e08cf00f        add     pc, ip, pc
- .*:   fdffff18        .word   0xfdffff18
+ .*:   fdffff34        .word   0xfdffff34
 
-.* <__app_func_weak_from_thumb>:
+.* <__app_func_from_thumb>:
  .*:   4778            bx      pc
- .*:   46c0            nop                     ; \(mov r8, r8\)
- .*:   e59fc000        ldr     ip, \[pc, #0\]  ; 200039c <__app_func_weak_from_thumb\+0xc>
+ .*:   e7fd            b.n     .+ <.+>
+ .*:   e59fc000        ldr     ip, \[pc\]      ; .* <__app_func_from_thumb\+0xc>
  .*:   e08cf00f        add     pc, ip, pc
- .*:   fdffff18        .word   0xfdffff18
+ .*:   fdffff14        .word   0xfdffff14
 
 .* <lib_func3>:
- .*:   e59fc004        ldr     ip, \[pc, #4\]  ; 20003ac <lib_func3\+0xc>
+ .*:   e59fc004        ldr     ip, \[pc, #4\]  ; .* <lib_func3\+0xc>
  .*:   e08cc00f        add     ip, ip, pc
  .*:   e12fff1c        bx      ip
  .*:   ffffffc5        .word   0xffffffc5
 
 .* <lib_func2>:
- .*:   e59fc004        ldr     ip, \[pc, #4\]  ; 20003bc <lib_func2\+0xc>
+ .*:   e59fc004        ldr     ip, \[pc, #4\]  ; .* <lib_func2\+0xc>
  .*:   e08cc00f        add     ip, ip, pc
  .*:   e12fff1c        bx      ip
  .*:   feffff55        .word   0xfeffff55
This page took 0.027905 seconds and 4 git commands to generate.