Skip to contentSkip to conversation

fix inconsistent .section usage in lib/

PATCH David Miller 1 participant 1 message Feb 1, 2008

lore
Share & tools
lore

David Miller

author Applied
#0 lore raw

From: Sam Ravnborg <[email protected]>
Date: Sun, 27 Jan 2008 13:56:23 +0100

Quoted 19 lines

A few places missed the "a" specifier for
the __ex_table section. Add these
so we avoid generation an additional
section at link time.

Latest modpost would otherwise complain
like this:

WARNING: vmlinux.o (__ex_table.2): section name inconsistency. (.[number]+) following section name.
Did you forget to use "ax"/"aw" in a .S file?
Note that for example <linux/init.h> contains section definitions for use in .S files.
WARNING: vmlinux.o (__ex_table.4): section name inconsistency. (.[number]+) following section name.
Did you forget to use "ax"/"aw" in a .S file?
Note that for example <linux/init.h> contains section definitions for use in .S files.

Quoted 1 line

Applied, thanks Sam.