Rev 422 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
422 | giacomo | 1 | #ifndef LOAD_OFFSET |
2 | #define LOAD_OFFSET 0 |
||
3 | #endif |
||
4 | |||
5 | #define RODATA \ |
||
6 | .rodata : AT(ADDR(.rodata) - LOAD_OFFSET) { \ |
||
7 | *(.rodata) *(.rodata.*) \ |
||
8 | *(__vermagic) /* Kernel version magic */ \ |
||
9 | } \ |
||
10 | \ |
||
11 | .rodata1 : AT(ADDR(.rodata1) - LOAD_OFFSET) { \ |
||
12 | *(.rodata1) \ |
||
13 | } \ |
||
14 | \ |
||
15 | /* Kernel symbol table: Normal symbols */ \ |
||
16 | __ksymtab : AT(ADDR(__ksymtab) - LOAD_OFFSET) { \ |
||
17 | __start___ksymtab = .; \ |
||
18 | *(__ksymtab) \ |
||
19 | __stop___ksymtab = .; \ |
||
20 | } \ |
||
21 | \ |
||
22 | /* Kernel symbol table: GPL-only symbols */ \ |
||
23 | __ksymtab_gpl : AT(ADDR(__ksymtab_gpl) - LOAD_OFFSET) { \ |
||
24 | __start___ksymtab_gpl = .; \ |
||
25 | *(__ksymtab_gpl) \ |
||
26 | __stop___ksymtab_gpl = .; \ |
||
27 | } \ |
||
28 | \ |
||
29 | /* Kernel symbol table: Normal symbols */ \ |
||
30 | __kcrctab : AT(ADDR(__kcrctab) - LOAD_OFFSET) { \ |
||
31 | __start___kcrctab = .; \ |
||
32 | *(__kcrctab) \ |
||
33 | __stop___kcrctab = .; \ |
||
34 | } \ |
||
35 | \ |
||
36 | /* Kernel symbol table: GPL-only symbols */ \ |
||
37 | __kcrctab_gpl : AT(ADDR(__kcrctab_gpl) - LOAD_OFFSET) { \ |
||
38 | __start___kcrctab_gpl = .; \ |
||
39 | *(__kcrctab_gpl) \ |
||
40 | __stop___kcrctab_gpl = .; \ |
||
41 | } \ |
||
42 | \ |
||
43 | /* Kernel symbol table: strings */ \ |
||
44 | __ksymtab_strings : AT(ADDR(__ksymtab_strings) - LOAD_OFFSET) { \ |
||
45 | *(__ksymtab_strings) \ |
||
46 | } |
||
47 | |||
48 | #define SECURITY_INIT \ |
||
49 | .security_initcall.init : { \ |
||
50 | __security_initcall_start = .; \ |
||
51 | *(.security_initcall.init) \ |
||
52 | __security_initcall_end = .; \ |
||
53 | } |