2006-10-24 12:42:37 +00:00
|
|
|
/* -*- Fundamental -*-
|
|
|
|
*
|
|
|
|
* Copyright (C) 2005-2006 Atmel Corporation
|
|
|
|
*
|
|
|
|
* 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
|
|
|
|
*/
|
|
|
|
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
|
|
|
}
|