Commit a710802b authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

[PATCH] __init dependencies: ignore __param

Ignore __param section references; they aren't discarded.

Error: ./drivers/mtd/devices/phram.o __param refers to 0000000000000010 R_X86_64_64       .init.text+0x0000000000000013
Error: ./drivers/scsi/dc395x.o __param refers to 0000000000000020 R_X86_64_64       .init.data+0x0000000000000064
Error: ./drivers/usb/gadget/ether.o __param refers to 0000000000000048 R_X86_64_64       .init.data+0x0000000000000020
Signed-off-by: default avatarRandy Dunlap <rddunlap@osdl.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 4e980507
...@@ -95,6 +95,7 @@ foreach $object (sort(keys(%object))) { ...@@ -95,6 +95,7 @@ foreach $object (sort(keys(%object))) {
$from !~ /\.text\.lock$/ && $from !~ /\.text\.lock$/ &&
$from !~ /\.pci_fixup_header$/ && $from !~ /\.pci_fixup_header$/ &&
$from !~ /\.pci_fixup_final$/ && $from !~ /\.pci_fixup_final$/ &&
$from !~ /\__param$/ &&
$from !~ /\.debug_/)) { $from !~ /\.debug_/)) {
printf("Error: %s %s refers to %s\n", $object, $from, $line); printf("Error: %s %s refers to %s\n", $object, $from, $line);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment