This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / mips / kernel / vmlinux.lds.S
index f073841..e70684e 100644 (file)
@@ -49,7 +49,7 @@ SECTIONS
 
   /* writeable */
   .data : {                    /* Data */
-    . = . + DATAOFFSET;                /* for CONFIG_MAPPED_KERNEL */
+    . = . + MAPPED_OFFSET;     /* for CONFIG_MAPPED_KERNEL */
     *(.data.init_task)
 
     *(.data)
@@ -85,6 +85,8 @@ 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)
@@ -148,14 +150,6 @@ SECTIONS
         *(.exit.text)
         *(.exit.data)
         *(.exitcall.exit)
-
-       /* ABI crap starts here */
-       *(.comment)
-       *(.MIPS.options)
-       *(.note)
-       *(.options)
-       *(.pdr)
-       *(.reginfo)
   }
 
   /* This is the MIPS specific mdebug section.  */