2006-10-24 12:42:37 +00:00
|
|
|
/* -*- Fundamental -*-
|
|
|
|
*
|
|
|
|
* Copyright (C) 2005-2006 Atmel Corporation
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2006-10-24 12:42:37 +00:00
|
|
|
*/
|
|
|
|
OUTPUT_FORMAT("elf32-avr32", "elf32-avr32", "elf32-avr32")
|
|
|
|
OUTPUT_ARCH(avr32)
|
|
|
|
ENTRY(_start)
|
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
{
|
2006-10-25 13:48:59 +00:00
|
|
|
. = 0;
|
2006-10-24 12:42:37 +00:00
|
|
|
_text = .;
|
|
|
|
.text : {
|
2008-05-02 13:32:57 +00:00
|
|
|
*(.exception.text)
|
2006-10-24 12:42:37 +00:00
|
|
|
*(.text)
|
|
|
|
*(.text.*)
|
|
|
|
}
|
2006-11-20 14:53:10 +00:00
|
|
|
_etext = .;
|
2006-10-24 12:42:37 +00:00
|
|
|
|
|
|
|
.rodata : {
|
2009-02-18 23:22:05 +00:00
|
|
|
*(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
|
2006-10-24 12:42:37 +00:00
|
|
|
}
|
|
|
|
|
2006-11-20 14:53:10 +00:00
|
|
|
. = ALIGN(8);
|
2006-10-24 12:42:37 +00:00
|
|
|
_data = .;
|
2006-11-20 14:53:10 +00:00
|
|
|
.data : {
|
2006-10-24 12:42:37 +00:00
|
|
|
*(.data)
|
|
|
|
*(.data.*)
|
|
|
|
}
|
|
|
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
|
2012-10-12 10:27:03 +00:00
|
|
|
. = ALIGN(4);
|
|
|
|
.u_boot_list : {
|
2013-02-25 00:59:00 +00:00
|
|
|
KEEP(*(SORT(.u_boot_list*)));
|
2012-10-12 10:27:03 +00:00
|
|
|
}
|
|
|
|
|
2006-11-20 14:53:10 +00:00
|
|
|
. = ALIGN(4);
|
|
|
|
_got = .;
|
|
|
|
.got : {
|
|
|
|
*(.got)
|
|
|
|
}
|
|
|
|
_egot = .;
|
|
|
|
|
2006-10-24 12:42:37 +00:00
|
|
|
. = ALIGN(8);
|
|
|
|
_edata = .;
|
|
|
|
|
2008-01-12 19:31:39 +00:00
|
|
|
.bss (NOLOAD) : {
|
2006-10-24 12:42:37 +00:00
|
|
|
*(.bss)
|
|
|
|
*(.bss.*)
|
|
|
|
}
|
|
|
|
. = ALIGN(8);
|
2013-03-14 06:54:53 +00:00
|
|
|
__bss_end = .;
|
2006-10-24 12:42:37 +00:00
|
|
|
}
|