From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23574 invoked by alias); 12 Sep 2011 16:38:45 -0000 Received: (qmail 23562 invoked by uid 22791); 12 Sep 2011 16:38:44 -0000 X-SWARE-Spam-Status: No, hits=-6.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 12 Sep 2011 16:38:23 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p8CGcM5p013255 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 12 Sep 2011 12:38:22 -0400 Received: from fche.csb (vpn-9-29.rdu.redhat.com [10.11.9.29]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p8CGcMd9006283; Mon, 12 Sep 2011 12:38:22 -0400 Received: by fche.csb (Postfix, from userid 2569) id BC2ED5813C; Mon, 12 Sep 2011 12:38:21 -0400 (EDT) Date: Mon, 12 Sep 2011 16:38:00 -0000 From: "Frank Ch. Eigler" To: Aurelien Buhrig Cc: cgen Subject: Re: Complex relocs and RELOC_IMPLIES_OVERFLOW attr Message-ID: <20110912163821.GD1596@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i X-IsSubscribed: yes Mailing-List: contact cgen-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sourceware.org X-SW-Source: 2011-q3/txt/msg00014.txt.bz2 Hi - > I've defined OBJ_COMPLEX_RELC macro to enable complex relocations > (from mep port) in my cpu port which seems to work well. > But for gas to compile, the RELOC_IMPLIES_OVERFLOW attr must be > defined in the cpu file (only in mep-core.cpu till now). [...] I can't explain why it's done in the present way (using a generated symbol rather than a hard-coded one); maybe because cgen .cpu-level symbols cannot normally refer to normal C ones. > are the complex relocs in cgen a very experimental feature we > shouldn't use ? They are done, working as far as I know. However, they are not used much: their capability is not needed or just not appreciated widely. - FChE