From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26504 invoked by alias); 29 Oct 2004 15:34:52 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 26491 invoked from network); 29 Oct 2004 15:34:50 -0000 Received: from unknown (HELO krynn.se.axis.com) (193.13.178.10) by sourceware.org with SMTP; 29 Oct 2004 15:34:50 -0000 Received: from ignucius.se.axis.com (ignucius.se.axis.com [10.83.5.18]) by krynn.se.axis.com (8.12.9/8.12.9/Debian-5local0.1) with ESMTP id i9TFYn5w006228; Fri, 29 Oct 2004 17:34:49 +0200 Received: from ignucius.se.axis.com (localhost [127.0.0.1]) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) with ESMTP id i9TFYndD031175; Fri, 29 Oct 2004 17:34:49 +0200 Received: (from hp@localhost) by ignucius.se.axis.com (8.12.8p1/8.12.8/Debian-2woody1) id i9TFYnKf031171; Fri, 29 Oct 2004 17:34:49 +0200 Date: Fri, 29 Oct 2004 15:34:00 -0000 Message-Id: <200410291534.i9TFYnKf031171@ignucius.se.axis.com> From: Hans-Peter Nilsson To: binutils@sources.redhat.com Subject: Gas: making md_long_jump_size mutable X-SW-Source: 2004-10/txt/msg00470.txt.bz2 Sensitive people might want to skip this message, as it only matters to targets with "broken dot word" support. (Though there seems to be 13 of them, judging from number of definitions of md_long_jump_size.) I'd like to commit a CRIS variant called CRISv32. Support for crisv32-*-* is already in the imported config.sub and config.guess. The binutils support will be both as separate crisv32-*-* targets and as options for the cris-*-* ELF targets. However, CRISv32 needs a different value for md_long_jump_size than CRIS. I see two solutions: remove the "const" from the extern declaration in symbols.c and write.c (!) or wrap them #ifndef md_long_jump_size_declaration (or similar). (Actually, the first step would be to move declarations to tc.h but let's keep that separate to the discussion.) I'd prefer to just remove the "const". (No, I'm not interested in alternative 3: remove BROKEN_DOT_WORD support. At least not for the time being. ;-) brgds, H-P