depmod: add ability to check symbol versions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Jon,

resending the check-symvers series with tessuite fixes.

Michal

The following changes since commit c6fb42a68462729c4dfda59b8fc5f9c84c58b68b:
  Jon Masters (1):
        testsuite: rebuild all the 64-be|le data files

are available in the git repository at:

  git://repo.or.cz/mit.git t/check-symvers

Michal Marek (6):
      testsuite: add option to only test a given endianess / bitness
      testsuite: add a Makefile to rebuild the test modules
      testsuite: stop testing the old style EXPORT_SYMBOL macro
      elfops: clean up load_symbols()
      elfops: kill first argument of load_dep_syms()
      depmod: add ability to check symbol versions

 .gitignore                                       |    1 +
 CODING                                           |    4 +
 depmod.c                                         |  100 +++++++++++---
 elfops.h                                         |   17 +--
 elfops_core.c                                    |  161 +++++++++++++++++----
 tests/data/32-be/complex/complex_b-32.ko         |  Bin 1216 -> 1348 bytes
 tests/data/32-be/complex/complex_c-32.ko         |  Bin 1312 -> 1432 bytes
 tests/data/32-be/complex/complex_d-32.ko         |  Bin 1172 -> 1312 bytes
 tests/data/32-be/complex/complex_e-32.ko         |  Bin 980 -> 1140 bytes
 tests/data/32-be/loop/loop1-32.ko                |  Bin 1192 -> 1352 bytes
 tests/data/32-be/loop/loop2-32.ko                |  Bin 1192 -> 1352 bytes
 tests/data/32-be/normal/export_dep-32.ko         |  Bin 1196 -> 1356 bytes
 tests/data/32-be/normal/export_nodep-32.ko       |  Bin 1232 -> 1324 bytes
 tests/data/32-le/complex/complex_b-32.ko         |  Bin 1044 -> 1172 bytes
 tests/data/32-le/complex/complex_c-32.ko         |  Bin 1076 -> 1216 bytes
 tests/data/32-le/complex/complex_d-32.ko         |  Bin 1036 -> 1152 bytes
 tests/data/32-le/complex/complex_e-32.ko         |  Bin 904 -> 1040 bytes
 tests/data/32-le/loop/loop1-32.ko                |  Bin 1056 -> 1192 bytes
 tests/data/32-le/loop/loop2-32.ko                |  Bin 1056 -> 1192 bytes
 tests/data/32-le/normal/export_dep-32.ko         |  Bin 1060 -> 1196 bytes
 tests/data/32-le/normal/export_nodep-32.ko       |  Bin 1132 -> 1212 bytes
 tests/data/64-be/complex/complex_b-64.ko         |  Bin 1992 -> 2144 bytes
 tests/data/64-be/complex/complex_c-64.ko         |  Bin 2128 -> 2264 bytes
 tests/data/64-be/complex/complex_d-64.ko         |  Bin 1952 -> 2104 bytes
 tests/data/64-be/complex/complex_e-64.ko         |  Bin 1352 -> 1504 bytes
 tests/data/64-be/loop/loop1-64.ko                |  Bin 1968 -> 2144 bytes
 tests/data/64-be/loop/loop2-64.ko                |  Bin 1968 -> 2144 bytes
 tests/data/64-be/normal/export_dep-64.ko         |  Bin 1976 -> 2144 bytes
 tests/data/64-be/normal/export_nodep-64.ko       |  Bin 1728 -> 1752 bytes
 tests/data/64-le/alias/alias-64.ko               |  Bin 1118 -> 1238 bytes
 tests/data/64-le/complex/complex_a-64.ko         |  Bin 1520 -> 1648 bytes
 tests/data/64-le/complex/complex_b-64.ko         |  Bin 1736 -> 1984 bytes
 tests/data/64-le/complex/complex_c-64.ko         |  Bin 1840 -> 2072 bytes
 tests/data/64-le/complex/complex_d-64.ko         |  Bin 1712 -> 1960 bytes
 tests/data/64-le/complex/complex_e-64.ko         |  Bin 1264 -> 1520 bytes
 tests/data/64-le/loop/loop1-64.ko                |  Bin 1728 -> 1992 bytes
 tests/data/64-le/loop/loop2-64.ko                |  Bin 1728 -> 1992 bytes
 tests/data/64-le/loop/loop_dep-64.ko             |  Bin 1360 -> 1488 bytes
 tests/data/64-le/map/ccw_map-64.ko               |  Bin 1368 -> 1496 bytes
 tests/data/64-le/map/ieee1394_map-64.ko          |  Bin 1440 -> 1568 bytes
 tests/data/64-le/map/input_map-64.ko             |  Bin 1784 -> 1912 bytes
 tests/data/64-le/map/input_map_new-64.ko         |  Bin 1816 -> 1944 bytes
 tests/data/64-le/map/of_map-64.ko                |  Bin 2912 -> 3040 bytes
 tests/data/64-le/map/pci_map-64.ko               |  Bin 1416 -> 1544 bytes
 tests/data/64-le/map/pnp_map-64.ko               |  Bin 1904 -> 2032 bytes
 tests/data/64-le/map/usb_map-64.ko               |  Bin 1392 -> 1520 bytes
 tests/data/64-le/modinfo/modinfo-64.ko           |  Bin 1762 -> 1890 bytes
 tests/data/64-le/normal/export_dep-64.ko         |  Bin 1736 -> 1992 bytes
 tests/data/64-le/normal/export_nodep-64.ko       |  Bin 1640 -> 1760 bytes
 tests/data/64-le/normal/noexport_dep-64.ko       |  Bin 1424 -> 1552 bytes
 tests/data/64-le/normal/noexport_doubledep-64.ko |  Bin 1520 -> 1648 bytes
 tests/data/64-le/normal/noexport_nodep-64.ko     |  Bin 946 -> 1066 bytes
 tests/data/64-le/rename/rename-new-64.ko         |  Bin 1284 -> 1404 bytes
 tests/data/64-le/rename/rename-old-64.ko         |  Bin 1300 -> 1428 bytes
 tests/data/64-le/rename/rename-version-64.ko     |  Bin 1239 -> 1367 bytes
 tests/data/64-le/unknown/unknown-64.ko           |  Bin 1360 -> 1488 bytes
 tests/data/Makefile                              |   75 ++++++++++
 tests/data/src/complex_b.c                       |   13 +--
 tests/data/src/complex_c.c                       |   13 +--
 tests/data/src/complex_d.c                       |   14 +--
 tests/data/src/complex_e.c                       |   14 +--
 tests/data/src/export_dep.c                      |   12 +--
 tests/data/src/export_nodep.c                    |   16 +--
 tests/data/src/loop1.c                           |   14 +--
 tests/data/src/loop2.c                           |   14 +--
 tests/data/src/module.h                          |   17 +++
 tests/runtests                                   |   30 ++++
 tests/test-depmod/02simple.sh                    |    4 +-
 tests/test-depmod/04maps.sh                      |    4 +-
 tests/test-depmod/05loop.sh                      |    4 +-
 tests/test-depmod/06undefined.sh                 |    4 +-
 tests/test-depmod/07complex.sh                   |    4 +-
 tests/test-depmod/08basedir.sh                   |    4 +-
 tests/test-depmod/09alias.sh                     |    4 +-
 tests/test-depmod/10badcommand.sh                |    4 +-
 tests/test-depmod/11quick.sh                     |    7 +-
 tests/test-depmod/12compressed.sh                |    4 +-
 tests/test-depmod/13compressed-maps.sh           |    4 +-
 tests/test-depmod/14updates.sh                   |    4 +-
 tests/test-depmod/15symlink.sh                   |    4 +-
 tests/test-depmod/16specific-modules.sh          |    4 +-
 tests/test-modinfo/02all.sh                      |    4 +-
 tests/test-modinfo/03field.sh                    |    4 +-
 tests/test-modinfo/04compressed.sh               |    4 +-
 tests/test-modprobe/06rename.sh                  |    8 +-
 tests/test-modprobe/11stripversions.sh           |    6 +-
 tests/test-modprobe/17compressed.sh              |    6 +-
 87 files changed, 406 insertions(+), 200 deletions(-)
 create mode 100644 tests/data/Makefile
 create mode 100644 tests/data/src/module.h
--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux