diff options
Diffstat (limited to 'arch/m68k/kernel')
-rw-r--r-- | arch/m68k/kernel/vmlinux-std.lds | 2 | ||||
-rw-r--r-- | arch/m68k/kernel/vmlinux-sun3.lds | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/arch/m68k/kernel/vmlinux-std.lds b/arch/m68k/kernel/vmlinux-std.lds index 878be5f38cad..d0993594f558 100644 --- a/arch/m68k/kernel/vmlinux-std.lds +++ b/arch/m68k/kernel/vmlinux-std.lds | |||
@@ -25,6 +25,8 @@ SECTIONS | |||
25 | 25 | ||
26 | EXCEPTION_TABLE(16) | 26 | EXCEPTION_TABLE(16) |
27 | 27 | ||
28 | _sdata = .; /* Start of data section */ | ||
29 | |||
28 | RODATA | 30 | RODATA |
29 | 31 | ||
30 | RW_DATA_SECTION(16, PAGE_SIZE, THREAD_SIZE) | 32 | RW_DATA_SECTION(16, PAGE_SIZE, THREAD_SIZE) |
diff --git a/arch/m68k/kernel/vmlinux-sun3.lds b/arch/m68k/kernel/vmlinux-sun3.lds index 1ad6b7ad2c17..8080469ee6c1 100644 --- a/arch/m68k/kernel/vmlinux-sun3.lds +++ b/arch/m68k/kernel/vmlinux-sun3.lds | |||
@@ -25,6 +25,7 @@ SECTIONS | |||
25 | _etext = .; /* End of text section */ | 25 | _etext = .; /* End of text section */ |
26 | 26 | ||
27 | EXCEPTION_TABLE(16) :data | 27 | EXCEPTION_TABLE(16) :data |
28 | _sdata = .; /* Start of rw data section */ | ||
28 | RW_DATA_SECTION(16, PAGE_SIZE, THREAD_SIZE) :data | 29 | RW_DATA_SECTION(16, PAGE_SIZE, THREAD_SIZE) :data |
29 | /* End of data goes *here* so that freeing init code works properly. */ | 30 | /* End of data goes *here* so that freeing init code works properly. */ |
30 | _edata = .; | 31 | _edata = .; |