This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
> > 
> > """
> > $ 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    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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]