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

Commit 6fc53bae authored by Sam Ravnborg's avatar Sam Ravnborg
Browse files

kbuild: warn about references from .init.text to .exit.text



The .exit.text section may be discarded either at build or at runtime.
So let modpost warn if this situation is detected.

Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent 1d8af559
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -1214,7 +1214,6 @@ static int exit_section_ref_ok(const char *name)
		".exit.data",
		".exit.data",
		".exit.text",
		".exit.text",
		".exitcall.exit",
		".exitcall.exit",
		".init.text",
		".rodata",
		".rodata",
		NULL
		NULL
	};
	};