<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt"><div><span>Peter,</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: normal;"><span>This was the best. I was struggling to find this. Thank you.<br></span></div><div> </div><div>TnR,<br>Ganesh</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: Courier New,courier,monaco,monospace,sans-serif; background-color: transparent; font-style: normal;"><br></div> <div style="font-family: Courier New, courier, monaco, monospace, sans-serif; font-size: 10pt;"> <div style="font-family: times new
roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> "kernelnewbies-request@kernelnewbies.org" <kernelnewbies-request@kernelnewbies.org><br> <b><span style="font-weight: bold;">To:</span></b> kernelnewbies@kernelnewbies.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Wednesday, January 9, 2013 5:00 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Kernelnewbies Digest, Vol 26, Issue 24<br> </font> </div> <br>
Send Kernelnewbies mailing list submissions to<br> <a ymailto="mailto:kernelnewbies@kernelnewbies.org" href="mailto:kernelnewbies@kernelnewbies.org">kernelnewbies@kernelnewbies.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies<br>or, via email, send a message with subject or body 'help' to<br> <a ymailto="mailto:kernelnewbies-request@kernelnewbies.org" href="mailto:kernelnewbies-request@kernelnewbies.org">kernelnewbies-request@kernelnewbies.org</a><br><br>You can reach the person managing the list at<br> <a ymailto="mailto:kernelnewbies-owner@kernelnewbies.org" href="mailto:kernelnewbies-owner@kernelnewbies.org">kernelnewbies-owner@kernelnewbies.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Kernelnewbies digest..."<br><br><br>Today's
Topics:<br><br> 1. Linux Kernel Map (Peter Teoh)<br> 2. Re: /usr/ld Not enough room for program headers (horseriver)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Wed, 9 Jan 2013 21:25:11 +0800<br>From: Peter Teoh <<a ymailto="mailto:htmldeveloper@gmail.com" href="mailto:htmldeveloper@gmail.com">htmldeveloper@gmail.com</a>><br>Subject: Linux Kernel Map<br>To: "<a ymailto="mailto:kernelnewbies@kernelnewbies.org" href="mailto:kernelnewbies@kernelnewbies.org">kernelnewbies@kernelnewbies.org</a>"<br> <<a ymailto="mailto:kernelnewbies@kernelnewbies.org" href="mailto:kernelnewbies@kernelnewbies.org">kernelnewbies@kernelnewbies.org</a>><br>Message-ID:<br> <CAHnt0GVj=<a ymailto="mailto:T-E39DLVcYxBL2O48eJZoTeMQuftkk4dKXZrigMKA@mail.gmail.com"
href="mailto:T-E39DLVcYxBL2O48eJZoTeMQuftkk4dKXZrigMKA@mail.gmail.com">T-E39DLVcYxBL2O48eJZoTeMQuftkk4dKXZrigMKA@mail.gmail.com</a>><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>http://www.makelinux.net/kernel_map/<br><br>-- <br>Regards,<br>Peter Teoh<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130109/5703ac6d/attachment-0001.html <br><br>------------------------------<br><br>Message: 2<br>Date: Wed, 9 Jan 2013 12:56:51 +0800<br>From: horseriver <<a ymailto="mailto:horserivers@gmail.com" href="mailto:horserivers@gmail.com">horserivers@gmail.com</a>><br>Subject: Re: /usr/ld Not enough room for program headers<br>To: Peter Teoh <<a ymailto="mailto:htmldeveloper@gmail.com" href="mailto:htmldeveloper@gmail.com">htmldeveloper@gmail.com</a>><br>Cc: <a ymailto="mailto:kernelnewbies@kernelnewbies.org"
href="mailto:kernelnewbies@kernelnewbies.org">kernelnewbies@kernelnewbies.org</a><br>Message-ID: <<a ymailto="mailto:20130109045651.GB3236@debian.localdomain" href="mailto:20130109045651.GB3236@debian.localdomain">20130109045651.GB3236@debian.localdomain</a>><br>Content-Type: text/plain; charset=us-ascii<br><br>On Wed, Jan 09, 2013 at 08:51:36PM +0800, Peter Teoh wrote:<br>> On Wed, Jan 9, 2013 at 6:36 AM, horseriver <<a ymailto="mailto:horserivers@gmail.com" href="mailto:horserivers@gmail.com">horserivers@gmail.com</a>> wrote:<br>> <br>> > On Wed, Jan 09, 2013 at 01:28:12PM +0800, Peter Teoh wrote:<br>> > > On Sun, Jan 6, 2013 at 11:17 AM, horseriver <<a ymailto="mailto:horserivers@gmail.com" href="mailto:horserivers@gmail.com">horserivers@gmail.com</a>><br>> > wrote:<br>> > ><br>> > VSYSCALL_BASE = 0xffffe000;<br>> ><br>> > SECTIONS<br>> > {<br>> > . =
VSYSCALL_BASE ;<br>> ><br>> > .hash : { *(.hash) } :text<br>> > .dynsym : { *(.dynsym) }<br>> > .dynstr : { *(.dynstr) }<br>> > .gnu.version : { *(.gnu.version) }<br>> > .gnu.version_d : { *(.gnu.version_d) }<br>> > .gnu.version_r : { *(.gnu.version_r) }<br>> ><br>> <br>> <br>> I suspect something wrong with VSYSCALL_BASE + value here.<br>> <br>> look at this:<br>> <br>> http://marcbug.scc-dc.com/svn/repository/trunk/linuxkernel/linux-2.6.16-mcemu/arch/x86_64/ia32/vsyscall.lds<br>> <br>> and doing a diff with your ld script, there is not much diff, except for<br>> the VSYSCALL_BASE + SIZEOF_HEADER<br><br>thanks!<br><br> I do not understand what this error
"/usr/ld Not enough room for program headers" really mean ?<br> <br> if I add SIZEOF_HEADER , this error is still reproted ,<br><br> when ld link files , does it only need a ld-script file ? or more than one ld-script files ?<br><br><br> <br><br>> <br>> portion.<br>> <br>> Read here to understand how SIZEOF_HEADER is calculated:<br>> <br>> http://www.math.utah.edu/docs/info/ld_3.html#SEC13<br>> <br>> Not sure why do u want to shift the whole section by SIZEOF_HEADER down in<br>> bytes?<br>> <br>> -- <br>> Regards,<br>> Peter Teoh<br><br><br><br>------------------------------<br><br>_______________________________________________<br>Kernelnewbies mailing list<br><a ymailto="mailto:Kernelnewbies@kernelnewbies.org" href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br><a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies"
target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br><br><br>End of Kernelnewbies Digest, Vol 26, Issue 24<br>*********************************************<br><br><br> </div> </div> </div></body></html>