From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18391 invoked by alias); 14 Dec 2001 22:31:20 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 18121 invoked from network); 14 Dec 2001 22:30:00 -0000 Received: from unknown (HELO mail.pathwayconnect.com) (209.91.95.13) by sources.redhat.com with SMTP; 14 Dec 2001 22:30:00 -0000 Received: (qmail 18598 invoked from network); 14 Dec 2001 22:29:55 -0000 Received: from unknown (HELO dazed) (192.168.0.149) by 0 with SMTP; 14 Dec 2001 22:29:55 -0000 Received: from dazed ([127.0.0.1] helo=there ident=sjackman) by dazed with smtp (Exim 3.32 #1 (Debian)) id 16F0pT-0002uh-00 for ; Fri, 14 Dec 2001 15:29:19 -0700 Content-Type: text/plain; charset="iso-8859-1" From: Shaun Jackman Organization: Pathway Connectivity To: gcc-help@gcc.gnu.org Subject: ARM/Thumb on a per function basis Date: Fri, 14 Dec 2001 14:31:00 -0000 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: X-SW-Source: 2001-12/txt/msg00111.txt.bz2 I know -marm and -mthumb can be used from the command line to specify which source modules should be compiled for arm, and which should be compiled for thumb, but is it possible to specify this on a per function basis? void my_arm_f( void) __attribute__((arm)) { } void my_thumb_f( void) __attribute__((thumb)) { } The interfacearm attribute is the only attribute I can find that's even remotely close. I don't think this is what I want though. Please cc me as I'm not a member of this list, Thanks, Shaun