mirror of https://gitee.com/openkylin/linux.git
1a9352687c
The section of bpfilter UMH blob is the ".bpfilter_umh". but this is not
an explicit section. so linking warning occurred at compile time for the
powerpc.
So, this patch makes use of the ".rodata" instead of the ".bpfilter_umh".
Config condition:
CONFIG_BPFILTER=y
CONFIG_BPFILTER_UMH=y
Result:
ld: warning: orphan section `.bpfilter_umh' from
`net/bpfilter/bpfilter_umh_blob.o' being placed in section `.bpfilter_umh'
Fixes:
|
||
---|---|---|
.. | ||
.gitignore | ||
Kconfig | ||
Makefile | ||
bpfilter_kern.c | ||
bpfilter_umh_blob.S | ||
main.c | ||
msgfmt.h |