aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68knommu
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2007-07-25 22:24:52 +0200
committerSam Ravnborg <sam@ravnborg.org>2007-07-25 22:24:52 +0200
commitcb7e51d8b1f8e2390970f4bb7d095c414b1bf3cf (patch)
treee19f40c59cca4f8a028a34c78c23161422d902e7 /arch/m68knommu
parentkbuild: be more foregiving on init section naming (diff)
downloadlinux-dev-cb7e51d8b1f8e2390970f4bb7d095c414b1bf3cf.tar.xz
linux-dev-cb7e51d8b1f8e2390970f4bb7d095c414b1bf3cf.zip
kbuild: fix modpost warnings for xtensa
The Xtensa architecture places literal pools in sections separate from the instructions. The corresponsing text sections, therefore, reference the .literal section, and we have to suppress those warnings. The naming convention defines the name for a literal section as .SECTION.literal, unless .SECTION is .text. In that case the name is only .literal. Using strncmp() instead of strcmp() to compare the from-section with .SECTION.init.refok in pattern 0 should not cause any regressions for other architectures. We also need to suppress warnings for two informational sections (.xt.lit and .xt.prop) used by the Xtensa architecture. Signed-off-by: Chris Zankel <chris@zankel.net> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/m68knommu')
0 files changed, 0 insertions, 0 deletions