tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Modules and debug info



[please CC me as I'm not subscribed]

Folks,

Does anyone have any objections to me committing this?

I've been building with MKDEBUG=yes DBG="-g -O2" and modules built with this 
get debug output which i) is useless and ii) creates unaligned relocs which my 
kobj_reloc doesn't handle.

Nick
Index: sys/modules/xldscripts/kmodule
===================================================================
RCS file: /cvsroot/src/sys/modules/xldscripts/kmodule,v
retrieving revision 1.2
diff -u -p -r1.2 kmodule
--- sys/modules/xldscripts/kmodule      1 Jun 2010 22:13:30 -0000       1.2
+++ sys/modules/xldscripts/kmodule      22 Dec 2011 11:24:33 -0000
@@ -19,5 +19,6 @@ SECTIONS
    /DISCARD/ :
    {
      *(.comment)
+     *(.debug*)
    }
 }


Home | Main Index | Thread Index | Old Index