diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-11-13 21:18:36 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-11-13 21:18:36 +0000 |
commit | f53e1b4030585ec2db270b8769d69c6b320ae348 (patch) | |
tree | f632f88727775e0d03b9e01ead421e918ef279c6 | |
parent | d504ffc8519a0f1674715a8d55975c762c3ca1df (diff) | |
download | gdb-f53e1b4030585ec2db270b8769d69c6b320ae348.zip gdb-f53e1b4030585ec2db270b8769d69c6b320ae348.tar.gz gdb-f53e1b4030585ec2db270b8769d69c6b320ae348.tar.bz2 |
* ld-arm/arm-dyn.ld, ld-arm/arm-lib.ld: Remove .stack.
* ld-arm/armthumb-lib.d, ld-arm/mixed-app.d, ld-arm/mixed-lib.d:
Allow smaller section gap.
* ld-arm/armthumb-lib.sym, ld-arm/mixed-lib.sym: Reorder. Remove
_stack.
* ld-arm/mixed-app.sym: Remove _stack.
* ld-arm/tls-app.d: Update start address.
-rw-r--r-- | ld/testsuite/ChangeLog | 10 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/arm-dyn.ld | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/arm-lib.ld | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/armthumb-lib.d | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/armthumb-lib.sym | 19 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/mixed-app.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/mixed-app.sym | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/mixed-lib.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/mixed-lib.sym | 19 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/tls-app.d | 22 |
10 files changed, 43 insertions, 46 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 397caa1..ed48677 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2006-11-13 Daniel Jacobowitz <dan@codesourcery.com> + + * ld-arm/arm-dyn.ld, ld-arm/arm-lib.ld: Remove .stack. + * ld-arm/armthumb-lib.d, ld-arm/mixed-app.d, ld-arm/mixed-lib.d: + Allow smaller section gap. + * ld-arm/armthumb-lib.sym, ld-arm/mixed-lib.sym: Reorder. Remove + _stack. + * ld-arm/mixed-app.sym: Remove _stack. + * ld-arm/tls-app.d: Update start address. + 2006-11-08 Alan Modra <amodra@bigpond.net.au> * ld-elf/group.ld: Handle .rodata.brlt for powerpc64. diff --git a/ld/testsuite/ld-arm/arm-dyn.ld b/ld/testsuite/ld-arm/arm-dyn.ld index 96bc10c..4f2e0de 100644 --- a/ld/testsuite/ld-arm/arm-dyn.ld +++ b/ld/testsuite/ld-arm/arm-dyn.ld @@ -187,11 +187,6 @@ SECTIONS .debug_funcnames 0 : { *(.debug_funcnames) } .debug_typenames 0 : { *(.debug_typenames) } .debug_varnames 0 : { *(.debug_varnames) } - .stack 0x80000 : - { - _stack = .; - *(.stack) - } .note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) } /DISCARD/ : { *(.note.GNU-stack) } } diff --git a/ld/testsuite/ld-arm/arm-lib.ld b/ld/testsuite/ld-arm/arm-lib.ld index 0415d20..2d2850e 100644 --- a/ld/testsuite/ld-arm/arm-lib.ld +++ b/ld/testsuite/ld-arm/arm-lib.ld @@ -180,11 +180,6 @@ SECTIONS .debug_funcnames 0 : { *(.debug_funcnames) } .debug_typenames 0 : { *(.debug_typenames) } .debug_varnames 0 : { *(.debug_varnames) } - .stack 0x80000 : - { - _stack = .; - *(.stack) - } .note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) } /DISCARD/ : { *(.note.GNU-stack) } } diff --git a/ld/testsuite/ld-arm/armthumb-lib.d b/ld/testsuite/ld-arm/armthumb-lib.d index 66e0590..ebbb390 100644 --- a/ld/testsuite/ld-arm/armthumb-lib.d +++ b/ld/testsuite/ld-arm/armthumb-lib.d @@ -20,7 +20,7 @@ Disassembly of section .text: .* <lib_func1>: .*: e1a0c00d mov ip, sp .*: e92dd800 stmdb sp!, {fp, ip, lr, pc} - .*: ebfffff. bl .* <.text-0x..> + .*: ebfffff. bl .* <.text-0x..?> .*: e89d6800 ldmia sp, {fp, sp, lr} .*: e12fff1e bx lr .*: e1a00000 nop \(mov r0,r0\) @@ -38,7 +38,7 @@ Disassembly of section .text: .*: 46c0 nop \(mov r8, r8\) .* <lib_func2>: - .*: e59fc004 ldr ip, \[pc, #4\] ; 33c <lib_func2\+0xc> + .*: e59fc004 ldr ip, \[pc, #4\] ; .* <lib_func2\+0xc> .*: e08cc00f add ip, ip, pc .*: e12fff1c bx ip .*: ffffffe5 .* diff --git a/ld/testsuite/ld-arm/armthumb-lib.sym b/ld/testsuite/ld-arm/armthumb-lib.sym index d05794c..d482ccd 100644 --- a/ld/testsuite/ld-arm/armthumb-lib.sym +++ b/ld/testsuite/ld-arm/armthumb-lib.sym @@ -2,17 +2,16 @@ Symbol table for image: Num Buc: Value Size Type Bind Vis Ndx Name .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _edata - .. ..: .......0 20 FUNC GLOBAL DEFAULT 6 lib_func1 - .. ..: .......0 2 FUNC GLOBAL DEFAULT 6 lib_func2 - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _bss_end__ - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_end__ - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _stack - .. ..: ........ 4 OBJECT GLOBAL DEFAULT 9 data_obj .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_start__ - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_start .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _end - .. ..: 00000000 0 NOTYPE GLOBAL DEFAULT UND app_func2 - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __exidx_end + .. ..: ........ 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 __exidx_start + .. ..: ........ 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/mixed-app.d b/ld/testsuite/ld-arm/mixed-app.d index 7893a33..dd61caa 100644 --- a/ld/testsuite/ld-arm/mixed-app.d +++ b/ld/testsuite/ld-arm/mixed-app.d @@ -34,7 +34,7 @@ Disassembly of section .text: .* <app_func>: .*: e1a0c00d mov ip, sp .*: e92dd800 stmdb sp!, {fp, ip, lr, pc} - .*: ebfffff. bl .* + .*: ebffff.. bl .* .*: e89d6800 ldmia sp, {fp, sp, lr} .*: e12fff1e bx lr .*: e1a00000 nop \(mov r0,r0\) diff --git a/ld/testsuite/ld-arm/mixed-app.sym b/ld/testsuite/ld-arm/mixed-app.sym index b0f4f60..c63a343 100644 --- a/ld/testsuite/ld-arm/mixed-app.sym +++ b/ld/testsuite/ld-arm/mixed-app.sym @@ -9,7 +9,6 @@ Symbol table for image: .. ..: 0*[^0]*.* 20 FUNC GLOBAL DEFAULT UND lib_func1 .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __exidx_start .. ..: ........ 0 NOTYPE GLOBAL DEFAULT 11 __data_start - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT 12 _stack .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __end__ .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_start .. ..: .......0 0 FUNC GLOBAL DEFAULT 8 app_func2 diff --git a/ld/testsuite/ld-arm/mixed-lib.d b/ld/testsuite/ld-arm/mixed-lib.d index 0c426f3..b70eef8 100644 --- a/ld/testsuite/ld-arm/mixed-lib.d +++ b/ld/testsuite/ld-arm/mixed-lib.d @@ -20,7 +20,7 @@ Disassembly of section .text: .* <lib_func1>: .*: e1a0c00d mov ip, sp .*: e92dd800 stmdb sp!, {fp, ip, lr, pc} - .*: ebfffff. bl .* <.text-0x..> + .*: ebfffff. bl .* <.text-0x..?> .*: e89d6800 ldmia sp, {fp, sp, lr} .*: e12fff1e bx lr .*: e1a00000 nop \(mov r0,r0\) diff --git a/ld/testsuite/ld-arm/mixed-lib.sym b/ld/testsuite/ld-arm/mixed-lib.sym index 4ccccdb..677d2ed 100644 --- a/ld/testsuite/ld-arm/mixed-lib.sym +++ b/ld/testsuite/ld-arm/mixed-lib.sym @@ -2,17 +2,16 @@ Symbol table for image: Num Buc: Value Size Type Bind Vis Ndx Name .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _edata - .. ..: .......0 20 FUNC GLOBAL DEFAULT 6 lib_func1 - .. ..: .......1 2 FUNC GLOBAL DEFAULT 6 lib_func2 - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _bss_end__ - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_end__ - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _stack - .. ..: ........ 4 OBJECT GLOBAL DEFAULT 9 data_obj .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_start__ - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_start .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _end - .. ..: 00000000 0 NOTYPE GLOBAL DEFAULT UND app_func2 - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __exidx_end + .. ..: ........ 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 __exidx_start + .. ..: ........ 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/tls-app.d b/ld/testsuite/ld-arm/tls-app.d index 67e5de4..c1d61ab 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 0x00008220 +start address 0x00008204 Disassembly of section .text: -00008220 <foo>: - 8220: e1a00000 nop \(mov r0,r0\) - 8224: e1a00000 nop \(mov r0,r0\) - 8228: e1a0f00e mov pc, lr - 822c: 000080bc streqh r8, \[r0\], -ip - 8230: 000080b4 streqh r8, \[r0\], -r4 - 8234: 000080ac andeq r8, r0, ip, lsr #1 - 8238: 00000004 andeq r0, r0, r4 - 823c: 000080c4 andeq r8, r0, r4, asr #1 - 8240: 00000014 andeq r0, r0, r4, lsl r0 +00008204 <foo>: + 8204: e1a00000 nop \(mov r0,r0\) + 8208: e1a00000 nop \(mov r0,r0\) + 820c: e1a0f00e mov pc, lr + 8210: 000080bc streqh r8, \[r0\], -ip + 8214: 000080b4 streqh r8, \[r0\], -r4 + 8218: 000080ac andeq r8, r0, ip, lsr #1 + 821c: 00000004 andeq r0, r0, r4 + 8220: 000080c4 andeq r8, r0, r4, asr #1 + 8224: 00000014 andeq r0, r0, r4, lsl r0 |