From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20040 invoked by alias); 13 Mar 2009 14:59:17 -0000 Received: (qmail 20032 invoked by uid 22791); 13 Mar 2009 14:59:16 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 13 Mar 2009 14:58:36 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n2DEwYOi017501; Fri, 13 Mar 2009 10:58:34 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n2DEwY1M025438; Fri, 13 Mar 2009 10:58:35 -0400 Received: from [10.33.6.21] (vpn-6-21.fab.redhat.com [10.33.6.21]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n2DEwXEc028955; Fri, 13 Mar 2009 10:58:33 -0400 Message-ID: <49BA7497.2050907@redhat.com> Date: Fri, 13 Mar 2009 14:59:00 -0000 From: Nick Clifton User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: binutils@sourceware.org, richards@transitive.com Subject: Re: [11/21] Cope with TOCs bigger than 32k, and other TC0 fixes References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2009-03/txt/msg00257.txt.bz2 Hi Richard, > bfd/ > * xcofflink.c: (xcoff_mark_symbol): Mark the TOC section when > creating a descriptor. > (xcoff_sweep): Don't mark toc_section unless it's needed. > (bfd_xcoff_size_dynamic_sections): Skip the toc_section > when marking every bfd. > (xcoff_link_input_bfd): Skip all TOC anchors. > (xcoff_toc_section_p, xcoff_find_tc0): New functions. > (_bfd_xcoff_bfd_final_link): Don't set the output bfd's TOC anchor > to -1; call xcoff_find_tc0 instead. > > ld/testsuite/ > * ld-powerpc/aix-toc-1.ex, ld-powerpc/aix-toc-1a.s, > ld-powerpc/aix-toc-1b.s, ld-powerpc/aix-toc-1-32.dd, > ld-powerpc/aix-toc-1-64.dd: New tests. > * ld-powerpc/aix52.exp: Run them. Approved - please apply. Cheers Nick