This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Release 2.23: Ping
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