diff options
author | sascha <sascha@nomad.localdomain> | 2007-10-17 12:21:53 +0200 |
---|---|---|
committer | sascha <sascha@nomad.localdomain> | 2007-10-17 12:21:53 +0200 |
commit | d59ca7feb3220ae846a10b6f7da0712e2c1feae3 (patch) | |
tree | 5be088d4b9a0b5c8a2101faffc1ca17a668c63e5 /board/netx | |
parent | b36fca0cb81493c26825d4f1df1c61bebd5df942 (diff) | |
download | barebox-d59ca7feb3220ae846a10b6f7da0712e2c1feae3.tar.gz barebox-d59ca7feb3220ae846a10b6f7da0712e2c1feae3.tar.xz |
Linking: Remove linker scripts from (arm based-) boards and add
a generic linker script to arch/arm/lib/u-boot.lds.S.
If a board wants to overwrite a linker script it can do
so using CONFIG_BOARD_LINKER_SCRIPT.
There is no generic linker script for ppc and blackfin
yet, so still use the board specific one.
Diffstat (limited to 'board/netx')
-rw-r--r-- | board/netx/Makefile | 1 | ||||
-rw-r--r-- | board/netx/u-boot.lds.S | 65 |
2 files changed, 0 insertions, 66 deletions
diff --git a/board/netx/Makefile b/board/netx/Makefile index 33ad98d4e3..c1d02f8a4a 100644 --- a/board/netx/Makefile +++ b/board/netx/Makefile @@ -1,2 +1 @@ obj-y += netx.o -extra-y += u-boot.lds diff --git a/board/netx/u-boot.lds.S b/board/netx/u-boot.lds.S deleted file mode 100644 index 3641ca6b6a..0000000000 --- a/board/netx/u-boot.lds.S +++ /dev/null @@ -1,65 +0,0 @@ -/* - * (C) Copyright 2000-2004 - * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * See file CREDITS for list of people who contributed to this - * project. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, - * MA 02111-1307 USA - * - */ - -#include <asm-generic/u-boot.lds.h> - -OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm") -OUTPUT_ARCH(arm) -ENTRY(_start) -SECTIONS -{ - . = 0x00000000; - - . = ALIGN(4); - .text : - { - _stext = .; - _text = .; - *(.text_entry) - *(.text) - } - - . = ALIGN(4); - .rodata : { *(.rodata) } - - . = ALIGN(4); - .data : { *(.data) } - - . = ALIGN(4); - .got : { *(.got) } - - . = .; - __u_boot_cmd_start = .; - .u_boot_cmd : { U_BOOT_CMDS } - __u_boot_cmd_end = .; - - __u_boot_initcalls_start = .; - .u_boot_initcalls : { INITCALLS } - __u_boot_initcalls_end = .; - - . = ALIGN(4); - __bss_start = .; - .bss : { *(.bss) } - _end = .; -} |