[lkml]   [2007]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectDetecting section mismatches in vmlinux
Until 2.6.16 or so, we had and to check section mismatches in vmlinux.

Are there any alternatives of this in recent kernel?

Now "modpost vmlinux" is executed during normal build, but it seems
the pass can not detect these mismatches.

For example:

$ ../build-i386/scripts/mod/modpost ../build-i386/mm/built-in.o
WARNING: ../build-i386/mm/built-in.o - Section mismatch: reference to from .text between 'set_up_list3s' (at offset 0x18382) and '__kmem_cache_destroy'

set_up_list3s() in slab.c is not marked as __init and it references
initkmem_list3[] which is marked as __initdata. So it is not false
positive. But "modpost vmlinux" does not report it.

Atsushi Nemoto
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-02-21 17:01    [W:0.082 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site