From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14277 invoked by alias); 23 Nov 2003 05:45:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 14267 invoked by alias); 23 Nov 2003 05:44:59 -0000 Date: Sun, 23 Nov 2003 05:45:00 -0000 Message-ID: <20031123054459.14266.qmail@sources.redhat.com> From: "cvs-commit at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20031001112729.12476.thomas@koeller.dyndns.org> References: <20031001112729.12476.thomas@koeller.dyndns.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug target/12476] ARM/THUMB thunk calls broken X-Bugzilla-Reason: CC X-SW-Source: 2003-11/txt/msg02033.txt.bz2 List-Id: ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-11-23 05:44 ------- Subject: Bug 12476 CVSROOT: /cvs/gcc Module name: gcc Branch: csl-arm-branch Changes by: pme@gcc.gnu.org 2003-11-23 05:44:53 Modified files: gcc : ChangeLog gcc/config/arm : arm.c arm.h Log message: 2003-11-22 Phil Edwards PR target/12476 * config/arm/arm.c (arm_output_mi_thunk): In Thumb mode, use 'bx' instead of 'b' to avoid branch range restrictions. Output the thunk immediately before the thunked-to function. * config/arm/arm.h (ARM_DECLARE_FUNCTION_NAME): Do not emit .thumb_func if a thunk is being generated. Emit .code 16 along with .thumb_func if a thunk is not being generated. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=csl-arm-branch&r1=2.1568.2.5&r2=2.1568.2.6 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.2&r2=1.303.2.3 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.1&r2=1.210.2.2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12476