diff options
author | Daniel Jacobowitz <drow@false.org> | 2004-01-13 21:09:18 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2004-01-13 21:09:18 +0000 |
commit | 0885b73e8a827df0530bb2cee57affc5ecd9fa1e (patch) | |
tree | 14026c7c04b34f2ad4eeccedc712dc79dbdf42d4 /ld/testsuite/ld-arm/arm-static-app.s | |
parent | f532f3fa70bca3497edbcc37771da41a033e871c (diff) | |
download | gdb-0885b73e8a827df0530bb2cee57affc5ecd9fa1e.zip gdb-0885b73e8a827df0530bb2cee57affc5ecd9fa1e.tar.gz gdb-0885b73e8a827df0530bb2cee57affc5ecd9fa1e.tar.bz2 |
* ld-arm/arm-elf.exp: Add arm-static-app test.
* ld-arm/arm-static-app.s, ld-arm/arm-static-app.d,
ld-arm/arm-static-app.r: New files.
Diffstat (limited to 'ld/testsuite/ld-arm/arm-static-app.s')
-rw-r--r-- | ld/testsuite/ld-arm/arm-static-app.s | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/arm-static-app.s b/ld/testsuite/ld-arm/arm-static-app.s new file mode 100644 index 0000000..99c579f --- /dev/null +++ b/ld/testsuite/ld-arm/arm-static-app.s @@ -0,0 +1,20 @@ + .text + .globl _start +_start: + mov ip, sp + stmdb sp!, {r11, ip, lr, pc} + bl app_func + ldmia sp, {r11, sp, lr} + bx lr + + .globl app_func +app_func: + mov ip, sp + stmdb sp!, {r11, ip, lr, pc} + bl app_func2 + ldmia sp, {r11, sp, lr} + bx lr + + .globl app_func2 +app_func2: + bx lr |