From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21622 invoked by alias); 27 Oct 2008 19:03:17 -0000 Received: (qmail 21612 invoked by uid 22791); 27 Oct 2008 19:03:16 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 27 Oct 2008 19:02:40 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m9RJ2cDo011307 for ; Mon, 27 Oct 2008 15:02:38 -0400 Received: from greed.delorie.com (vpn-13-36.rdu.redhat.com [10.11.13.36]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m9RJ2b1l021504 for ; Mon, 27 Oct 2008 15:02:38 -0400 Received: from greed.delorie.com (localhost.localdomain [127.0.0.1]) by greed.delorie.com (8.14.2/8.14.2) with ESMTP id m9RJ2b1H002119 for ; Mon, 27 Oct 2008 15:02:37 -0400 Received: (from dj@localhost) by greed.delorie.com (8.14.2/8.14.2/Submit) id m9RJ2bhD002116; Mon, 27 Oct 2008 15:02:37 -0400 Date: Mon, 27 Oct 2008 20:02:00 -0000 Message-Id: <200810271902.m9RJ2bhD002116@greed.delorie.com> From: DJ Delorie To: gcc-patches@gcc.gnu.org Subject: [xstormy16] fix non-building test harness file X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2008-10/txt/msg01163.txt.bz2 The assembler no longer permits expressions that would require relocations in .space. This patch changes it to be position-independent - each chunk is padded to the right size, rather than to an absolute address. OK? 2008-10-27 DJ Delorie * gcc.target/xstormy16/below100.S (.chip_info): Use position-independent expressions for the fillers. Index: gcc.target/xstormy16/below100.S =================================================================== --- gcc.target/xstormy16/below100.S (revision 141389) +++ gcc.target/xstormy16/below100.S (working copy) @@ -151,19 +151,19 @@ _fini: #else .word 0x08000+ROM_SIZE-PROTECT_SIZE #endif /*************************************/ /** C0-CF : Fixed string **/ /*************************************/ - .ascii "CHIPINFORMATION" -1: .space (0xd0-1b),0x00 +1: .ascii "CHIPINFORMATION" +2: .space (0x10-(2b-1b)),0x00 /*************************************/ /** D0-DF : Chipname **/ /*************************************/ - .ascii "LC59_32K" -2: .space (0xe0-2b),0x00 +1: .ascii "LC59_32K" +2: .space (0x10-(2b-1b)),0x00 /*************************************/ /** E0-E1 : Format version(BCD4) **/ /*************************************/ .byte 0x10, 0x00 .space 6, 0x00 /*************************************/