This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/7525] [ARM/Thumb] long calls stubs only in one code section, cannot branch to them from other section
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Mar 2005 20:19:28 -0000
- Subject: [Bug target/7525] [ARM/Thumb] long calls stubs only in one code section, cannot branch to them from other section
- References: <20020807084605.7525.andy.green@oxsemi.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-03-22 20:19 -------
Subject: Bug 7525
CVSROOT: /cvs/gcc
Module name: gcc
Branch: csl-arm-branch
Changes by: mmitchel@gcc.gnu.org 2005-03-22 20:19:20
Modified files:
gcc : ChangeLog.csl-arm
gcc/config/arm : arm-protos.h arm.c arm.h arm.md
Log message:
Merge from mainline.
2005-01-14 Richard Earnshaw <rearnsha@arm.com>
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.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.csl-arm.diff?cvsroot=gcc&only_with_tag=csl-arm-branch&r1=1.1.2.95&r2=1.1.2.96
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/arm/arm-protos.h.diff?cvsroot=gcc&only_with_tag=csl-arm-branch&r1=1.60.4.17&r2=1.60.4.18
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/arm/arm.c.diff?cvsroot=gcc&only_with_tag=csl-arm-branch&r1=1.303.2.72&r2=1.303.2.73
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/arm/arm.h.diff?cvsroot=gcc&only_with_tag=csl-arm-branch&r1=1.210.2.55&r2=1.210.2.56
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/arm/arm.md.diff?cvsroot=gcc&only_with_tag=csl-arm-branch&r1=1.145.2.29&r2=1.145.2.30
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7525