vserver 1.9.5.x5
[linux-2.6.git] / scripts / reference_init.pl
index b4e37dc..9a24084 100644 (file)
@@ -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);
                }