summaryrefslogtreecommitdiffstats
path: root/arch/x86/vdso/vdso-fakesections.c
blob: 56927a7e49778f83b2631b483db5cdd3cf932688 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Copyright 2014 Andy Lutomirski
 * Subject to the GNU Public License, v.2
 *
 * String table for loadable section headers.  See vdso2c.h for why
 * this exists.
 */

const char fake_shstrtab[] __attribute__((section(".fake_shstrtab"))) =
	".hash\0"
	".dynsym\0"
	".dynstr\0"
	".gnu.version\0"
	".gnu.version_d\0"
	".dynamic\0"
	".rodata\0"
	".fake_shstrtab\0"  /* Yay, self-referential code. */
	".note\0"
	".data\0"
	".altinstructions\0"
	".altinstr_replacement\0"
	".eh_frame_hdr\0"
	".eh_frame\0"
	".text";