Roland McGrath | c97db4a | 2005-04-16 15:24:48 -0700 | [diff] [blame] | 1 | /* |
| 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 McGrath | c97db4a | 2005-04-16 15:24:48 -0700 | [diff] [blame] | 6 | #include <linux/version.h> |
Jeremy Fitzhardinge | 810bab4 | 2007-07-17 18:37:03 -0700 | [diff] [blame^] | 7 | #include <linux/elfnote.h> |
Roland McGrath | c97db4a | 2005-04-16 15:24:48 -0700 | [diff] [blame] | 8 | |
Jeremy Fitzhardinge | 810bab4 | 2007-07-17 18:37:03 -0700 | [diff] [blame^] | 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") |
Roland McGrath | c97db4a | 2005-04-16 15:24:48 -0700 | [diff] [blame] | 13 | .long LINUX_VERSION_CODE |
Jeremy Fitzhardinge | 810bab4 | 2007-07-17 18:37:03 -0700 | [diff] [blame^] | 14 | ELFNOTE_END |