From patchwork Fri Dec 4 10:13:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Clifton X-Patchwork-Id: 9879 Received: (qmail 116673 invoked by alias); 4 Dec 2015 10:13:32 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 116662 invoked by uid 89); 4 Dec 2015 10:13:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL, BAYES_00, SPF_HELO_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 04 Dec 2015 10:13:31 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 0B06338C36F for ; Fri, 4 Dec 2015 10:13:30 +0000 (UTC) Received: from littlehelper.redhat.com (vpn1-4-90.ams2.redhat.com [10.36.4.90]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id tB4ADS9o004889 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 4 Dec 2015 05:13:29 -0500 From: Nick Clifton To: gdb-patches@sourceware.org Subject: Commit: MSP430: Define __high_bsssize for .upper.bss Date: Fri, 04 Dec 2015 10:13:27 +0000 Message-ID: <87a8pqwmgo.fsf@redhat.com> MIME-Version: 1.0 Hi Guys, I am checking in the patch below to update a previous fix for the msp430xl-sim.ld linker script. The symbol__high_bsssize needs to be defined by the script, not just provided by it, as otherwise the startup code will not accept it. Cheers Nick libgloss/ChangeLog 2015-12-04 Nick Clifton * msp430/msp430xl-sim.ld (__high_bsssize): Define. diff --git a/libgloss/msp430/msp430xl-sim.ld b/libgloss/msp430/msp430xl-sim.ld index 0cd9d3f..c0f5a1f 100644 --- a/libgloss/msp430/msp430xl-sim.ld +++ b/libgloss/msp430/msp430xl-sim.ld @@ -317,7 +317,7 @@ SECTIONS . = ALIGN(2); __high_bssend = .; } > HIFRAM - PROVIDE (__high_bsssize = SIZEOF(.upper.bss)); + __high_bsssize = SIZEOF(.upper.bss); /* We create this section so that "end" will always be in the HIFRAM region (matching .stack below), even if the .upper.bss