X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2Freference_init.pl;h=9a240845386958c574cabe4b6ca5b88a94a443ac;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=b4e37dc3a944241980d7400a3b6e39a6d91ee683;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/scripts/reference_init.pl b/scripts/reference_init.pl index b4e37dc3a..9a2408453 100644 --- a/scripts/reference_init.pl +++ b/scripts/reference_init.pl @@ -70,7 +70,7 @@ foreach $object (keys(%object)) { $l = read(OBJECT, $comment, $size); die "read $size bytes from $object .comment failed" if ($l != $size); close(OBJECT); - if ($comment =~ /GCC\:.*GCC\:/m) { + if ($comment =~ /GCC\:.*GCC\:/m || $object =~ /built-in\.o/) { ++$ignore; delete($object{$object}); } @@ -93,6 +93,11 @@ foreach $object (sort(keys(%object))) { $from !~ /\.stab$/ && $from !~ /\.rodata$/ && $from !~ /\.text\.lock$/ && + $from !~ /\.pci_fixup_header$/ && + $from !~ /\.pci_fixup_final$/ && + $from !~ /\.pdr$/ && + $from !~ /\__param$/ && + $from !~ /\.altinstructions/ && $from !~ /\.debug_/)) { printf("Error: %s %s refers to %s\n", $object, $from, $line); }