Commit 8f9c1be7 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] m68knommu: platform additions in linker script

From: <gerg@snapgear.com>

A couple of additions to the linker script for m68knommu platforms:

. add support for COBRA5272 and COBRA5282 boards
. link in .rodata.str1 generated by gcc-3.3.x compilers
parent 4ce40a47
......@@ -122,11 +122,30 @@
#define RAM_LENGTH 0x3e0000
#endif
/*
* The senTec COBRA5272 board has nearly the same
* memory layout as the M5272C3.
* We assume 16MB ram.
*/
#if defined(CONFIG_COBRA5272)
#define RAM_START 0x20000
#define RAM_LENGTH 0xfe0000
#endif
#if defined(CONFIG_M5282C3)
#define RAM_START 0x10000
#define RAM_LENGTH 0x3f0000
#endif
/*
* The senTec COBRA5282 board has the same
* memory layout as the M5282C3.
*/
#if defined(CONFIG_COBRA5282)
#define RAM_START 0x10000
#define RAM_LENGTH 0x3f0000
#endif
/*
* These flash boot boards use all of ram for operation. Again the
* actual memory size is not important here, assume at least 4MiB.
......@@ -202,8 +221,10 @@ SECTIONS {
*(.rodata) *(.rodata.*)
*(__vermagic) /* Kernel version magic */
*(.rodata1)
*(.rodata.str1.1)
/* Kernel symbol table: Normal symbols */
. = ALIGN(4);
__start___ksymtab = .;
*(__ksymtab)
__stop___ksymtab = .;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment