diff options
Diffstat (limited to 'ld')
30 files changed, 162 insertions, 130 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 2e13629..3333797 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,35 @@ +2009-06-30 Nick Clifton <nickc@redhat.com> + + PR 10288 + * ld-arm/arm-app.d: Update expcted disassembly. + * ld-arm/arm-be8.d: Likewise. + * ld-arm/arm-call.d: Likewise. + * ld-arm/arm-lib-plt32.d: Likewise. + * ld-arm/arm-lib.d: Likewise. + * ld-arm/arm-movwt.d: Likewise. + * ld-arm/arm-pic-veneer.d: Likewise. + * ld-arm/armthumb-lib.d: Likewise. + * ld-arm/armv4-bx.d: Likewise. + * ld-arm/cortex-a8-fix-b-rel-arm.d: Likewise. + * ld-arm/farcall-mixed-app-v5.d: Likewise. + * ld-arm/farcall-mixed-app.d: Likewise. + * ld-arm/farcall-mixed-lib.d: Likewise. + * ld-arm/farcall-thumb-arm-pic-veneer.d: Likewise. + * ld-arm/farcall-thumb-arm-short.d: Likewise. + * ld-arm/farcall-thumb-arm.d: Likewise. + * ld-arm/farcall-thumb-thumb-m-pic-veneer.d: Likewise. + * ld-arm/farcall-thumb-thumb-m.d: Likewise. + * ld-arm/farcall-thumb-thumb-pic-veneer.d: Likewise. + * ld-arm/farcall-thumb-thumb.d: Likewise. + * ld-arm/group-relocs.d: Likewise. + * ld-arm/mixed-app-v5.d: Likewise. + * ld-arm/mixed-app.d: Likewise. + * ld-arm/mixed-lib.d: Likewise. + * ld-arm/movw-merge.d: Likewise. + * ld-arm/thumb2-b-interwork.d: Likewise. + * ld-arm/tls-app.d: Likewise. + * ld-arm/tls-lib.d: Likewise. + 2009-06-29 Nick Clifton <nickc@redhat.com> PR 10288 diff --git a/ld/testsuite/ld-arm/arm-app-abs32.d b/ld/testsuite/ld-arm/arm-app-abs32.d index 25c1754..dbee189 100644 --- a/ld/testsuite/ld-arm/arm-app-abs32.d +++ b/ld/testsuite/ld-arm/arm-app-abs32.d @@ -12,7 +12,7 @@ Disassembly of section .plt: .*: e08fe00e add lr, pc, lr .*: e5bef008 ldr pc, \[lr, #8\]! .*: .* .* - .*: e28fc6.* add ip, pc, #.* ; .* + .*: e28fc6.* add ip, pc, #.* .*: e28cca.* add ip, ip, #.* ; .* .*: e5bcf.* ldr pc, \[ip, #.*\]!.* Disassembly of section .text: diff --git a/ld/testsuite/ld-arm/arm-app.d b/ld/testsuite/ld-arm/arm-app.d index dfb41413..7730e90 100644 --- a/ld/testsuite/ld-arm/arm-app.d +++ b/ld/testsuite/ld-arm/arm-app.d @@ -12,7 +12,7 @@ Disassembly of section .plt: .*: e08fe00e add lr, pc, lr .*: e5bef008 ldr pc, \[lr, #8\]! .*: .* - .*: e28fc6.* add ip, pc, #.* ; 0x.* + .*: e28fc6.* add ip, pc, #.* .*: e28cca.* add ip, ip, #.* ; 0x.* .*: e5bcf.* ldr pc, \[ip, #.*\]!.* Disassembly of section .text: diff --git a/ld/testsuite/ld-arm/arm-be8.d b/ld/testsuite/ld-arm/arm-be8.d index 9a7207f..16090b3 100644 --- a/ld/testsuite/ld-arm/arm-be8.d +++ b/ld/testsuite/ld-arm/arm-be8.d @@ -4,11 +4,11 @@ Disassembly of section .text: 00008000 <arm>: - 8000: e3a00000 mov r0, #0 ; 0x0 + 8000: e3a00000 mov r0, #0 8004: e12fff1e bx lr 00008008 <thumb>: - 8008: 46c0 nop \(mov r8, r8\) + 8008: 46c0 nop ; \(mov r8, r8\) 800a: 4770 bx lr 800c: f7ff fffc bl 8008 <thumb> diff --git a/ld/testsuite/ld-arm/arm-call.d b/ld/testsuite/ld-arm/arm-call.d index f4a9d78..891208d 100644 --- a/ld/testsuite/ld-arm/arm-call.d +++ b/ld/testsuite/ld-arm/arm-call.d @@ -26,7 +26,7 @@ Disassembly of section .text: 00008038 <t4>: 8038: 4770 bx lr - 803a: 46c0 nop \(mov r8, r8\) + 803a: 46c0 nop ; \(mov r8, r8\) 0000803c <arm>: 803c: e12fff1e bx lr @@ -40,7 +40,7 @@ Disassembly of section .text: 0000804a <t5>: 804a: f000 f801 bl 8050 <local_thumb> - 804e: 46c0 nop \(mov r8, r8\) + 804e: 46c0 nop ; \(mov r8, r8\) 00008050 <local_thumb>: 8050: f7ff fff1 bl 8036 <t3> diff --git a/ld/testsuite/ld-arm/arm-lib-plt32.d b/ld/testsuite/ld-arm/arm-lib-plt32.d index 55fdd58..3413dff 100644 --- a/ld/testsuite/ld-arm/arm-lib-plt32.d +++ b/ld/testsuite/ld-arm/arm-lib-plt32.d @@ -12,7 +12,7 @@ Disassembly of section .plt: .*: e08fe00e add lr, pc, lr .*: e5bef008 ldr pc, \[lr, #8\]! .*: .* - .*: e28fc6.* add ip, pc, #.* ; 0x.* + .*: e28fc6.* add ip, pc, #.* .*: e28cca.* add ip, ip, #.* ; 0x.* .*: e5bcf.* ldr pc, \[ip, #.*\]!.* Disassembly of section .text: diff --git a/ld/testsuite/ld-arm/arm-lib.d b/ld/testsuite/ld-arm/arm-lib.d index 132f060..3a1c777 100644 --- a/ld/testsuite/ld-arm/arm-lib.d +++ b/ld/testsuite/ld-arm/arm-lib.d @@ -12,7 +12,7 @@ Disassembly of section .plt: .*: e08fe00e add lr, pc, lr .*: e5bef008 ldr pc, \[lr, #8\]! .*: .* - .*: e28fc6.* add ip, pc, #.* ; 0x.* + .*: e28fc6.* add ip, pc, #.* .*: e28cca.* add ip, ip, #.* ; 0x.* .*: e5bcf.* ldr pc, \[ip, #.*\]!.* Disassembly of section .text: diff --git a/ld/testsuite/ld-arm/arm-movwt.d b/ld/testsuite/ld-arm/arm-movwt.d index bf55164..7d558b7 100644 --- a/ld/testsuite/ld-arm/arm-movwt.d +++ b/ld/testsuite/ld-arm/arm-movwt.d @@ -4,21 +4,21 @@ Disassembly of section .text: 00008000 <[^>]*>: - 8000: e3000000 movw r0, #0 ; 0x0 + 8000: e3000000 movw r0, #0 8004: e3411234 movt r1, #4660 ; 0x1234 8008: e3082000 movw r2, #32768 ; 0x8000 800c: e3413233 movt r3, #4659 ; 0x1233 - 8010: e3004011 movw r4, #17 ; 0x11 + 8010: e3004011 movw r4, #17 8014: e3415234 movt r5, #4660 ; 0x1234 8018: e3086011 movw r6, #32785 ; 0x8011 801c: e3417233 movt r7, #4659 ; 0x1233 00008020 <[^>]*>: - 8020: f240 0700 movw r7, #0 ; 0x0 + 8020: f240 0700 movw r7, #0 8024: f2c1 2634 movt r6, #4660 ; 0x1234 8028: f248 0500 movw r5, #32768 ; 0x8000 802c: f2c1 2433 movt r4, #4659 ; 0x1233 - 8030: f240 0311 movw r3, #17 ; 0x11 + 8030: f240 0311 movw r3, #17 8034: f2c1 2234 movt r2, #4660 ; 0x1234 8038: f248 0111 movw r1, #32785 ; 0x8011 803c: f2c1 2033 movt r0, #4659 ; 0x1233 diff --git a/ld/testsuite/ld-arm/arm-pic-veneer.d b/ld/testsuite/ld-arm/arm-pic-veneer.d index edcdb83..08e107b 100644 --- a/ld/testsuite/ld-arm/arm-pic-veneer.d +++ b/ld/testsuite/ld-arm/arm-pic-veneer.d @@ -7,7 +7,7 @@ Disassembly of section .text: 8000: ea...... b 800. <.*> 00008004 <foo>: - 8004: 46c0 nop \(mov r8, r8\) + 8004: 46c0 nop ; \(mov r8, r8\) 8006: 4770 bx lr 00008008 <__foo_from_arm>: diff --git a/ld/testsuite/ld-arm/armthumb-lib.d b/ld/testsuite/ld-arm/armthumb-lib.d index 497cb34..6486ad5 100644 --- a/ld/testsuite/ld-arm/armthumb-lib.d +++ b/ld/testsuite/ld-arm/armthumb-lib.d @@ -12,7 +12,7 @@ Disassembly of section .plt: .*: e08fe00e add lr, pc, lr .*: e5bef008 ldr pc, \[lr, #8\]! .*: .* - .*: e28fc6.* add ip, pc, #.* ; 0x.* + .*: e28fc6.* add ip, pc, #.* .*: e28cca.* add ip, ip, #.* ; 0x.* .*: e5bcf.* ldr pc, \[ip, #.*\]!.* Disassembly of section .text: @@ -23,19 +23,19 @@ Disassembly of section .text: .*: ebfffff. bl .* <lib_func1-0x..?> .*: e89d6800 ldm sp, {fp, sp, lr} .*: e12fff1e bx lr - .*: e1a00000 nop \(mov r0,r0\) - .*: e1a00000 nop \(mov r0,r0\) - .*: e1a00000 nop \(mov r0,r0\) + .*: e1a00000 nop ; \(mov r0, r0\) + .*: e1a00000 nop ; \(mov r0, r0\) + .*: e1a00000 nop ; \(mov r0, r0\) .* <__real_lib_func2>: .*: 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\) + .*: 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\) .* <lib_func2>: .*: e59fc004 ldr ip, \[pc, #4\] ; .* <lib_func2\+0xc> diff --git a/ld/testsuite/ld-arm/armv4-bx.d b/ld/testsuite/ld-arm/armv4-bx.d index 095b387..b30af8c 100644 --- a/ld/testsuite/ld-arm/armv4-bx.d +++ b/ld/testsuite/ld-arm/armv4-bx.d @@ -9,11 +9,11 @@ Disassembly of section \.text: 8008: 0a000002 beq 8018 \<__bx_r0\> 0000800c <__bx_r14>: - 800c: e31e0001 tst lr, #1 ; 0x1 + 800c: e31e0001 tst lr, #1 8010: 01a0f00e moveq pc, lr 8014: e12fff1e bx lr 00008018 <__bx_r0>: - 8018: e3100001 tst r0, #1 ; 0x1 + 8018: e3100001 tst r0, #1 801c: 01a0f000 moveq pc, r0 8020: e12fff10 bx r0 diff --git a/ld/testsuite/ld-arm/cortex-a8-fix-b-rel-arm.d b/ld/testsuite/ld-arm/cortex-a8-fix-b-rel-arm.d index 0a2b0bd..195a51b 100644 --- a/ld/testsuite/ld-arm/cortex-a8-fix-b-rel-arm.d +++ b/ld/testsuite/ld-arm/cortex-a8-fix-b-rel-arm.d @@ -79,5 +79,5 @@ Disassembly of section \.text: 00009010 <__targetfn_from_thumb>: 9010: 4778 bx pc - 9012: 46c0 nop \(mov r8, r8\) + 9012: 46c0 nop ; \(mov r8, r8\) 9014: eaffffb9 b 8f00 <targetfn> diff --git a/ld/testsuite/ld-arm/farcall-mixed-app-v5.d b/ld/testsuite/ld-arm/farcall-mixed-app-v5.d index 035d1f8..d0ff22e 100644 --- a/ld/testsuite/ld-arm/farcall-mixed-app-v5.d +++ b/ld/testsuite/ld-arm/farcall-mixed-app-v5.d @@ -12,10 +12,10 @@ Disassembly of section .plt: .*: e08fe00e add lr, pc, lr .*: e5bef008 ldr pc, \[lr, #8\]! .*: .* - .*: e28fc6.* add ip, pc, #.* ; 0x.* + .*: e28fc6.* add ip, pc, #.* .*: e28cca.* add ip, ip, #.* ; 0x.* .*: e5bcf.* ldr pc, \[ip, #.*\]!.* - .*: e28fc6.* add ip, pc, #.* ; 0x.* + .*: e28fc6.* add ip, pc, #.* .*: e28cca.* add ip, ip, #.* ; 0x.* .*: e5bcf.* ldr pc, \[ip, #.*\]!.* @@ -29,16 +29,16 @@ Disassembly of section .text: .*: ebfffff4 bl .* <_start-0x18> .*: e89d6800 ldm sp, {fp, sp, lr} .*: e12fff1e bx lr - .*: e1a00000 nop \(mov r0,r0\) + .*: e1a00000 nop ; \(mov r0, r0\) .* <app_tfunc_close>: .*: b500 push {lr} .*: f7ff efe2 blx .* <_start-0x18> .*: bd00 pop {pc} .*: 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\) .* <__app_func_veneer>: .*: e51ff004 ldr pc, \[pc, #-4\] ; .* <__app_func_veneer\+0x4> @@ -53,14 +53,14 @@ Disassembly of section .far_arm: .*: eb000007 bl .* <__lib_func2_veneer> .*: e89d6800 ldm sp, {fp, sp, lr} .*: e12fff1e bx lr - .*: e1a00000 nop \(mov r0,r0\) - .*: e1a00000 nop \(mov r0,r0\) + .*: e1a00000 nop ; \(mov r0, r0\) + .*: e1a00000 nop ; \(mov r0, r0\) .* <app_func2>: .*: e12fff1e bx lr - .*: e1a00000 nop \(mov r0,r0\) - .*: e1a00000 nop \(mov r0,r0\) - .*: e1a00000 nop \(mov r0,r0\) + .*: e1a00000 nop ; \(mov r0, r0\) + .*: e1a00000 nop ; \(mov r0, r0\) + .*: e1a00000 nop ; \(mov r0, r0\) .* <__lib_func2_veneer>: .*: e51ff004 ldr pc, \[pc, #-4\] ; 2100034 <__lib_func2_veneer\+0x4> @@ -76,9 +76,9 @@ Disassembly of section .far_thumb: .*: f000 e806 blx .* <__lib_func2_from_thumb> .*: bd00 pop {pc} .*: 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\) .* <__lib_func2_from_thumb>: .*: e51ff004 ldr pc, \[pc, #-4\] ; 2200014 <__lib_func2_from_thumb\+0x4> diff --git a/ld/testsuite/ld-arm/farcall-mixed-app.d b/ld/testsuite/ld-arm/farcall-mixed-app.d index 695c49a..5b6eafb 100644 --- a/ld/testsuite/ld-arm/farcall-mixed-app.d +++ b/ld/testsuite/ld-arm/farcall-mixed-app.d @@ -13,11 +13,11 @@ Disassembly of section .plt: .*: e5bef008 ldr pc, \[lr, #8\]! .*: .* .*: 4778 bx pc - .*: 46c0 nop \(mov r8, r8\) - .*: e28fc6.* add ip, pc, #.* ; 0x.* + .*: 46c0 nop ; \(mov r8, r8\) + .*: e28fc6.* add ip, pc, #.* .*: e28cca.* add ip, ip, #.* ; 0x.* .*: e5bcf.* ldr pc, \[ip, #.*\]!.* - .*: e28fc6.* add ip, pc, #.* ; 0x.* + .*: e28fc6.* add ip, pc, #.* .*: e28cca.* add ip, ip, #.* ; 0x.* .*: e5bcf.* ldr pc, \[ip, #.*\]!.* @@ -31,16 +31,16 @@ Disassembly of section .text: .*: ebfffff1 bl .* <_start-0x24> .*: e89d6800 ldm sp, {fp, sp, lr} .*: e12fff1e bx lr - .*: e1a00000 nop \(mov r0,r0\) + .*: e1a00000 nop ; \(mov r0, r0\) .* <app_tfunc_close>: .*: b500 push {lr} .*: f7ff ffd9 bl 8218 <_start-0x28> .*: bd00 pop {pc} .*: 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\) .* <__app_func_veneer>: .*: e51ff004 ldr pc, \[pc, #-4\] ; 8274 <__app_func_veneer\+0x4> @@ -55,14 +55,14 @@ Disassembly of section .far_arm: .*: eb000007 bl .* <__lib_func2_veneer> .*: e89d6800 ldm sp, {fp, sp, lr} .*: e12fff1e bx lr - .*: e1a00000 nop \(mov r0,r0\) - .*: e1a00000 nop \(mov r0,r0\) + .*: e1a00000 nop ; \(mov r0, r0\) + .*: e1a00000 nop ; \(mov r0, r0\) .* <app_func2>: .*: e12fff1e bx lr - .*: e1a00000 nop \(mov r0,r0\) - .*: e1a00000 nop \(mov r0,r0\) - .*: e1a00000 nop \(mov r0,r0\) + .*: e1a00000 nop ; \(mov r0, r0\) + .*: e1a00000 nop ; \(mov r0, r0\) + .*: e1a00000 nop ; \(mov r0, r0\) .* <__lib_func2_veneer>: .*: e51ff004 ldr pc, \[pc, #-4\] ; 2100034 <__lib_func2_veneer\+0x4> @@ -78,13 +78,13 @@ Disassembly of section .far_thumb: .*: f000 f805 bl .* <__lib_func2_from_thumb> .*: bd00 pop {pc} .*: 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\) .* <__lib_func2_from_thumb>: .*: 4778 bx pc - .*: 46c0 nop \(mov r8, r8\) + .*: 46c0 nop ; \(mov r8, r8\) .*: e51ff004 ldr pc, \[pc, #-4\] ; 2200018 <__lib_func2_from_thumb\+0x8> .*: 0000821c .word 0x0000821c .*: 00000000 .word 0x00000000 diff --git a/ld/testsuite/ld-arm/farcall-mixed-lib.d b/ld/testsuite/ld-arm/farcall-mixed-lib.d index 2cf164e..e03fb3c 100644 --- a/ld/testsuite/ld-arm/farcall-mixed-lib.d +++ b/ld/testsuite/ld-arm/farcall-mixed-lib.d @@ -11,16 +11,16 @@ Disassembly of section .plt: .*: e08fe00e add lr, pc, lr .*: e5bef008 ldr pc, \[lr, #8\]! .*: .* - .*: e28fc6.* add ip, pc, #.* ; 0x.* + .*: e28fc6.* add ip, pc, #.* .*: e28cca.* add ip, ip, #.* ; 0x.* .*: e5bcf.* ldr pc, \[ip, #.*\]!.* - .*: e28fc6.* add ip, pc, #.* ; 0x.* + .*: e28fc6.* add ip, pc, #.* .*: e28cca.* add ip, ip, #.* ; 0x.* .*: e5bcf.* ldr pc, \[ip, #.*\]!.* - .*: e28fc6.* add ip, pc, #.* ; 0x.* + .*: e28fc6.* add ip, pc, #.* .*: e28cca.* add ip, ip, #.* ; 0x.* .*: e5bcf.* ldr pc, \[ip, #.*\]!.* - .*: e28fc6.* add ip, pc, #.* ; 0x.* + .*: e28fc6.* add ip, pc, #.* .*: e28cca.* add ip, ip, #.* ; 0x.* .*: e5bcf.* ldr pc, \[ip, #.*\]!.* @@ -43,13 +43,13 @@ Disassembly of section .text: .*: f000 e810 blx 100035c <__lib_func3_from_thumb> .*: f000 e81a blx 1000374 <__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\) + .*: 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>: .*: e59fc000 ldr ip, \[pc, #0\] ; 1000358 <__app_func_from_thumb\+0x8> @@ -76,9 +76,9 @@ Disassembly of section .text: .*: f000 e80c blx 20003ac <__app_func_from_thumb> .*: f000 e804 blx 20003a0 <__app_func_weak_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\) .* <__app_func_weak_from_thumb>: .*: e59fc000 ldr ip, \[pc, #0\] ; 20003a8 <__app_func_weak_from_thumb\+0x8> diff --git a/ld/testsuite/ld-arm/farcall-thumb-arm-pic-veneer.d b/ld/testsuite/ld-arm/farcall-thumb-arm-pic-veneer.d index 6ac6e5c..e22824a 100644 --- a/ld/testsuite/ld-arm/farcall-thumb-arm-pic-veneer.d +++ b/ld/testsuite/ld-arm/farcall-thumb-arm-pic-veneer.d @@ -9,7 +9,7 @@ Disassembly of section .text: 00001008 <__bar_from_thumb>: 1008: 4778 bx pc - 100a: 46c0 nop \(mov r8, r8\) + 100a: 46c0 nop ; \(mov r8, r8\) 100c: e59fc000 ldr ip, \[pc, #0\] ; 1014 <__bar_from_thumb\+0xc> 1010: e08cf00f add pc, ip, pc 1014: 01fffffc .word 0x01fffffc diff --git a/ld/testsuite/ld-arm/farcall-thumb-arm-short.d b/ld/testsuite/ld-arm/farcall-thumb-arm-short.d index ed235d3..f4caf87 100644 --- a/ld/testsuite/ld-arm/farcall-thumb-arm-short.d +++ b/ld/testsuite/ld-arm/farcall-thumb-arm-short.d @@ -9,7 +9,7 @@ Disassembly of section .text: 00001008 <__bar_from_thumb>: 1008: 4778 bx pc - 100a: 46c0 nop \(mov r8, r8\) + 100a: 46c0 nop ; \(mov r8, r8\) 100c: ea000400 b 2014 <bar> Disassembly of section .foo: diff --git a/ld/testsuite/ld-arm/farcall-thumb-arm.d b/ld/testsuite/ld-arm/farcall-thumb-arm.d index 25ee1f4..fb12cf0 100644 --- a/ld/testsuite/ld-arm/farcall-thumb-arm.d +++ b/ld/testsuite/ld-arm/farcall-thumb-arm.d @@ -9,7 +9,7 @@ Disassembly of section .text: 00001008 <__bar_from_thumb>: 1008: 4778 bx pc - 100a: 46c0 nop \(mov r8, r8\) + 100a: 46c0 nop ; \(mov r8, r8\) 100c: e51ff004 ldr pc, \[pc, #-4\] ; 1010 <__bar_from_thumb\+0x8> 1010: 02001014 .word 0x02001014 1014: 00000000 .word 0x00000000 diff --git a/ld/testsuite/ld-arm/farcall-thumb-thumb-m-pic-veneer.d b/ld/testsuite/ld-arm/farcall-thumb-thumb-m-pic-veneer.d index c96ea3f..79e6449 100644 --- a/ld/testsuite/ld-arm/farcall-thumb-thumb-m-pic-veneer.d +++ b/ld/testsuite/ld-arm/farcall-thumb-thumb-m-pic-veneer.d @@ -9,7 +9,7 @@ Disassembly of section .text: 00001008 <__bar_veneer>: 1008: b401 push {r0} - 100a: 4802 ldr r0, \[pc, #8\] \(1014 <__bar_veneer\+0xc>\) + 100a: 4802 ldr r0, \[pc, #8\] ; \(1014 <__bar_veneer\+0xc>\) 100c: 46fc mov ip, pc 100e: 4484 add ip, r0 1010: bc01 pop {r0} diff --git a/ld/testsuite/ld-arm/farcall-thumb-thumb-m.d b/ld/testsuite/ld-arm/farcall-thumb-thumb-m.d index c98f00a..84782b8 100644 --- a/ld/testsuite/ld-arm/farcall-thumb-thumb-m.d +++ b/ld/testsuite/ld-arm/farcall-thumb-thumb-m.d @@ -9,7 +9,7 @@ Disassembly of section .text: 00001008 <__bar_veneer>: 1008: b401 push {r0} - 100a: 4802 ldr r0, \[pc, #8\] \(1014 <__bar_veneer\+0xc>\) + 100a: 4802 ldr r0, \[pc, #8\] ; \(1014 <__bar_veneer\+0xc>\) 100c: 4684 mov ip, r0 100e: bc01 pop {r0} 1010: 4760 bx ip diff --git a/ld/testsuite/ld-arm/farcall-thumb-thumb-pic-veneer.d b/ld/testsuite/ld-arm/farcall-thumb-thumb-pic-veneer.d index 96549a5..8c2cddf 100644 --- a/ld/testsuite/ld-arm/farcall-thumb-thumb-pic-veneer.d +++ b/ld/testsuite/ld-arm/farcall-thumb-thumb-pic-veneer.d @@ -9,7 +9,7 @@ Disassembly of section .text: 00001008 <__bar_veneer>: 1008: 4778 bx pc - 100a: 46c0 nop \(mov r8, r8\) + 100a: 46c0 nop ; \(mov r8, r8\) 100c: e59fc004 ldr ip, \[pc, #4\] ; 1018 <__bar_veneer\+0x10> 1010: e08fc00c add ip, pc, ip 1014: e12fff1c bx ip diff --git a/ld/testsuite/ld-arm/farcall-thumb-thumb.d b/ld/testsuite/ld-arm/farcall-thumb-thumb.d index e4a96ea..8ea41c7 100644 --- a/ld/testsuite/ld-arm/farcall-thumb-thumb.d +++ b/ld/testsuite/ld-arm/farcall-thumb-thumb.d @@ -9,7 +9,7 @@ Disassembly of section .text: 00001008 <__bar_veneer>: 1008: 4778 bx pc - 100a: 46c0 nop \(mov r8, r8\) + 100a: 46c0 nop ; \(mov r8, r8\) 100c: e59fc000 ldr ip, \[pc, #0\] ; 1014 <__bar_veneer\+0xc> 1010: e12fff1c bx ip 1014: 02001015 .word 0x02001015 diff --git a/ld/testsuite/ld-arm/group-relocs.d b/ld/testsuite/ld-arm/group-relocs.d index 2f072f9..e81739d 100644 --- a/ld/testsuite/ld-arm/group-relocs.d +++ b/ld/testsuite/ld-arm/group-relocs.d @@ -10,7 +10,7 @@ Disassembly of section .text: 800c: e28f08ff add r0, pc, #16711680 ; 0xff0000 8010: e2800c6e add r0, r0, #28160 ; 0x6e00 8014: e28000e4 add r0, r0, #228 ; 0xe4 - 8018: e2800000 add r0, r0, #0 ; 0x0 + 8018: e2800000 add r0, r0, #0 801c: e28f0cee add r0, pc, #60928 ; 0xee00 8020: e28000f0 add r0, r0, #240 ; 0xf0 8024: e28008ff add r0, r0, #16711680 ; 0xff0000 @@ -53,17 +53,17 @@ Disassembly of section .text: 80b8: ed90003c ldc 0, cr0, \[r0, #240\].* 000080bc <one_group_needed_alu_pc>: - 80bc: e3a00000 mov r0, #0 ; 0x0 + 80bc: e3a00000 mov r0, #0 Disassembly of section zero: 00000000 <one_group_needed_alu_sb>: - 0: e3a00000 mov r0, #0 ; 0x0 + 0: e3a00000 mov r0, #0 Disassembly of section alpha: 0000eef0 <two_groups_needed_alu_pc>: - eef0: e3a00000 mov r0, #0 ; 0x0 + eef0: e3a00000 mov r0, #0 Disassembly of section beta: 00ffeef0 <three_groups_needed_alu_pc>: - ffeef0: e3a00000 mov r0, #0 ; 0x0 + ffeef0: e3a00000 mov r0, #0 #... diff --git a/ld/testsuite/ld-arm/mixed-app-v5.d b/ld/testsuite/ld-arm/mixed-app-v5.d index 426708b..0b1b986 100644 --- a/ld/testsuite/ld-arm/mixed-app-v5.d +++ b/ld/testsuite/ld-arm/mixed-app-v5.d @@ -12,10 +12,10 @@ Disassembly of section .plt: .*: e08fe00e add lr, pc, lr .*: e5bef008 ldr pc, \[lr, #8\]! .*: .* - .*: e28fc6.* add ip, pc, #.* ; 0x.* + .*: e28fc6.* add ip, pc, #.* .*: e28cca.* add ip, ip, #.* ; 0x.* .*: e5bcf.* ldr pc, \[ip, #.*\]!.* - .*: e28fc6.* add ip, pc, #.* ; 0x.* + .*: e28fc6.* add ip, pc, #.* .*: e28cca.* add ip, ip, #.* ; 0x.* .*: e5bcf.* ldr pc, \[ip, #.*\]!.* Disassembly of section .text: @@ -26,9 +26,9 @@ Disassembly of section .text: .*: eb000004 bl .* <app_func> .*: e89d6800 ldm sp, {fp, sp, lr} .*: e12fff1e bx lr - .*: e1a00000 nop \(mov r0,r0\) - .*: e1a00000 nop \(mov r0,r0\) - .*: e1a00000 nop \(mov r0,r0\) + .*: e1a00000 nop ; \(mov r0, r0\) + .*: e1a00000 nop ; \(mov r0, r0\) + .*: e1a00000 nop ; \(mov r0, r0\) .* <app_func>: .*: e1a0c00d mov ip, sp @@ -36,21 +36,21 @@ Disassembly of section .text: .*: ebfffff. bl .* .*: e89d6800 ldm sp, {fp, sp, lr} .*: e12fff1e bx lr - .*: e1a00000 nop \(mov r0,r0\) - .*: e1a00000 nop \(mov r0,r0\) - .*: e1a00000 nop \(mov r0,r0\) + .*: e1a00000 nop ; \(mov r0, r0\) + .*: e1a00000 nop ; \(mov r0, r0\) + .*: e1a00000 nop ; \(mov r0, r0\) .* <app_func2>: .*: e12fff1e bx lr - .*: e1a00000 nop \(mov r0,r0\) - .*: e1a00000 nop \(mov r0,r0\) - .*: e1a00000 nop \(mov r0,r0\) + .*: e1a00000 nop ; \(mov r0, r0\) + .*: e1a00000 nop ; \(mov r0, r0\) + .*: e1a00000 nop ; \(mov r0, r0\) .* <app_tfunc>: .*: b500 push {lr} .*: f7ff efc. blx .* <_start-0x..> .*: bd00 pop {pc} .*: 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\) diff --git a/ld/testsuite/ld-arm/mixed-app.d b/ld/testsuite/ld-arm/mixed-app.d index 9d18b0a..d8188a2 100644 --- a/ld/testsuite/ld-arm/mixed-app.d +++ b/ld/testsuite/ld-arm/mixed-app.d @@ -13,11 +13,11 @@ Disassembly of section .plt: .*: e5bef008 ldr pc, \[lr, #8\]! .*: .* .*: 4778 bx pc - .*: 46c0 nop \(mov r8, r8\) - .*: e28fc6.* add ip, pc, #.* ; 0x.* + .*: 46c0 nop ; \(mov r8, r8\) + .*: e28fc6.* add ip, pc, #.* .*: e28cca.* add ip, ip, #.* ; 0x.* .*: e5bcf.* ldr pc, \[ip, #.*\]!.* - .*: e28fc6.* add ip, pc, #.* ; 0x.* + .*: e28fc6.* add ip, pc, #.* .*: e28cca.* add ip, ip, #.* ; 0x.* .*: e5bcf.* ldr pc, \[ip, #.*\]!.* Disassembly of section .text: @@ -28,9 +28,9 @@ Disassembly of section .text: .*: eb000004 bl .* <app_func> .*: e89d6800 ldm sp, {fp, sp, lr} .*: e12fff1e bx lr - .*: e1a00000 nop \(mov r0,r0\) - .*: e1a00000 nop \(mov r0,r0\) - .*: e1a00000 nop \(mov r0,r0\) + .*: e1a00000 nop ; \(mov r0, r0\) + .*: e1a00000 nop ; \(mov r0, r0\) + .*: e1a00000 nop ; \(mov r0, r0\) .* <app_func>: .*: e1a0c00d mov ip, sp @@ -38,21 +38,21 @@ Disassembly of section .text: .*: ebffff.. bl .* .*: e89d6800 ldm sp, {fp, sp, lr} .*: e12fff1e bx lr - .*: e1a00000 nop \(mov r0,r0\) - .*: e1a00000 nop \(mov r0,r0\) - .*: e1a00000 nop \(mov r0,r0\) + .*: e1a00000 nop ; \(mov r0, r0\) + .*: e1a00000 nop ; \(mov r0, r0\) + .*: e1a00000 nop ; \(mov r0, r0\) .* <app_func2>: .*: e12fff1e bx lr - .*: e1a00000 nop \(mov r0,r0\) - .*: e1a00000 nop \(mov r0,r0\) - .*: e1a00000 nop \(mov r0,r0\) + .*: e1a00000 nop ; \(mov r0, r0\) + .*: e1a00000 nop ; \(mov r0, r0\) + .*: e1a00000 nop ; \(mov r0, r0\) .* <app_tfunc>: .*: b500 push {lr} .*: f7ff ffc. bl .* <_start-0x..> .*: bd00 pop {pc} .*: 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\) diff --git a/ld/testsuite/ld-arm/mixed-lib.d b/ld/testsuite/ld-arm/mixed-lib.d index 2fc40a6..bcd2e41 100644 --- a/ld/testsuite/ld-arm/mixed-lib.d +++ b/ld/testsuite/ld-arm/mixed-lib.d @@ -12,7 +12,7 @@ Disassembly of section .plt: .*: e08fe00e add lr, pc, lr .*: e5bef008 ldr pc, \[lr, #8\]! .*: .* - .*: e28fc6.* add ip, pc, #.* ; 0x.* + .*: e28fc6.* add ip, pc, #.* .*: e28cca.* add ip, ip, #.* ; 0x.* .*: e5bcf.* ldr pc, \[ip, #.*\]!.* Disassembly of section .text: @@ -23,16 +23,16 @@ Disassembly of section .text: .*: ebfffff. bl .* <lib_func1-0x..?> .*: e89d6800 ldm sp, {fp, sp, lr} .*: e12fff1e bx lr - .*: e1a00000 nop \(mov r0,r0\) - .*: e1a00000 nop \(mov r0,r0\) - .*: e1a00000 nop \(mov r0,r0\) + .*: e1a00000 nop ; \(mov r0, r0\) + .*: e1a00000 nop ; \(mov r0, r0\) + .*: e1a00000 nop ; \(mov r0, r0\) .* <lib_func2>: .*: 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\) + .*: 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\) diff --git a/ld/testsuite/ld-arm/movw-merge.d b/ld/testsuite/ld-arm/movw-merge.d index 2df4737..40e1681 100644 --- a/ld/testsuite/ld-arm/movw-merge.d +++ b/ld/testsuite/ld-arm/movw-merge.d @@ -5,9 +5,9 @@ Disassembly of section .text: 00008000 <[^>]*>: 8000: e3080013 movw r0, #32787 ; 0x8013 - 8004: e3400000 movt r0, #0 ; 0x0 + 8004: e3400000 movt r0, #0 00008008 <[^>]*>: 8008: f248 0013 movw r0, #32787 ; 0x8013 - 800c: f2c0 0000 movt r0, #0 ; 0x0 + 800c: f2c0 0000 movt r0, #0 diff --git a/ld/testsuite/ld-arm/thumb2-b-interwork.d b/ld/testsuite/ld-arm/thumb2-b-interwork.d index b2f9a01..431989c 100644 --- a/ld/testsuite/ld-arm/thumb2-b-interwork.d +++ b/ld/testsuite/ld-arm/thumb2-b-interwork.d @@ -11,6 +11,6 @@ Disassembly of section .text: 00008008 <__bar_from_thumb>: 8008: 4778 bx pc - 800a: 46c0 nop \(mov r8, r8\) + 800a: 46c0 nop ; \(mov r8, r8\) 800c: eafffffc b 8004 <bar> diff --git a/ld/testsuite/ld-arm/tls-app.d b/ld/testsuite/ld-arm/tls-app.d index fd3d638..53ba947 100644 --- a/ld/testsuite/ld-arm/tls-app.d +++ b/ld/testsuite/ld-arm/tls-app.d @@ -7,8 +7,8 @@ start address 0x00008204 Disassembly of section .text: 00008204 <foo>: - 8204: e1a00000 nop \(mov r0,r0\) - 8208: e1a00000 nop \(mov r0,r0\) + 8204: e1a00000 nop ; \(mov r0, r0\) + 8208: e1a00000 nop ; \(mov r0, r0\) 820c: e1a0f00e mov pc, lr 8210: 000080bc .word 0x000080bc 8214: 000080b4 .word 0x000080b4 diff --git a/ld/testsuite/ld-arm/tls-lib.d b/ld/testsuite/ld-arm/tls-lib.d index 774ac91..4580ead 100644 --- a/ld/testsuite/ld-arm/tls-lib.d +++ b/ld/testsuite/ld-arm/tls-lib.d @@ -7,8 +7,8 @@ start address 0x.* Disassembly of section .text: .* <foo>: - .*: e1a00000 nop \(mov r0,r0\) - .*: e1a00000 nop \(mov r0,r0\) + .*: e1a00000 nop ; \(mov r0, r0\) + .*: e1a00000 nop ; \(mov r0, r0\) .*: e1a0f00e mov pc, lr .*: 00008098 .word 0x00008098 .*: 0000808c .word 0x0000808c |