diff options
author | Yury Gribov <y.gribov@samsung.com> | 2014-03-27 13:54:03 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2014-03-27 13:54:03 +0000 |
commit | 6a631e86cfc2ddd979f9dc4b4da01133d9d3610f (patch) | |
tree | ef5d36ec1527d47ba3a6ccc901b4d1076b2af7d6 /ld/testsuite/ld-arm/ifunc-7.dd | |
parent | a6305403d4e1f5304f247b33b0f8473c7eed0d66 (diff) | |
download | gdb-6a631e86cfc2ddd979f9dc4b4da01133d9d3610f.zip gdb-6a631e86cfc2ddd979f9dc4b4da01133d9d3610f.tar.gz gdb-6a631e86cfc2ddd979f9dc4b4da01133d9d3610f.tar.bz2 |
Add support for limited pretty-printing of ARM PLT entries on eabi and nacl targets.
* elf32-arm.c (elf32_arm_get_synthetic_symtab): Add new callback.
(elf32_arm_nacl_plt_sym_val): Likewise.
(elf32_arm_plt0_size): Add helper function.
(elf32_arm_plt_size): Likewise.
* ld-arm/arm-app-abs32.d: Updated test.
* ld-arm/arm-app.d: Likewise.
* ld-arm/arm-lib-plt32.d: Likewise.
* ld-arm/arm-lib.d: Likewise.
* ld-arm/armthumb-lib.d: Likewise.
* ld-arm/cortex-a8-fix-b-plt.d: Likewise.
* ld-arm/cortex-a8-fix-bcc-plt.d: Likewise.
* ld-arm/cortex-a8-fix-bl-plt.d: Likewise.
* ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise.
* ld-arm/cortex-a8-fix-blx-plt.d: Likewise.
* ld-arm/farcall-mixed-app-v5.d: Likewise.
* ld-arm/farcall-mixed-app.d: Likewise.
* ld-arm/farcall-mixed-lib-v4t.d: Likewise.
* ld-arm/farcall-mixed-lib.d: Likewise.
* ld-arm/ifunc-10.dd: Likewise.
* ld-arm/ifunc-14.dd: Likewise.
* ld-arm/ifunc-15.dd: Likewise.
* ld-arm/ifunc-3.dd: Likewise.
* ld-arm/ifunc-4.dd: Likewise.
* ld-arm/ifunc-7.dd: Likewise.
* ld-arm/ifunc-8.dd: Likewise.
* ld-arm/ifunc-9.dd: Likewise.
* ld-arm/long-plt-format.d: Likewise.
* ld-arm/mixed-app-v5.d: Likewise.
* ld-arm/mixed-app.d: Likewise.
* ld-arm/mixed-lib.d: Likewise.
* ld-arm/thumb2-bl-undefweak.d: Likewise.
* ld-arm/thumb2-bl-undefweak1.d: Likewise.
Diffstat (limited to 'ld/testsuite/ld-arm/ifunc-7.dd')
-rw-r--r-- | ld/testsuite/ld-arm/ifunc-7.dd | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/ld/testsuite/ld-arm/ifunc-7.dd b/ld/testsuite/ld-arm/ifunc-7.dd index e9a9681..f82fd37 100644 --- a/ld/testsuite/ld-arm/ifunc-7.dd +++ b/ld/testsuite/ld-arm/ifunc-7.dd @@ -4,9 +4,9 @@ Disassembly of section \.plt: -00009000 <\.plt>: +00009000 <f2@plt-0x14>: 9000: e52de004 push {lr} ; \(str lr, \[sp, #-4\]!\) - 9004: e59fe004 ldr lr, \[pc, #4\] ; 9010 <f1-0xff0> + 9004: e59fe004 ldr lr, \[pc, #4\] ; 9010 <f2@plt-0x4> 9008: e08fe00e add lr, pc, lr 900c: e5bef008 ldr pc, \[lr, #8\]! #------------------------------------------------------------------------------ @@ -16,12 +16,14 @@ Disassembly of section \.plt: #------------------------------------------------------------------------------ #------ f2's .plt entry #------------------------------------------------------------------------------ +00009014 <f2@plt>: 9014: e28fc600 add ip, pc, #0, 12 9018: e28cca07 add ip, ip, #28672 ; 0x7000 901c: e5bcfff0 ldr pc, \[ip, #4080\]! ; 0xff0 #------------------------------------------------------------------------------ #------ f4's .plt entry #------------------------------------------------------------------------------ +00009020 <f4@plt>: 9020: e28fc600 add ip, pc, #0, 12 9024: e28cca07 add ip, ip, #28672 ; 0x7000 9028: e5bcffe8 ldr pc, \[ip, #4072\]! ; 0xfe8 @@ -65,7 +67,7 @@ Disassembly of section \.text: #------------------------------------------------------------------------------ #------ f1's .iplt entry #------------------------------------------------------------------------------ - a01c: ebfffc02 bl 902c <f1-0xfd4> + a01c: ebfffc02 bl 902c <f4@plt\+0xc> a020: e59f4000 ldr r4, \[pc\] ; a028 <arm\+0x20> a024: e59f4000 ldr r4, \[pc\] ; a02c <arm\+0x24> #------------------------------------------------------------------------------ @@ -79,7 +81,7 @@ Disassembly of section \.text: #------------------------------------------------------------------------------ #------ f2's .plt entry #------------------------------------------------------------------------------ - a030: ebfffbf7 bl 9014 <f1-0xfec> + a030: ebfffbf7 bl 9014 <f2@plt> a034: e59f4000 ldr r4, \[pc\] ; a03c <arm\+0x34> a038: e59f4000 ldr r4, \[pc\] ; a040 <arm\+0x38> #------------------------------------------------------------------------------ @@ -93,7 +95,7 @@ Disassembly of section \.text: #------------------------------------------------------------------------------ #------ f3's .iplt entry #------------------------------------------------------------------------------ - a044: ebfffbfb bl 9038 <f1-0xfc8> + a044: ebfffbfb bl 9038 <f4@plt\+0x18> a048: e59f4000 ldr r4, \[pc\] ; a050 <arm\+0x48> a04c: e59f4000 ldr r4, \[pc\] ; a054 <arm\+0x4c> #------------------------------------------------------------------------------ @@ -107,7 +109,7 @@ Disassembly of section \.text: #------------------------------------------------------------------------------ #------ f4's .plt entry #------------------------------------------------------------------------------ - a058: ebfffbf0 bl 9020 <f1-0xfe0> + a058: ebfffbf0 bl 9020 <f4@plt> a05c: e59f4000 ldr r4, \[pc\] ; a064 <arm\+0x5c> a060: e59f4000 ldr r4, \[pc\] ; a068 <arm\+0x60> #------------------------------------------------------------------------------ |