diff options
author | Paul Brook <paul@codesourcery.com> | 2006-05-24 17:10:02 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2006-05-24 17:10:02 +0000 |
commit | 4e617b1e975a43077d430dc131658b782bbc50d7 (patch) | |
tree | 96cda2ab935523f705e67954826709c7744e98b5 /ld/testsuite | |
parent | 52ab56c201e0e1ca13578ad061c3b7ffbeb6438c (diff) | |
download | gdb-4e617b1e975a43077d430dc131658b782bbc50d7.zip gdb-4e617b1e975a43077d430dc131658b782bbc50d7.tar.gz gdb-4e617b1e975a43077d430dc131658b782bbc50d7.tar.bz2 |
2006-05-24 Paul Brook <paul@codesourcery.com>
bfd/
* elf-bfd.h (elf_backend_data): Add elf_backend_output_arch_local_syms
* elf32-arm.c (output_arch_syminfo): Define.
(elf32_arm_ouput_plt_map_sym, elf32_arm_output_plt_map,
elf32_arm_output_arch_local_syms): New functions.
(elf_backend_output_arch_local_syms): Define.
* elflink.c (bfd_elf_final_link): Call
elf_backend_output_arch_local_syms.
* elfxx-target.h (elf_backend_output_arch_local_syms): Provide default
definition.
(elfNN_bed): Add elf_backend_output_arch_local_syms.
ld/testsuite/
* ld-arm/arm-app-abs32.d: Update expected output.
* ld-arm/arm-app.d: Ditto.
* ld-arm/arm-lib-plt32.d: Ditto.
* ld-arm/arm-lib.d: Ditto.
* ld-arm/mixed-app-v5.d: Ditto.
* ld-arm/mixed-app.d: Ditto.
* ld-arm/mixed-lib.d: Ditto.
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ChangeLog | 10 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/arm-app-abs32.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/arm-app.d | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/arm-lib-plt32.d | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/arm-lib.d | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/mixed-app-v5.d | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/mixed-app.d | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/mixed-lib.d | 4 |
8 files changed, 23 insertions, 13 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 33e4b94..ecabfa3 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2006-05-24 Paul Brook <paul@codesourcery.com> + + * ld-arm/arm-app-abs32.d: Update expected output. + * ld-arm/arm-app.d: Ditto. + * ld-arm/arm-lib-plt32.d: Ditto. + * ld-arm/arm-lib.d: Ditto. + * ld-arm/mixed-app-v5.d: Ditto. + * ld-arm/mixed-app.d: Ditto. + * ld-arm/mixed-lib.d: Ditto. + 2006-05-23 H.J. Lu <hongjiu.lu@intel.com> PR ld/2655 diff --git a/ld/testsuite/ld-arm/arm-app-abs32.d b/ld/testsuite/ld-arm/arm-app-abs32.d index 9a4da22..c398169 100644 --- a/ld/testsuite/ld-arm/arm-app-abs32.d +++ b/ld/testsuite/ld-arm/arm-app-abs32.d @@ -8,7 +8,7 @@ Disassembly of section .plt: .* <.plt>: .*: e52de004 str lr, \[sp, #-4\]! - .*: e59fe004 ldr lr, \[pc, #4\] ; .* <_start-0x10> + .*: e59fe004 ldr lr, \[pc, #4\] ; .* <\.plt\+0x10> .*: e08fe00e add lr, pc, lr .*: e5bef008 ldr pc, \[lr, #8\]! .*: .* .* diff --git a/ld/testsuite/ld-arm/arm-app.d b/ld/testsuite/ld-arm/arm-app.d index 207961e..0cb52a9 100644 --- a/ld/testsuite/ld-arm/arm-app.d +++ b/ld/testsuite/ld-arm/arm-app.d @@ -8,7 +8,7 @@ Disassembly of section .plt: .* <.plt>: .*: e52de004 str lr, \[sp, #-4\]! - .*: e59fe004 ldr lr, \[pc, #4\] ; .* <_start-0x10> + .*: e59fe004 ldr lr, \[pc, #4\] ; .* <\.plt\+0x10> .*: e08fe00e add lr, pc, lr .*: e5bef008 ldr pc, \[lr, #8\]! .*: .* @@ -27,7 +27,7 @@ Disassembly of section .text: .* <app_func>: .*: e1a0c00d mov ip, sp .*: e92dd800 stmdb sp!, {fp, ip, lr, pc} - .*: ebfffff4 bl .* <_start-0xc> + .*: ebfffff4 bl .* <.text-0xc> .*: e89d6800 ldmia sp, {fp, sp, lr} .*: e12fff1e bx lr diff --git a/ld/testsuite/ld-arm/arm-lib-plt32.d b/ld/testsuite/ld-arm/arm-lib-plt32.d index 58206f4..96beabc 100644 --- a/ld/testsuite/ld-arm/arm-lib-plt32.d +++ b/ld/testsuite/ld-arm/arm-lib-plt32.d @@ -8,7 +8,7 @@ Disassembly of section .plt: .* <.plt>: .*: e52de004 str lr, \[sp, #-4\]! - .*: e59fe004 ldr lr, \[pc, #4\] ; .* <lib_func1-0x10> + .*: e59fe004 ldr lr, \[pc, #4\] ; .* <\.plt\+0x10> .*: e08fe00e add lr, pc, lr .*: e5bef008 ldr pc, \[lr, #8\]! .*: .* @@ -20,7 +20,7 @@ Disassembly of section .text: .* <lib_func1>: .*: e1a0c00d mov ip, sp .*: e92dd800 stmdb sp!, {fp, ip, lr, pc} - .*: ebfffff9 bl .* <lib_func1-0xc> + .*: ebfffff9 bl .* <.text-0xc> .*: e89d6800 ldmia sp, {fp, sp, lr} .*: e12fff1e bx lr diff --git a/ld/testsuite/ld-arm/arm-lib.d b/ld/testsuite/ld-arm/arm-lib.d index e3257c9..706a657 100644 --- a/ld/testsuite/ld-arm/arm-lib.d +++ b/ld/testsuite/ld-arm/arm-lib.d @@ -8,7 +8,7 @@ Disassembly of section .plt: .* <.plt>: .*: e52de004 str lr, \[sp, #-4\]! - .*: e59fe004 ldr lr, \[pc, #4\] ; .* <lib_func1-0x10> + .*: e59fe004 ldr lr, \[pc, #4\] ; .* <\.plt\+0x10> .*: e08fe00e add lr, pc, lr .*: e5bef008 ldr pc, \[lr, #8\]! .*: .* @@ -20,7 +20,7 @@ Disassembly of section .text: .* <lib_func1>: .*: e1a0c00d mov ip, sp .*: e92dd800 stmdb sp!, {fp, ip, lr, pc} - .*: ebfffff9 bl .* <lib_func1-0xc> + .*: ebfffff9 bl .* <.text-0xc> .*: e89d6800 ldmia sp, {fp, sp, lr} .*: e12fff1e bx lr diff --git a/ld/testsuite/ld-arm/mixed-app-v5.d b/ld/testsuite/ld-arm/mixed-app-v5.d index 9e8d4dd..73fa9ec 100644 --- a/ld/testsuite/ld-arm/mixed-app-v5.d +++ b/ld/testsuite/ld-arm/mixed-app-v5.d @@ -8,7 +8,7 @@ Disassembly of section .plt: .* <.plt>: .*: e52de004 str lr, \[sp, #-4\]! - .*: e59fe004 ldr lr, \[pc, #4\] ; .* <_start-0x20> + .*: e59fe004 ldr lr, \[pc, #4\] ; .* <\.plt\+0x10> .*: e08fe00e add lr, pc, lr .*: e5bef008 ldr pc, \[lr, #8\]! .*: .* @@ -48,7 +48,7 @@ Disassembly of section .text: .* <app_tfunc>: .*: b500 push {lr} - .*: f7ff efc. blx .* <_start-0x..> + .*: f7ff efc. blx .* <.text-0x..> .*: bd00 pop {pc} .*: 4770 bx lr .*: 46c0 nop \(mov r8, r8\) diff --git a/ld/testsuite/ld-arm/mixed-app.d b/ld/testsuite/ld-arm/mixed-app.d index 3812227..7893a33 100644 --- a/ld/testsuite/ld-arm/mixed-app.d +++ b/ld/testsuite/ld-arm/mixed-app.d @@ -8,7 +8,7 @@ Disassembly of section .plt: .* <.plt>: .*: e52de004 str lr, \[sp, #-4\]! - .*: e59fe004 ldr lr, \[pc, #4\] ; .* <_start-0x20> + .*: e59fe004 ldr lr, \[pc, #4\] ; .* <\.plt\+0x10> .*: e08fe00e add lr, pc, lr .*: e5bef008 ldr pc, \[lr, #8\]! .*: .* @@ -49,7 +49,7 @@ Disassembly of section .text: .* <app_tfunc>: .*: b500 push {lr} - .*: f7ff ffc. bl .* <_start-0x..> + .*: f7ff ffc. bl .* <.text-0x..> .*: bd00 pop {pc} .*: 4770 bx lr .*: 46c0 nop \(mov r8, r8\) diff --git a/ld/testsuite/ld-arm/mixed-lib.d b/ld/testsuite/ld-arm/mixed-lib.d index b261c67..0c426f3 100644 --- a/ld/testsuite/ld-arm/mixed-lib.d +++ b/ld/testsuite/ld-arm/mixed-lib.d @@ -8,7 +8,7 @@ Disassembly of section .plt: .* <.plt>: .*: e52de004 str lr, \[sp, #-4\]! - .*: e59fe004 ldr lr, \[pc, #4\] ; .* <lib_func1-0x1.> + .*: e59fe004 ldr lr, \[pc, #4\] ; .* <\.plt\+0x10> .*: e08fe00e add lr, pc, lr .*: e5bef008 ldr pc, \[lr, #8\]! .*: .* @@ -20,7 +20,7 @@ Disassembly of section .text: .* <lib_func1>: .*: e1a0c00d mov ip, sp .*: e92dd800 stmdb sp!, {fp, ip, lr, pc} - .*: ebfffff. bl .* <lib_func1-0x..> + .*: ebfffff. bl .* <.text-0x..> .*: e89d6800 ldmia sp, {fp, sp, lr} .*: e12fff1e bx lr .*: e1a00000 nop \(mov r0,r0\) |