OSDN Git Service

PR target/51643
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Dec 2011 14:13:09 +0000 (14:13 +0000)
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Dec 2011 14:13:09 +0000 (14:13 +0000)
commit80abf0ad43c925a9cb797bc587c0797fe17322d7
treebce6c504cb06327a64dfee7c868d0aae7206e80c
parent7fe76953bc950347fd9ffe87ce65db7bd2c08836
PR target/51643
* arm.c (arm_function_ok_for_sibcall): Don't try to tailcall a
weak function on bare-metal EABI targets.

* gcc.target/arm/sibcall-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182621 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/sibcall-2.c [new file with mode: 0644]