]> gcc.gnu.org Git - gcc.git/commit
re PR target/7525 ([ARM/Thumb] long calls stubs only in one code section, cannot...
authorRichard Earnshaw <rearnsha@arm.com>
Fri, 14 Jan 2005 13:58:40 +0000 (13:58 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Fri, 14 Jan 2005 13:58:40 +0000 (13:58 +0000)
commitb12a00f173122aef3c77d763e75aeeb872ec4852
tree021122a0957f4ba3b3891a5ebe57b512188180cb
parentc224550fb5c90f7fb2b578507e837c77b7758d7d
re PR target/7525 ([ARM/Thumb] long calls stubs only in one code section, cannot branch to them from other section)

PR target/7525
* arm.h (struct machine_function): Add call_via field.
(thumb_call_via_label): Declare.
* arm.c (thumb_call_via_label): New variable.
(thumb_call_reg_needed): New variable.
(arm_output_function_epilogue): For Thumb code, output any per-function
call-indirect trampolines.
(thumb_call_via_reg): New function.
(arm_file_end): New function.
(TARGET_ASM_FILE_END): Call arm_file_end.
(aof_file_end): Likewise.
* arm-protos.h (thumb_call_via_reg): Declare.
* arm.md (call_reg_thumb, call_value_reg_thumb): Call
thumb_call_via_reg in normal case.

From-SVN: r93641
gcc/ChangeLog
gcc/config/arm/arm-protos.h
gcc/config/arm/arm.c
gcc/config/arm/arm.h
gcc/config/arm/arm.md
This page took 0.066819 seconds and 5 git commands to generate.