2006-10-24 06:42:37 -06: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 07:48:59 -06:00
|
|
|
. = 0;
|
2006-10-24 06:42:37 -06:00
|
|
|
_text = .;
|
|
|
|
.text : {
|
2008-05-02 07:32:57 -06:00
|
|
|
*(.exception.text)
|
2006-10-24 06:42:37 -06:00
|
|
|
*(.text)
|
|
|
|
*(.text.*)
|
|
|
|
}
|
2006-11-20 07:53:10 -07:00
|
|
|
_etext = .;
|
2006-10-24 06:42:37 -06:00
|
|
|
|
|
|
|
.rodata : {
|
2009-02-18 16:22:05 -07:00
|
|
|
*(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
|
2006-10-24 06:42:37 -06:00
|
|
|
}
|
|
|
|
|
2006-11-20 07:53:10 -07:00
|
|
|
. = ALIGN(8);
|
2006-10-24 06:42:37 -06:00
|
|
|
_data = .;
|
2006-11-20 07:53:10 -07:00
|
|
|
.data : {
|
2006-10-24 06:42:37 -06:00
|
|
|
*(.data)
|
|
|
|
*(.data.*)
|
|
|
|
}
|
|
|
|
|
|
|
|
. = ALIGN(4);
|
|
|
|
|
2012-10-12 04:27:03 -06:00
|
|
|
. = ALIGN(4);
|
|
|
|
.u_boot_list : {
|
2013-02-24 17:59:00 -07:00
|
|
|
KEEP(*(SORT(.u_boot_list*)));
|
2012-10-12 04:27:03 -06:00
|
|
|
}
|
|
|
|
|
2006-11-20 07:53:10 -07:00
|
|
|
. = ALIGN(4);
|
|
|
|
_got = .;
|
|
|
|
.got : {
|
|
|
|
*(.got)
|
|
|
|
}
|
|
|
|
_egot = .;
|
|
|
|
|
2006-10-24 06:42:37 -06:00
|
|
|
. = ALIGN(8);
|
|
|
|
_edata = .;
|
|
|
|
|
2008-01-12 12:31:39 -07:00
|
|
|
.bss (NOLOAD) : {
|
2006-10-24 06:42:37 -06:00
|
|
|
*(.bss)
|
|
|
|
*(.bss.*)
|
|
|
|
}
|
|
|
|
. = ALIGN(8);
|
2013-03-14 00:54:53 -06:00
|
|
|
__bss_end = .;
|
2006-10-24 06:42:37 -06:00
|
|
|
}
|