blob: 52e0cbbac70c04982c9adac9e986724e34631dbd [file] [log] [blame]
Roland McGrathc97db4a2005-04-16 15:24:48 -07001/*
2 * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text.
3 * Here we can supply some information useful to userland.
4 */
5
Roland McGrathc97db4a2005-04-16 15:24:48 -07006#include <linux/version.h>
Jeremy Fitzhardinge810bab42007-07-17 18:37:03 -07007#include <linux/elfnote.h>
Roland McGrathc97db4a2005-04-16 15:24:48 -07008
Jeremy Fitzhardinge810bab42007-07-17 18:37:03 -07009/* 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. */
12ELFNOTE_START(Linux, 0, "a")
Roland McGrathc97db4a2005-04-16 15:24:48 -070013 .long LINUX_VERSION_CODE
Jeremy Fitzhardinge810bab42007-07-17 18:37:03 -070014ELFNOTE_END