Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6c76988b813ae7a9fa2282032effa6f5a66dd8d2
Commit:     6c76988b813ae7a9fa2282032effa6f5a66dd8d2
Parent:     bda4d16cee1b70c61392bb76cb4119179348c176
Author:     Daniel Jacobowitz <[EMAIL PROTECTED]>
AuthorDate: Fri Aug 3 11:43:01 2007 -0400
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Mon Aug 27 02:16:53 2007 +0100

    [MIPS] Do not discard extra debugging sections.
    
    Leaving these sections is useful to some tools that look at the image, and
    none of them are loaded into memory.  The .mdebug.abi64 section, in
    particular, lets GDB recognize vmlinux.32 as an N64 program instead of
    guessing that it is O32.
    
    Signed-off-by: Daniel Jacobowitz <[EMAIL PROTECTED]>
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
---
 arch/mips/kernel/vmlinux.lds.S |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/arch/mips/kernel/vmlinux.lds.S b/arch/mips/kernel/vmlinux.lds.S
index bc9bae2..60bbaec 100644
--- a/arch/mips/kernel/vmlinux.lds.S
+++ b/arch/mips/kernel/vmlinux.lds.S
@@ -142,15 +142,16 @@ SECTIONS
         *(.exitcall.exit)
 
        /* ABI crap starts here */
-       *(.comment)
        *(.MIPS.options)
-       *(.note)
        *(.options)
        *(.pdr)
        *(.reginfo)
-       *(.mdebug*)
   }
 
+  /* These mark the ABI of the kernel for debuggers.  */
+  .mdebug.abi32 : { KEEP(*(.mdebug.abi32)) }
+  .mdebug.abi64 : { KEEP(*(.mdebug.abi64)) }
+
   /* This is the MIPS specific mdebug section.  */
   .mdebug : { *(.mdebug) }
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to