From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19973 invoked by alias); 14 May 2005 00:28:19 -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 19816 invoked from network); 14 May 2005 00:28:10 -0000 Received: from unknown (HELO mailapp.tensilica.com) (65.205.227.29) by sourceware.org with SMTP; 14 May 2005 00:28:10 -0000 Received: from localhost ([127.0.0.1] ident=amavis) by mailapp.tensilica.com with esmtp (Exim 4.34) id 1DWkVm-000207-0x for binutils@sources.redhat.com; Fri, 13 May 2005 17:28:10 -0700 Received: from mailapp.tensilica.com ([127.0.0.1]) by localhost (mailapp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07473-03 for ; Fri, 13 May 2005 17:28:09 -0700 (PDT) Received: from heron.hq.tensilica.com ([192.168.11.123]) by mailapp.tensilica.com with esmtp (Exim 4.34) id 1DWkVl-000201-MS for binutils@sources.redhat.com; Fri, 13 May 2005 17:28:09 -0700 Received: from [192.168.11.123] (heron.hq.tensilica.com [192.168.11.123]) by heron.hq.tensilica.com (8.13.1/8.13.1) with ESMTP id j4E0S9TP027169 for ; Fri, 13 May 2005 17:28:09 -0700 Message-ID: <42854619.1020808@tensilica.com> Date: Sat, 14 May 2005 01:50:00 -0000 From: Bob Wilson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020 MIME-Version: 1.0 To: binutils@sources.redhat.com Subject: fix names of Xtensa property sections Content-Type: multipart/mixed; boundary="------------060500080806090204010409" X-SW-Source: 2005-05/txt/msg00467.txt.bz2 This is a multi-part message in MIME format. --------------060500080806090204010409 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 334 My big change to the Xtensa port on 2004-10-07 introduced a bug in the naming of Xtensa property sections. I'm committing this patch to fix it on both the mainline and 2.16 branches. 2005-05-13 Bob Wilson * elf32-xtensa.c (xtensa_get_property_section_name): Add missing periods in linkonce_kind values. --------------060500080806090204010409 Content-Type: text/x-patch; name="bfd-prop-sec-names.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="bfd-prop-sec-names.patch" Content-length: 703 Index: elf32-xtensa.c =================================================================== RCS file: /cvs/src/src/bfd/elf32-xtensa.c,v retrieving revision 1.47 diff -u -p -r1.47 elf32-xtensa.c --- elf32-xtensa.c 7 May 2005 13:22:51 -0000 1.47 +++ elf32-xtensa.c 14 May 2005 00:23:14 -0000 @@ -9338,9 +9338,9 @@ xtensa_get_property_section_name (asecti char *linkonce_kind = 0; if (strcmp (base_name, XTENSA_INSN_SEC_NAME) == 0) - linkonce_kind = "x"; + linkonce_kind = "x."; else if (strcmp (base_name, XTENSA_LIT_SEC_NAME) == 0) - linkonce_kind = "p"; + linkonce_kind = "p."; else if (strcmp (base_name, XTENSA_PROP_SEC_NAME) == 0) linkonce_kind = "prop."; else --------------060500080806090204010409--