Hi Bob..

On Sat, Jul 17, 2010 at 02:08, Bob Beers <bob.be...@gmail.com> wrote:
> Hmmm,  It looks lilke a pretty standard Makefile:
>
> -----------------------8<-------------------
> CC=gcc
> VER=`uname -r`
> SRCREF?=/lib/modules/$(VER)/build
> INSTALLDIR=/lib/modules/$(VER)/kernel/net


It's something like what you see in arch/avr32/kernel/vmlinux.lds.S.
To quote some:
SECTIONS
{
        . = CONFIG_ENTRY_ADDRESS;
        .init           : AT(ADDR(.init) - LOAD_OFFSET) {
                _stext = .;
                __init_begin = .;
                        _sinittext = .;
                        *(.text.reset)
                        INIT_TEXT
                        /*
                         * .exit.text is discarded at runtime, not
                         * link time, to deal with references from
                         * __bug_table
                         */
                        EXIT_TEXT




-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecar...@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to