X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fmips%2Fkernel%2Fvmlinux.lds.S;h=e830d788c10653a066c1b6eb4693775625887593;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=e70684ee0c7881ee98077d22c35882402b733736;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/arch/mips/kernel/vmlinux.lds.S b/arch/mips/kernel/vmlinux.lds.S index e70684ee0..e830d788c 100644 --- a/arch/mips/kernel/vmlinux.lds.S +++ b/arch/mips/kernel/vmlinux.lds.S @@ -49,7 +49,7 @@ SECTIONS /* writeable */ .data : { /* Data */ - . = . + MAPPED_OFFSET; /* for CONFIG_MAPPED_KERNEL */ + . = . + DATAOFFSET; /* for CONFIG_MAPPED_KERNEL */ *(.data.init_task) *(.data) @@ -85,8 +85,6 @@ SECTIONS /* will be freed after init */ . = ALIGN(4096); /* Init code and data */ __init_begin = .; - /* /DISCARD/ doesn't work for .reginfo */ - .reginfo : { *(.reginfo) } .init.text : { _sinittext = .; *(.init.text) @@ -150,6 +148,15 @@ SECTIONS *(.exit.text) *(.exit.data) *(.exitcall.exit) + + /* ABI crap starts here */ + *(.comment) + *(.MIPS.options) + *(.note) + *(.options) + *(.pdr) + *(.reginfo) + *(.mdebug*) } /* This is the MIPS specific mdebug section. */