note.S 496 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text.
  4. * Here we can supply some information useful to userland.
  5. */
  6. #include <linux/build-salt.h>
  7. #include <linux/version.h>
  8. #include <linux/elfnote.h>
  9. /* Ideally this would use UTS_NAME, but using a quoted string here
  10. doesn't work. Remember to change this when changing the
  11. kernel's name. */
  12. ELFNOTE_START(Linux, 0, "a")
  13. .long LINUX_VERSION_CODE
  14. ELFNOTE_END
  15. BUILD_SALT