blob: 16defe5fba98b0afb759caed922baca5ecc487e7 [file] [log] [blame]
David Hendricks3d7344a2013-01-08 21:05:06 -08001/*
2 * This file is part of the coreboot project.
3 *
Julius Wernerec5e5e02014-08-20 15:29:56 -07004 * Copyright 2014 Google Inc.
David Hendricks3d7344a2013-01-08 21:05:06 -08005 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
Patrick Georgib890a122015-03-26 15:17:45 +010017 * Foundation, Inc.
David Hendricks3d7344a2013-01-08 21:05:06 -080018 */
19
20/* We use ELF as output format. So that we can debug the code in some form. */
21OUTPUT_FORMAT("elf32-littlearm", "elf32-littlearm", "elf32-littlearm")
22OUTPUT_ARCH(arm)
23
Gabe Black978c2152013-07-01 05:03:47 -070024PHDRS
25{
26 to_load PT_LOAD;
27}
28
Julius Wernerec5e5e02014-08-20 15:29:56 -070029#ifdef __BOOTBLOCK__
Julius Wernerc5058372013-10-15 17:36:17 -070030ENTRY(_start)
Julius Wernerec5e5e02014-08-20 15:29:56 -070031#else
32ENTRY(stage_entry)
33#endif