Kernelnewbies Digest, Vol 26, Issue 24

Ganesh B ganeshsurfs at yahoo.com
Wed Jan 9 12:10:40 EST 2013


Peter,

This was the best. I was struggling to find this. Thank you.

 
TnR,
Ganesh


________________________________
 From: "kernelnewbies-request at kernelnewbies.org" <kernelnewbies-request at kernelnewbies.org>
To: kernelnewbies at kernelnewbies.org 
Sent: Wednesday, January 9, 2013 5:00 PM
Subject: Kernelnewbies Digest, Vol 26, Issue 24
 
Send Kernelnewbies mailing list submissions to
    kernelnewbies at kernelnewbies.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
or, via email, send a message with subject or body 'help' to
    kernelnewbies-request at kernelnewbies.org

You can reach the person managing the list at
    kernelnewbies-owner at kernelnewbies.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Kernelnewbies digest..."


Today's Topics:

   1. Linux Kernel Map (Peter Teoh)
   2. Re: /usr/ld Not enough room for program headers (horseriver)


----------------------------------------------------------------------

Message: 1
Date: Wed, 9 Jan 2013 21:25:11 +0800
From: Peter Teoh <htmldeveloper at gmail.com>
Subject: Linux Kernel Map
To: "kernelnewbies at kernelnewbies.org"
    <kernelnewbies at kernelnewbies.org>
Message-ID:
    <CAHnt0GVj=T-E39DLVcYxBL2O48eJZoTeMQuftkk4dKXZrigMKA at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

http://www.makelinux.net/kernel_map/

-- 
Regards,
Peter Teoh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130109/5703ac6d/attachment-0001.html 

------------------------------

Message: 2
Date: Wed, 9 Jan 2013 12:56:51 +0800
From: horseriver <horserivers at gmail.com>
Subject: Re: /usr/ld Not enough room for program headers
To: Peter Teoh <htmldeveloper at gmail.com>
Cc: kernelnewbies at kernelnewbies.org
Message-ID: <20130109045651.GB3236 at debian.localdomain>
Content-Type: text/plain; charset=us-ascii

On Wed, Jan 09, 2013 at 08:51:36PM +0800, Peter Teoh wrote:
> On Wed, Jan 9, 2013 at 6:36 AM, horseriver <horserivers at gmail.com> wrote:
> 
> > On Wed, Jan 09, 2013 at 01:28:12PM +0800, Peter Teoh wrote:
> > > On Sun, Jan 6, 2013 at 11:17 AM, horseriver <horserivers at gmail.com>
> > wrote:
> > >
> > VSYSCALL_BASE = 0xffffe000;
> >
> > SECTIONS
> > {
> >   . = VSYSCALL_BASE ;
> >
> >   .hash           : { *(.hash) }                :text
> >   .dynsym         : { *(.dynsym) }
> >   .dynstr         : { *(.dynstr) }
> >   .gnu.version    : { *(.gnu.version) }
> >   .gnu.version_d  : { *(.gnu.version_d) }
> >   .gnu.version_r  : { *(.gnu.version_r) }
> >
> 
> 
> I suspect something wrong with VSYSCALL_BASE + value here.
> 
> look at this:
> 
> http://marcbug.scc-dc.com/svn/repository/trunk/linuxkernel/linux-2.6.16-mcemu/arch/x86_64/ia32/vsyscall.lds
> 
> and doing a diff with your ld script, there is not much diff, except for
> the VSYSCALL_BASE + SIZEOF_HEADER

thanks!

    I do not understand what this error "/usr/ld Not enough room for program headers" really mean ?
    
    if I add SIZEOF_HEADER , this error is still reproted ,

    when ld link files , does it only need a ld-script file ? or more than one ld-script files ?




> 
> portion.
> 
> Read here to understand how SIZEOF_HEADER is calculated:
> 
> http://www.math.utah.edu/docs/info/ld_3.html#SEC13
> 
> Not sure why do u want to shift the whole section by SIZEOF_HEADER down in
> bytes?
> 
> -- 
> Regards,
> Peter Teoh



------------------------------

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


End of Kernelnewbies Digest, Vol 26, Issue 24
*********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130109/24fe2485/attachment.html 


More information about the Kernelnewbies mailing list