From: Thomas Schwinge Date: Fri, 20 Nov 2009 15:04:51 +0000 (+0000) Subject: ld/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce5181b407dfce78ab7e4e10051eaf44246ad1b4;p=binutils-gdb.git ld/ 2009-11-20 Thomas Schwinge * emulparams/armelf.sh (OTHER_READONLY_SECTIONS) <__exidx_start, __exidx_end>: Use PROVIDE_HIDDEN. * emulparams/armelf_linux_eabi.sh (OTHER_READONLY_SECTIONS) <__exidx_start, __exidx_end>: Likewise. * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS) <.ARM.exidx$$Base, __exidx_start, __exidx_end, .ARM.exidx$$Limit>: Likewise. ld/testsuite/ 2009-11-20 Thomas Schwinge * ld-arm/arm-dyn.ld: Adapt to main linker script changes. * ld-arm/arm-lib.ld: Likewise. * ld-arm/armthumb-lib.sym: : Adjust expected results. * ld-arm/farcall-mixed-app-v5.d: Likewise. * ld-arm/farcall-mixed-app.d: Likewise. * ld-arm/farcall-mixed-app.sym: Likewise. * ld-arm/farcall-mixed-lib.d: Likewise. * ld-arm/mixed-app-v5.d: Likewise. * ld-arm/mixed-app.d: Likewise. * ld-arm/mixed-app.sym: Likewise. * ld-arm/mixed-lib.sym: Likewise. * ld-arm/preempt-app.sym: Likewise. * ld-arm/tls-app.d: Likewise. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index d65654bb69a..31985e38f12 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,13 @@ +2009-11-20 Thomas Schwinge + + * emulparams/armelf.sh (OTHER_READONLY_SECTIONS) + <__exidx_start, __exidx_end>: Use PROVIDE_HIDDEN. + * emulparams/armelf_linux_eabi.sh (OTHER_READONLY_SECTIONS) + <__exidx_start, __exidx_end>: Likewise. + * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS) + <.ARM.exidx$$Base, __exidx_start, __exidx_end, .ARM.exidx$$Limit>: + Likewise. + 2009-11-19 Matthias Klose PR ld/9863 diff --git a/ld/emulparams/armelf.sh b/ld/emulparams/armelf.sh index a3c317f49e0..672b2082eb9 100644 --- a/ld/emulparams/armelf.sh +++ b/ld/emulparams/armelf.sh @@ -14,9 +14,9 @@ OTHER_SECTIONS='.note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) }' ATTRS_SECTIONS='.ARM.attributes 0 : { KEEP (*(.ARM.attributes)) KEEP (*(.gnu.attributes)) }' OTHER_READONLY_SECTIONS=" .ARM.extab ${RELOCATING-0} : { *(.ARM.extab${RELOCATING+* .gnu.linkonce.armextab.*}) } - ${RELOCATING+ __exidx_start = .; } + ${RELOCATING+ PROVIDE_HIDDEN (__exidx_start = .); } .ARM.exidx ${RELOCATING-0} : { *(.ARM.exidx${RELOCATING+* .gnu.linkonce.armexidx.*}) } - ${RELOCATING+ __exidx_end = .; }" + ${RELOCATING+ PROVIDE_HIDDEN (__exidx_end = .); }" DATA_START_SYMBOLS='__data_start = . ;'; diff --git a/ld/emulparams/armelf_linux_eabi.sh b/ld/emulparams/armelf_linux_eabi.sh index f6d475736dc..5b0c6b88695 100644 --- a/ld/emulparams/armelf_linux_eabi.sh +++ b/ld/emulparams/armelf_linux_eabi.sh @@ -3,7 +3,7 @@ # Use the ARM ABI-compliant exception-handling sections. OTHER_READONLY_SECTIONS=" .ARM.extab ${RELOCATING-0} : { *(.ARM.extab${RELOCATING+* .gnu.linkonce.armextab.*}) } - ${RELOCATING+ __exidx_start = .; } + ${RELOCATING+ PROVIDE_HIDDEN (__exidx_start = .); } .ARM.exidx ${RELOCATING-0} : { *(.ARM.exidx${RELOCATING+* .gnu.linkonce.armexidx.*}) } - ${RELOCATING+ __exidx_end = .; }" + ${RELOCATING+ PROVIDE_HIDDEN (__exidx_end = .); }" diff --git a/ld/emulparams/armsymbian.sh b/ld/emulparams/armsymbian.sh index 3d7e8649597..f852702f199 100644 --- a/ld/emulparams/armsymbian.sh +++ b/ld/emulparams/armsymbian.sh @@ -13,10 +13,10 @@ EMBEDDED=yes # .ARM.exidx$${Base,Limit} symbols. OTHER_READONLY_SECTIONS=" .ARM.extab ${RELOCATING-0} : { *(.ARM.extab${RELOCATING+* .gnu.linkonce.armextab.*}) } - ${RELOCATING+ .ARM.exidx\$\$Base = . ; } - ${RELOCATING+ __exidx_start = .; } + ${RELOCATING+ PROVIDE_HIDDEN (.ARM.exidx\$\$Base = .); } + ${RELOCATING+ PROVIDE_HIDDEN (__exidx_start = .); } .ARM.exidx ${RELOCATING-0} : { *(.ARM.exidx${RELOCATING+* .gnu.linkonce.armexidx.*}) } - ${RELOCATING+ __exidx_end = .; } - ${RELOCATING+ .ARM.exidx\$\$Limit = . ; }" + ${RELOCATING+ PROVIDE_HIDDEN (__exidx_end = .); } + ${RELOCATING+ PROVIDE_HIDDEN (.ARM.exidx\$\$Limit = .); }" MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 726cc958875..91d3c7fa4b4 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,19 @@ +2009-11-20 Thomas Schwinge + + * ld-arm/arm-dyn.ld: Adapt to main linker script changes. + * ld-arm/arm-lib.ld: Likewise. + * ld-arm/armthumb-lib.sym: : Adjust expected results. + * ld-arm/farcall-mixed-app-v5.d: Likewise. + * ld-arm/farcall-mixed-app.d: Likewise. + * ld-arm/farcall-mixed-app.sym: Likewise. + * ld-arm/farcall-mixed-lib.d: Likewise. + * ld-arm/mixed-app-v5.d: Likewise. + * ld-arm/mixed-app.d: Likewise. + * ld-arm/mixed-app.sym: Likewise. + * ld-arm/mixed-lib.sym: Likewise. + * ld-arm/preempt-app.sym: Likewise. + * ld-arm/tls-app.d: Likewise. + 2009-11-18 Nick Clifton * ld-elf/extract-symbol-1sec.d: Expect to fail for the RX target. diff --git a/ld/testsuite/ld-arm/arm-dyn.ld b/ld/testsuite/ld-arm/arm-dyn.ld index 4f2e0de39e0..736fb178416 100644 --- a/ld/testsuite/ld-arm/arm-dyn.ld +++ b/ld/testsuite/ld-arm/arm-dyn.ld @@ -68,9 +68,9 @@ SECTIONS .rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) } .rodata1 : { *(.rodata1) } .ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) } - __exidx_start = .; + PROVIDE_HIDDEN (__exidx_start = .); .ARM.exidx : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) } - __exidx_end = .; + PROVIDE_HIDDEN (__exidx_end = .); .eh_frame_hdr : { *(.eh_frame_hdr) } .eh_frame : ONLY_IF_RO { KEEP (*(.eh_frame)) } .gcc_except_table : ONLY_IF_RO { KEEP (*(.gcc_except_table)) *(.gcc_except_table.*) } diff --git a/ld/testsuite/ld-arm/arm-lib.ld b/ld/testsuite/ld-arm/arm-lib.ld index 2d2850e3da1..c9482c352b7 100644 --- a/ld/testsuite/ld-arm/arm-lib.ld +++ b/ld/testsuite/ld-arm/arm-lib.ld @@ -67,9 +67,9 @@ SECTIONS .rodata : { *(.rodata .rodata.* .gnu.linkonce.r.*) } .rodata1 : { *(.rodata1) } .ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*) } - __exidx_start = .; + PROVIDE_HIDDEN (__exidx_start = .); .ARM.exidx : { *(.ARM.exidx* .gnu.linkonce.armexidx.*) } - __exidx_end = .; + PROVIDE_HIDDEN (__exidx_end = .); .eh_frame_hdr : { *(.eh_frame_hdr) } .eh_frame : ONLY_IF_RO { KEEP (*(.eh_frame)) } .gcc_except_table : ONLY_IF_RO { KEEP (*(.gcc_except_table)) *(.gcc_except_table.*) } diff --git a/ld/testsuite/ld-arm/armthumb-lib.sym b/ld/testsuite/ld-arm/armthumb-lib.sym index 9e864b2eb74..c7f472824b9 100644 --- a/ld/testsuite/ld-arm/armthumb-lib.sym +++ b/ld/testsuite/ld-arm/armthumb-lib.sym @@ -7,11 +7,9 @@ Symbol table for image: +.. +..: ........ +4 +OBJECT +GLOBAL +DEFAULT +9 data_obj +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_end__ +.. +..: .......0 +20 +FUNC +GLOBAL +DEFAULT +6 lib_func1 - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __exidx_start +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +9 __data_start +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __end__ +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.. +..: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND app_func2 +.. +..: .......0 +2 +FUNC +GLOBAL +DEFAULT +6 lib_func2 +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _bss_end__ - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __exidx_end diff --git a/ld/testsuite/ld-arm/farcall-mixed-app-v5.d b/ld/testsuite/ld-arm/farcall-mixed-app-v5.d index d0ff22e43a5..fe57a35eeff 100644 --- a/ld/testsuite/ld-arm/farcall-mixed-app-v5.d +++ b/ld/testsuite/ld-arm/farcall-mixed-app-v5.d @@ -8,7 +8,7 @@ Disassembly of section .plt: .* <.plt>: .*: e52de004 push {lr} ; \(str lr, \[sp, #-4\]!\) - .*: e59fe004 ldr lr, \[pc, #4\] ; .* <_start-0x1c> + .*: e59fe004 ldr lr, \[pc, #4\] ; .* <_start-0x28> .*: e08fe00e add lr, pc, lr .*: e5bef008 ldr pc, \[lr, #8\]! .*: .* @@ -25,15 +25,15 @@ Disassembly of section .text: .*: e1a0c00d mov ip, sp .*: e92dd800 push {fp, ip, lr, pc} .*: eb000008 bl .* <__app_func_veneer> - .*: ebfffff8 bl .* <_start-0xc> - .*: ebfffff4 bl .* <_start-0x18> + .*: ebfffff5 bl .* <_start-0x18> + .*: ebfffff1 bl .* <_start-0x24> .*: e89d6800 ldm sp, {fp, sp, lr} .*: e12fff1e bx lr .*: e1a00000 nop ; \(mov r0, r0\) .* : .*: b500 push {lr} - .*: f7ff efe2 blx .* <_start-0x18> + .*: f7ff efdc blx .* <_start-0x24> .*: bd00 pop {pc} .*: 4770 bx lr .*: 46c0 nop ; \(mov r8, r8\) @@ -64,10 +64,10 @@ Disassembly of section .far_arm: .* <__lib_func2_veneer>: .*: e51ff004 ldr pc, \[pc, #-4\] ; 2100034 <__lib_func2_veneer\+0x4> - .*: 00008218 .word 0x00008218 + .*: 000081dc .word 0x000081dc .* <__lib_func1_veneer>: .*: e51ff004 ldr pc, \[pc, #-4\] ; 210003c <__lib_func1_veneer\+0x4> - .*: 00008224 .word 0x00008224 + .*: 000081e8 .word 0x000081e8 Disassembly of section .far_thumb: @@ -82,4 +82,4 @@ Disassembly of section .far_thumb: .* <__lib_func2_from_thumb>: .*: e51ff004 ldr pc, \[pc, #-4\] ; 2200014 <__lib_func2_from_thumb\+0x4> - .*: 00008218 .word 0x00008218 + .*: 000081dc .word 0x000081dc diff --git a/ld/testsuite/ld-arm/farcall-mixed-app.d b/ld/testsuite/ld-arm/farcall-mixed-app.d index 5b6eafb6536..9a09ebcb520 100644 --- a/ld/testsuite/ld-arm/farcall-mixed-app.d +++ b/ld/testsuite/ld-arm/farcall-mixed-app.d @@ -8,7 +8,7 @@ Disassembly of section .plt: .* <.plt>: .*: e52de004 push {lr} ; \(str lr, \[sp, #-4\]!\) - .*: e59fe004 ldr lr, \[pc, #4\] ; .* <_start-0x2c> + .*: e59fe004 ldr lr, \[pc, #4\] ; .* <_start-0x28> .*: e08fe00e add lr, pc, lr .*: e5bef008 ldr pc, \[lr, #8\]! .*: .* @@ -27,15 +27,15 @@ Disassembly of section .text: .*: e1a0c00d mov ip, sp .*: e92dd800 push {fp, ip, lr, pc} .*: eb000008 bl .* <__app_func_veneer> - .*: ebfffff5 bl .* <_start-0x18> - .*: ebfffff1 bl .* <_start-0x24> + .*: ebfffff6 bl .* <_start-0x14> + .*: ebfffff2 bl .* <_start-0x20> .*: e89d6800 ldm sp, {fp, sp, lr} .*: e12fff1e bx lr .*: e1a00000 nop ; \(mov r0, r0\) .* : .*: b500 push {lr} - .*: f7ff ffd9 bl 8218 <_start-0x28> + .*: f7ff ffdb bl 81dc <_start-0x24> .*: bd00 pop {pc} .*: 4770 bx lr .*: 46c0 nop ; \(mov r8, r8\) @@ -43,7 +43,7 @@ Disassembly of section .text: .*: 46c0 nop ; \(mov r8, r8\) .* <__app_func_veneer>: - .*: e51ff004 ldr pc, \[pc, #-4\] ; 8274 <__app_func_veneer\+0x4> + .*: e51ff004 ldr pc, \[pc, #-4\] ; 8234 <__app_func_veneer\+0x4> .*: 02100000 .word 0x02100000 Disassembly of section .far_arm: @@ -66,10 +66,10 @@ Disassembly of section .far_arm: .* <__lib_func2_veneer>: .*: e51ff004 ldr pc, \[pc, #-4\] ; 2100034 <__lib_func2_veneer\+0x4> - .*: 0000821c .word 0x0000821c + .*: 000081e0 .word 0x000081e0 .* <__lib_func1_veneer>: .*: e51ff004 ldr pc, \[pc, #-4\] ; 210003c <__lib_func1_veneer\+0x4> - .*: 00008228 .word 0x00008228 + .*: 000081ec .word 0x000081ec Disassembly of section .far_thumb: @@ -86,5 +86,5 @@ Disassembly of section .far_thumb: .*: 4778 bx pc .*: 46c0 nop ; \(mov r8, r8\) .*: e51ff004 ldr pc, \[pc, #-4\] ; 2200018 <__lib_func2_from_thumb\+0x8> - .*: 0000821c .word 0x0000821c + .*: 000081e0 .word 0x000081e0 .*: 00000000 .word 0x00000000 diff --git a/ld/testsuite/ld-arm/farcall-mixed-app.sym b/ld/testsuite/ld-arm/farcall-mixed-app.sym index 3e09b7a9743..8e04cc326fd 100644 --- a/ld/testsuite/ld-arm/farcall-mixed-app.sym +++ b/ld/testsuite/ld-arm/farcall-mixed-app.sym @@ -7,11 +7,9 @@ Symbol table for image: +.. +..: ........ +4 +OBJECT +GLOBAL +DEFAULT +12 data_obj +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_end__ +.. +..: 0*[^0]*.* +0 +FUNC +GLOBAL +DEFAULT +UND lib_func1 - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __exidx_start +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +11 __data_start +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __end__ +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.. +..: .......0 +0 +FUNC +GLOBAL +DEFAULT +14 app_func2 +.. +..: 0*[^0]*.* +0 +FUNC +GLOBAL +DEFAULT +UND lib_func2 +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _bss_end__ - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __exidx_end diff --git a/ld/testsuite/ld-arm/farcall-mixed-lib.d b/ld/testsuite/ld-arm/farcall-mixed-lib.d index 0c9937549d0..4e529a47d65 100644 --- a/ld/testsuite/ld-arm/farcall-mixed-lib.d +++ b/ld/testsuite/ld-arm/farcall-mixed-lib.d @@ -29,8 +29,8 @@ Disassembly of section .text: .* : .*: e1a0c00d mov ip, sp .*: e92dd800 push {fp, ip, lr, pc} - .*: ebfffff. bl .* - .*: ebfffff. bl .* + .*: ebffff.. bl .* + .*: ebffff.. bl .* .*: ebfffff. bl .* .*: ebfffff. bl .* .*: e89d6800 ldm sp, {fp, sp, lr} @@ -38,10 +38,10 @@ Disassembly of section .text: ... .* : - .*: f000 e80e blx 1000350 <__app_func_from_thumb> - .*: f000 e81a blx 100036c <__app_func_weak_from_thumb> - .*: f000 e810 blx 100035c <__lib_func3_veneer> - .*: f000 e81c blx 1000378 <__lib_func4_from_thumb> + .*: f000 e80e blx 1000320 <__app_func_from_thumb> + .*: f000 e81a blx 100033c <__app_func_weak_from_thumb> + .*: f000 e810 blx 100032c <__lib_func3_veneer> + .*: f000 e81c blx 1000348 <__lib_func4_from_thumb> .*: 4770 bx lr .*: 46c0 nop ; \(mov r8, r8\) .*: 46c0 nop ; \(mov r8, r8\) @@ -52,42 +52,42 @@ Disassembly of section .text: .*: 46c0 nop ; \(mov r8, r8\) .* <__app_func_from_thumb>: - .*: e59fc000 ldr ip, \[pc, #0\] ; 1000358 <__app_func_from_thumb\+0x8> + .*: e59fc000 ldr ip, \[pc, #0\] ; 1000328 <__app_func_from_thumb\+0x8> .*: e08ff00c add pc, pc, ip - .*: feffff84 .word 0xfeffff84 + .*: feffff78 .word 0xfeffff78 .* <__lib_func3_veneer>: - .*: e59fc004 ldr ip, \[pc, #4\] ; 1000368 <__lib_func3_veneer\+0xc> + .*: e59fc004 ldr ip, \[pc, #4\] ; 1000338 <__lib_func3_veneer\+0xc> .*: e08fc00c add ip, pc, ip .*: e12fff1c bx ip - .*: feffff91 .word 0xfeffff91 + .*: feffff85 .word 0xfeffff85 .* <__app_func_weak_from_thumb>: - .*: e59fc000 ldr ip, \[pc, #0\] ; 1000374 <__app_func_weak_from_thumb\+0x8> + .*: e59fc000 ldr ip, \[pc, #0\] ; 1000344 <__app_func_weak_from_thumb\+0x8> .*: e08ff00c add pc, pc, ip - .*: feffff74 .word 0xfeffff74 + .*: feffff68 .word 0xfeffff68 .* <__lib_func4_from_thumb>: - .*: e59fc000 ldr ip, \[pc, #0\] ; 1000380 <__lib_func4_from_thumb\+0x8> + .*: e59fc000 ldr ip, \[pc, #0\] ; 1000350 <__lib_func4_from_thumb\+0x8> .*: e08ff00c add pc, pc, ip - .*: feffff80 .word 0xfeffff80 + .*: feffff74 .word 0xfeffff74 ... .* : - .*: f000 e80c blx 20003ac <__app_func_from_thumb> - .*: f000 e804 blx 20003a0 <__app_func_weak_from_thumb> + .*: f000 e80c blx 200037c <__app_func_from_thumb> + .*: f000 e804 blx 2000370 <__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_weak_from_thumb>: - .*: e59fc000 ldr ip, \[pc, #0\] ; 20003a8 <__app_func_weak_from_thumb\+0x8> + .*: e59fc000 ldr ip, \[pc, #0\] ; 2000378 <__app_func_weak_from_thumb\+0x8> .*: e08ff00c add pc, pc, ip - .*: fdffff40 .word 0xfdffff40 + .*: fdffff34 .word 0xfdffff34 .* <__app_func_from_thumb>: - .*: e59fc000 ldr ip, \[pc, #0\] ; 20003b4 <__app_func_from_thumb\+0x8> + .*: e59fc000 ldr ip, \[pc, #0\] ; 2000384 <__app_func_from_thumb\+0x8> .*: e08ff00c add pc, pc, ip - .*: fdffff28 .word 0xfdffff28 + .*: fdffff1c .word 0xfdffff1c ... diff --git a/ld/testsuite/ld-arm/mixed-app-v5.d b/ld/testsuite/ld-arm/mixed-app-v5.d index 0b1b986e368..a30fde47d70 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 push {lr} ; \(str lr, \[sp, #-4\]!\) - .*: e59fe004 ldr lr, \[pc, #4\] ; .* <_start-0x1c> + .*: e59fe004 ldr lr, \[pc, #4\] ; .* <_start-0x28> .*: e08fe00e add lr, pc, lr .*: e5bef008 ldr pc, \[lr, #8\]! .*: .* @@ -33,7 +33,7 @@ Disassembly of section .text: .* : .*: e1a0c00d mov ip, sp .*: e92dd800 push {fp, ip, lr, pc} - .*: ebfffff. bl .* + .*: ebffffee bl .* .*: e89d6800 ldm sp, {fp, sp, lr} .*: e12fff1e bx lr .*: e1a00000 nop ; \(mov r0, r0\) diff --git a/ld/testsuite/ld-arm/mixed-app.d b/ld/testsuite/ld-arm/mixed-app.d index d8188a2db77..592e18a5dff 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 push {lr} ; \(str lr, \[sp, #-4\]!\) - .*: e59fe004 ldr lr, \[pc, #4\] ; .* <_start-0x2c> + .*: e59fe004 ldr lr, \[pc, #4\] ; .* <_start-0x28> .*: e08fe00e add lr, pc, lr .*: e5bef008 ldr pc, \[lr, #8\]! .*: .* diff --git a/ld/testsuite/ld-arm/mixed-app.sym b/ld/testsuite/ld-arm/mixed-app.sym index 3df79cbe8fc..2884b3d4055 100644 --- a/ld/testsuite/ld-arm/mixed-app.sym +++ b/ld/testsuite/ld-arm/mixed-app.sym @@ -7,11 +7,9 @@ Symbol table for image: +.. +..: ........ +4 +OBJECT +GLOBAL +DEFAULT +12 data_obj +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_end__ +.. +..: 0*[^0]*.* +0 +FUNC +GLOBAL +DEFAULT +UND lib_func1 - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __exidx_start +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +11 __data_start +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __end__ +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.. +..: .......0 +0 +FUNC +GLOBAL +DEFAULT +8 app_func2 +.. +..: 0*[^0]*.* +0 +FUNC +GLOBAL +DEFAULT +UND lib_func2 +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _bss_end__ - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __exidx_end diff --git a/ld/testsuite/ld-arm/mixed-lib.sym b/ld/testsuite/ld-arm/mixed-lib.sym index 7217935e8b4..9f7a3260cbb 100644 --- a/ld/testsuite/ld-arm/mixed-lib.sym +++ b/ld/testsuite/ld-arm/mixed-lib.sym @@ -7,11 +7,9 @@ Symbol table for image: +.. +..: ........ +4 +OBJECT +GLOBAL +DEFAULT +9 data_obj +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_end__ +.. +..: .......0 +20 +FUNC +GLOBAL +DEFAULT +6 lib_func1 - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __exidx_start +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +9 __data_start +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __end__ +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.. +..: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND app_func2 +.. +..: .......1 +2 +FUNC +GLOBAL +DEFAULT +6 lib_func2 +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _bss_end__ - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __exidx_end diff --git a/ld/testsuite/ld-arm/preempt-app.sym b/ld/testsuite/ld-arm/preempt-app.sym index 8d38fa89cb2..c169757bcb9 100644 --- a/ld/testsuite/ld-arm/preempt-app.sym +++ b/ld/testsuite/ld-arm/preempt-app.sym @@ -7,10 +7,8 @@ Symbol table for image: +.. +..: ........ +4 +OBJECT +GLOBAL +DEFAULT +10 data_obj +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_end__ +.. +..: .......1 +20 +FUNC +GLOBAL +DEFAULT +6 lib_func1 - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __exidx_start +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +9 __data_start +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __end__ +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.. +..: .......0 +0 +FUNC +GLOBAL +DEFAULT +6 app_func2 +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _bss_end__ - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __exidx_end diff --git a/ld/testsuite/ld-arm/tls-app.d b/ld/testsuite/ld-arm/tls-app.d index 53ba947b7a7..7d2a7094a28 100644 --- a/ld/testsuite/ld-arm/tls-app.d +++ b/ld/testsuite/ld-arm/tls-app.d @@ -2,17 +2,17 @@ .*: file format elf32-.*arm architecture: arm, flags 0x00000112: EXEC_P, HAS_SYMS, D_PAGED -start address 0x00008204 +start address 0x000081c8 Disassembly of section .text: -00008204 : - 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 - 8218: 000080ac .word 0x000080ac - 821c: 00000004 .word 0x00000004 - 8220: 000080c4 .word 0x000080c4 - 8224: 00000014 .word 0x00000014 +000081c8 : + 81c8: e1a00000 nop ; \(mov r0, r0\) + 81cc: e1a00000 nop ; \(mov r0, r0\) + 81d0: e1a0f00e mov pc, lr + 81d4: 000080bc .word 0x000080bc + 81d8: 000080b4 .word 0x000080b4 + 81dc: 000080ac .word 0x000080ac + 81e0: 00000004 .word 0x00000004 + 81e4: 000080c4 .word 0x000080c4 + 81e8: 00000014 .word 0x00000014