From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30441 invoked by alias); 14 Sep 2012 06:58:31 -0000 Received: (qmail 30431 invoked by uid 22791); 14 Sep 2012 06:58:30 -0000 X-SWARE-Spam-Status: No, hits=-4.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ob0-f169.google.com (HELO mail-ob0-f169.google.com) (209.85.214.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 14 Sep 2012 06:58:17 +0000 Received: by obhx4 with SMTP id x4so6366388obh.0 for ; Thu, 13 Sep 2012 23:58:16 -0700 (PDT) Received: by 10.60.30.168 with SMTP id t8mr1628182oeh.89.1347605896367; Thu, 13 Sep 2012 23:58:16 -0700 (PDT) Received: from bubble.grove.modra.org ([101.166.26.37]) by mx.google.com with ESMTPS id j10sm820462oej.10.2012.09.13.23.58.13 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 13 Sep 2012 23:58:15 -0700 (PDT) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 5E7C9EA2C1A; Fri, 14 Sep 2012 16:28:09 +0930 (CST) Date: Fri, 14 Sep 2012 06:58:00 -0000 From: Alan Modra To: "Maciej W. Rozycki" Cc: Matthias Klose , Tristan Gingold , binutils Development Subject: Re: Release 2.23: Ping Message-ID: <20120914065809.GE20621@bubble.grove.modra.org> Mail-Followup-To: "Maciej W. Rozycki" , Matthias Klose , Tristan Gingold , binutils Development References: <2E74490B-BCE6-4D8E-A6F1-737A1625DAA4@adacore.com> <9596AE4D-C319-48C5-89E4-CB5201D9A4DA@adacore.com> <505218A4.2070207@ubuntu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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: 2012-09/txt/msg00164.txt.bz2 On Thu, Sep 13, 2012 at 07:13:18PM +0100, Maciej W. Rozycki wrote: > On Thu, 13 Sep 2012, Matthias Klose wrote: > > From https://launchpad.net/bugs/1049650 > > > > """ > > $ readelf -s setup.elf | grep video_card > > 138: 00003660 0 NOTYPE GLOBAL DEFAULT 12 video_cards > > 151: 00003660 0 NOTYPE GLOBAL DEFAULT 12 video_cards_end I doubt that Maciej's changes have anything to do with this problem. If you link setup.elf with "-Map somefile" does the map show any input sections being linked between the script lines setting these symbols? Something like the following should be there: .videocards 0x0000000000003bc4 0x54 0x0000000000003bc4 video_cards = . *(.videocards) .videocards 0x0000000000003bc4 0x1c arch/x86/boot/video-vga.o .videocards 0x0000000000003be0 0x1c arch/x86/boot/video-vesa.o .videocards 0x0000000000003bfc 0x1c arch/x86/boot/video-bios.o 0x0000000000003c18 video_cards_end = . 0x0000000000003c20 . = ALIGN (0x10) -- Alan Modra Australia Development Lab, IBM