2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2003-07-24 23:38:38 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2003
|
|
|
|
* Wolfgang Denk Engineering, <wd@denx.de>
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-bigmips")
|
|
|
|
*/
|
2010-08-09 15:13:43 +00:00
|
|
|
OUTPUT_FORMAT("elf32-tradbigmips", "elf32-tradbigmips", "elf32-tradlittlemips")
|
2003-07-24 23:38:38 +00:00
|
|
|
OUTPUT_ARCH(mips)
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
.text :
|
|
|
|
{
|
2011-04-15 15:16:44 +00:00
|
|
|
*(.text*)
|
2003-07-24 23:38:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
. = ALIGN(4);
|
2009-02-18 23:22:05 +00:00
|
|
|
.rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }
|
2003-07-24 23:38:38 +00:00
|
|
|
|
|
|
|
. = ALIGN(4);
|
2011-04-15 15:16:44 +00:00
|
|
|
.data : { *(.data*) }
|
2003-07-24 23:38:38 +00:00
|
|
|
|
2007-10-21 01:55:37 +00:00
|
|
|
. = .;
|
|
|
|
_gp = ALIGN(16) + 0x7ff0;
|
2003-07-24 23:38:38 +00:00
|
|
|
|
2007-10-21 01:55:36 +00:00
|
|
|
.got : {
|
|
|
|
__got_start = .;
|
|
|
|
*(.got)
|
|
|
|
__got_end = .;
|
|
|
|
}
|
2003-07-24 23:38:38 +00:00
|
|
|
|
2011-04-15 15:16:44 +00:00
|
|
|
.sdata : { *(.sdata*) }
|
2003-07-24 23:38:38 +00:00
|
|
|
|
|
|
|
. = ALIGN(4);
|
2004-04-12 16:12:49 +00:00
|
|
|
__bss_start = .;
|
2011-04-15 15:16:44 +00:00
|
|
|
.sbss (NOLOAD) : { *(.sbss*) }
|
|
|
|
.bss (NOLOAD) : { *(.bss*) . = ALIGN(4); }
|
2004-04-12 16:12:49 +00:00
|
|
|
|
2011-03-29 12:34:50 +00:00
|
|
|
_end = .;
|
2003-07-24 23:38:38 +00:00
|
|
|
}
|