bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: can't link big kernel


From: Marcus Brinkmann
Subject: Re: can't link big kernel
Date: Tue, 31 Jul 2001 12:57:41 +0200
User-agent: Mutt/1.3.18i

On Tue, Jul 31, 2001 at 03:02:23AM -0400, Roland McGrath wrote:
> > What does `objdump -h --private-headers' on the resultant kernel show?  
> 
> Also try that on kernel.o and clib-routines.o; we are looking for
> any unusual sections in any file or unusual phdrs in the executable.

See below.

On Tue, Jul 31, 2001 at 03:01:13AM -0400, Roland McGrath wrote:
> What does `objdump -h --private-headers' on the resultant kernel show?  
> Use --noinhibit-exec if necessary to get an output file from the losing
> link if possible.

ld refuses to generate output for --inhibit-exec even.

Thanks,
Marcus


kernel.o:     file format elf32-i386

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .text         00064a80  00000000  00000000  00000040  2**4
                  CONTENTS, ALLOC, LOAD, RELOC, CODE
  1 .rodata       0000e180  00000000  00000000  00064ac0  2**5
                  CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
  2 .data         0000b414  00000000  00000000  00072c40  2**5
                  CONTENTS, ALLOC, LOAD, RELOC, DATA
  3 .bss          00007308  00000000  00000000  0007e060  2**5
                  ALLOC
  4 .comment      00002430  00000000  00000000  0007e060  2**0
                  CONTENTS, READONLY
  5 .note         00000f14  00000000  00000000  00080490  2**0
                  CONTENTS, READONLY


clib-routines.o:     file format elf32-i386

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .text         00000160  00000000  00000000  00000040  2**4
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  1 .data         00000000  00000000  00000000  000001a0  2**2
                  CONTENTS, ALLOC, LOAD, DATA
  2 .bss          00000000  00000000  00000000  000001a0  2**2
                  ALLOC
  3 .comment      000000f0  00000000  00000000  000001a0  2**0
                  CONTENTS, READONLY
  4 .note         00000064  00000000  00000000  00000290  2**0
                  CONTENTS, READONLY

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org brinkmd@debian.org
Marcus Brinkmann              GNU    http://www.gnu.org    marcus@gnu.org
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]