From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13658 invoked by alias); 9 Sep 2004 11:10:54 -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 13643 invoked from network); 9 Sep 2004 11:10:53 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 9 Sep 2004 11:10:53 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i89BAmS2005821 for ; Thu, 9 Sep 2004 07:10:53 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i89BAl321268; Thu, 9 Sep 2004 07:10:47 -0400 Received: from [172.31.0.98] (vpnuser9.surrey.redhat.com [172.16.9.9]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id i89BAkmY025495; Thu, 9 Sep 2004 07:10:46 -0400 Message-ID: <41403AED.4090708@redhat.com> Date: Thu, 09 Sep 2004 11:10:00 -0000 From: Nick Clifton User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040803) MIME-Version: 1.0 To: Jan Beulich CC: binutils@sources.redhat.com, ian@wasabisystems.com Subject: Re: [PATCH] gas should honor original section type (was Re: ELF section identification and gld) References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-09/txt/msg00108.txt.bz2 Hi Jan, > This patch attempts to address this. Built and tested on > i686-pc-linux-gnu. > bfd/ > 2004-08-27 Jan Beulich > > * elf.c (_bfd_elf_new_section_hook): Only set various section > characteristics on new sections. > > gas/config/ > 2004-08-27 Jan Beulich > > * confif/obj-elf.c (obj_elf_change_section): Only set type and > attributes on new sections. Emit warning when type on > re-declared > section doesn't match. > > gas/testsuite/ > 2004-08-27 Jan Beulich > > * section5.*: New. Unfortunately this patch appears to introduce quite a few new testsuite failures in other toolchains. In particular I found lots of failures of the new section5 test because it only checks for REL in the output and does not include RELA. (This affected toolchains such as: alpha-linux-gnu and sh-elf). Other toolchains had even more difficulties. The patch introduced 51 new unexpected failures for GAS tests and 47 new unexpected failures for LD tests for the mmix-mmixware toolchain. The mips64-linux toolchain had 13 and 15 new unexpected failures respectively, and the sparc64-linux-gnu toolchain has 21 and 9 new failures. Please could you investigate and resolve these issues and then resubmit your patch ? Cheers Nick