summaryrefslogtreecommitdiff
path: root/scripts/reference_discarded.pl
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-06-02 17:59:10 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-06-02 17:59:10 -0700
commit2d34e81752929b4213e6f151f2b81de170423b8e (patch)
tree7fd504b46d4492bfe75c7d3dfa7c7147e685067a /scripts/reference_discarded.pl
parent18e95846f35549cce65c8edd584ed5ad0fde661e (diff)
[PATCH] Add reference_init.pl to `make buildcheck' target
`make buildcheck' only checks for calls to linker discarded sections, reference_init checks for calls to sections discarded at run time, init was cloned from discarded. They are separate because the linker detects the discarded case and I did not want to confuse users with messages about init text/data while they were fixing the linker errors. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'scripts/reference_discarded.pl')
-rw-r--r--scripts/reference_discarded.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/reference_discarded.pl b/scripts/reference_discarded.pl
index 9d01ec5f30b7..8f80364fc280 100644
--- a/scripts/reference_discarded.pl
+++ b/scripts/reference_discarded.pl
@@ -106,4 +106,4 @@ foreach $object (keys(%object)) {
}
# printf("Done\n");
-exit($errorcount);
+exit(0);