diff options
author | Nick Clifton <nickc@redhat.com> | 2008-05-23 14:16:16 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2008-05-23 14:16:16 +0000 |
commit | 133d72e9955c347d1cbb0fae4424f0b34ef20b91 (patch) | |
tree | fd2c18e596145f7888e17924da5de5a61be12ee6 /ld/testsuite/ld-arm/farcall-group.d | |
parent | 95f283e8f644349569df75b089178014914d276c (diff) | |
download | gdb-133d72e9955c347d1cbb0fae4424f0b34ef20b91.zip gdb-133d72e9955c347d1cbb0fae4424f0b34ef20b91.tar.gz gdb-133d72e9955c347d1cbb0fae4424f0b34ef20b91.tar.bz2 |
Add more farcall tests
Diffstat (limited to 'ld/testsuite/ld-arm/farcall-group.d')
-rw-r--r-- | ld/testsuite/ld-arm/farcall-group.d | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/farcall-group.d b/ld/testsuite/ld-arm/farcall-group.d new file mode 100644 index 0000000..813344d --- /dev/null +++ b/ld/testsuite/ld-arm/farcall-group.d @@ -0,0 +1,46 @@ + +.*: file format .* + +Disassembly of section .text: + +00001000 <_start-0x40>: + 1000: e51ff004 ldr pc, \[pc, #-4\] ; 1004 <_start-0x3c> + 1004: 02003024 .word 0x02003024 + 1008: e59fc000 ldr ip, \[pc, #0\] ; 1010 <_start-0x30> + 100c: e12fff1c bx ip + 1010: 02003021 .word 0x02003021 + 1014: e51ff004 ldr pc, \[pc, #-4\] ; 1018 <_start-0x28> + 1018: 02003028 .word 0x02003028 + 101c: e59fc000 ldr ip, \[pc, #0\] ; 1024 <_start-0x1c> + 1020: e12fff1c bx ip + 1024: 0200302d .word 0x0200302d + 1028: e59fc000 ldr ip, \[pc, #0\] ; 1030 <_start-0x10> + 102c: e12fff1c bx ip + 1030: 0200302f .word 0x0200302f + ... + +00001040 <_start>: + 1040: ebfffff0 bl 1008 <_start-0x38> + 1044: ebffffed bl 1000 <_start-0x40> + +00001048 <myfunc>: + 1048: ebfffff1 bl 1014 <_start-0x2c> + 104c: ebfffff2 bl 101c <_start-0x24> + 1050: ebfffff4 bl 1028 <_start-0x18> +Disassembly of section .foo: + +02003020 <bar>: + 2003020: 4770 bx lr + ... + +02003024 <bar2>: + 2003024: e12fff1e bx lr + +02003028 <bar3>: + 2003028: e12fff1e bx lr + +0200302c <bar4>: + 200302c: 4770 bx lr + +0200302e <bar5>: + 200302e: 4770 bx lr |