Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 53e88e03 authored by Sam Ravnborg's avatar Sam Ravnborg
Browse files

buildcheck: reduce DEBUG_INFO noise from reference* scripts



From: Randy Dunlap <rddunlap@osdl.org>

Reduce noise in 'make buildcheck' that is caused by CONFIG_DEBUG_INFO=y.

Signed-off-by: default avatarRandy Dunlap <rddunlap@osdl.org>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent cfca82f2
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -82,6 +82,8 @@ foreach $object (keys(%object)) {
		}
		if (($line =~ /\.text\.exit$/ ||
		     $line =~ /\.exit\.text$/ ||
		     $line =~ /\.text\.init$/ ||
		     $line =~ /\.init\.text$/ ||
		     $line =~ /\.data\.exit$/ ||
		     $line =~ /\.exit\.data$/ ||
		     $line =~ /\.exitcall\.exit$/) &&
@@ -96,6 +98,7 @@ foreach $object (keys(%object)) {
		     $from !~ /\.debug_ranges$/ &&
		     $from !~ /\.debug_line$/ &&
		     $from !~ /\.debug_frame$/ &&
		     $from !~ /\.debug_loc$/ &&
		     $from !~ /\.exitcall\.exit$/ &&
		     $from !~ /\.eh_frame$/ &&
		     $from !~ /\.stab$/)) {
+1 −0
Original line number Diff line number Diff line
@@ -98,6 +98,7 @@ foreach $object (sort(keys(%object))) {
		     $from !~ /\.pdr$/ &&
		     $from !~ /\__param$/ &&
		     $from !~ /\.altinstructions/ &&
		     $from !~ /\.eh_frame/ &&
		     $from !~ /\.debug_/)) {
			printf("Error: %s %s refers to %s\n", $object, $from, $line);
		}