Masahiro Yamada
7657f60e8f
kbuild: remove partial section mismatch detection for built-in.a
...
When built-in.o was incrementally linked with 'ld -r', the section
mismatch analysis for the individual built-in.o was possible when
CONFIG_DEBUG_SECTION_MISMATCH was enabled.
With the migration to the thin archive, built-in.a (former, built-in.o)
is no longer an ELF file. So, the modpost does nothing useful.
scripts/mod/modpost.c just checks the header to bail out, as follows:
/* Is this a valid ELF file? */
if ((hdr->e_ident[EI_MAG0] != ELFMAG0) ||
(hdr->e_ident[EI_MAG1] != ELFMAG1) ||
(hdr->e_ident[EI_MAG2] != ELFMAG2) ||
(hdr->e_ident[EI_MAG3] != ELFMAG3)) {
/* Not an ELF file - silently ignore it */
return 0;
}
We have the full analysis in the final link stage anyway, so we would
not miss the section mismatching.
I do not see a good reason to require extra linking only for the
purpose of the per-directory analysis. Just get rid of this part.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2018-03-26 02:01:28 +09:00
..
2018-03-26 02:01:23 +09:00
2018-03-03 00:41:24 +09:00
2017-11-14 18:25:40 -08:00
2018-02-05 17:27:46 -08:00
2018-01-19 10:09:41 -08:00
2018-01-13 21:50:13 +09:00
2018-03-26 02:01:22 +09:00
2017-03-28 16:16:52 +02:00
2018-02-07 14:29:34 -08:00
2017-12-13 00:07:00 +09:00
2017-11-17 17:45:29 -08:00
2017-11-02 11:10:55 +01:00
2017-06-23 14:17:38 -06:00
2018-03-26 02:01:23 +09:00
2016-04-06 14:06:48 +01:00
2018-03-09 01:12:31 +09:00
2017-05-14 11:20:44 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-02-03 11:49:06 +01:00
2018-02-06 18:32:45 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-26 02:01:18 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-02-02 00:21:47 +09:00
2017-11-02 11:10:55 +01:00
2014-04-30 17:34:32 +02:00
2016-10-11 15:06:30 -07:00
2017-11-02 11:10:55 +01:00
2018-01-31 17:18:34 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-10-12 11:07:42 -06:00
2017-05-14 11:20:44 +09:00
2017-05-14 11:20:44 +09:00
2015-09-25 16:31:45 +01:00
2015-04-15 14:01:12 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2011-08-31 16:12:17 +02:00
2017-12-14 16:00:48 -08:00
2018-03-26 02:01:24 +09:00
2017-10-23 08:01:37 -06:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-26 02:01:18 +09:00
2017-05-14 11:20:44 +09:00
2017-11-17 16:10:01 -08:00
2012-06-27 12:44:29 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-26 02:01:18 +09:00
2017-11-02 11:10:55 +01:00
2016-02-26 15:30:20 +00:00
2018-03-02 09:20:56 +09:00
2018-03-26 02:01:23 +09:00
2018-01-01 12:49:07 -07:00
2017-11-02 11:10:55 +01:00
2017-11-14 09:29:27 +11:00
2017-11-02 11:10:55 +01:00
2018-03-26 02:01:24 +09:00
2017-11-02 11:10:55 +01:00
2017-11-17 17:45:29 -08:00
2018-03-26 02:01:28 +09:00
2017-11-02 11:10:55 +01:00
2017-11-14 18:25:40 -08:00
2018-01-18 09:37:53 +09:00
2017-11-02 11:10:55 +01:00
2017-11-17 17:45:29 -08:00
2017-11-17 17:45:29 -08:00
2018-02-06 18:32:47 -08:00
2017-11-17 16:10:04 -08:00
2018-03-26 02:01:27 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-17 17:45:29 -08:00
2017-11-02 11:10:55 +01:00
2018-02-06 18:32:46 -08:00
2017-11-02 11:10:55 +01:00
2017-05-14 11:20:44 +09:00
2017-11-17 17:45:29 -08:00
2017-11-02 11:10:55 +01:00
2015-06-23 13:35:47 +09:00
2017-11-02 11:10:55 +01:00
2017-03-13 09:40:28 -07:00
2018-03-26 02:01:19 +09:00
2017-03-11 11:13:38 +09:00
2017-11-17 16:10:01 -08:00
2017-11-02 11:10:55 +01:00
2014-06-10 00:04:06 +02:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-03-24 20:51:49 -04:00
2015-11-03 10:45:26 -05:00
2017-05-14 11:20:44 +09:00
2017-11-02 11:10:55 +01:00
2014-06-10 00:04:06 +02:00
2017-02-10 12:43:47 +11:00
2016-11-14 11:11:51 +11:00
2014-10-14 02:18:23 +02:00
2017-11-17 16:10:00 -08:00
2017-09-08 10:02:55 -06:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-01-31 17:18:34 -08:00
2011-01-22 15:50:59 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2014-08-20 16:03:45 +02:00