Skip to contentSkip to conversation

Kernelnewbies Digest, Vol 26, Issue 24

DISCUSSION Ganesh B 1 participant 1 message Jan 9, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Ganesh B

author
#1 lore raw

Peter,

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

?
TnR,
Ganesh

________________________________
From: "kernelnewbies-request at kernelnewbies.org" <[email protected]>
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 <[email protected]>
Subject: Linux Kernel Map
To: "kernelnewbies at kernelnewbies.org"
??? <[email protected]>
Message-ID:
??? <CAHnt0GVj=T-E39DLVcYxBL2O48eJZoTeMQuftkk4dKXZrigMKA@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

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

Signature · 16 lines
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 <[email protected]>
Subject: Re: /usr/ld Not enough room for program headers
To: Peter Teoh <[email protected]>
Cc: kernelnewbies at kernelnewbies.org
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Quoted 21 lines · Peter Teoh
Quoted 10 lines · horseriver
Quoted 1 line · Peter Teoh

On Sun, Jan 6, 2013 at 11:17 AM, horseriver <[email protected]>

Quoted 1 line · wrote:

VSYSCALL_BASE = 0xffffe000;

SECTIONS
{
? . = VSYSCALL_BASE ;

Quoted 7 lines
?  .hash? ? ? ? ?  : { *(.hash) }? ? ? ? ? ? ? ? :text
?  .dynsym? ? ? ?  : { *(.dynsym) }
?  .dynstr? ? ? ?  : { *(.dynstr) }
?  .gnu.version? ? : { *(.gnu.version) }
?  .gnu.version_d? : { *(.gnu.version_d) }
?  .gnu.version_r? : { *(.gnu.version_r) }
Quoted 8 lines

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 ?

Quoted 13 lines

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?

Signature · 2 lines
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