Ronald G. Minnich | 9831244 | 2016-02-12 22:37:48 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
Ronald G. Minnich | 9831244 | 2016-02-12 22:37:48 +0000 | [diff] [blame] | 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License as published by |
| 6 | * the Free Software Foundation; version 2 of the License. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | */ |
| 13 | |
| 14 | /* We use ELF as output format. So that we can debug the code in some form. */ |
| 15 | OUTPUT_ARCH(powerpc) |
| 16 | |
| 17 | PHDRS |
| 18 | { |
| 19 | to_load PT_LOAD; |
| 20 | } |
| 21 | |
Kyösti Mälkki | 9e77d4d | 2019-09-25 15:25:20 +0300 | [diff] [blame] | 22 | #if ENV_BOOTBLOCK |
Ronald G. Minnich | 9831244 | 2016-02-12 22:37:48 +0000 | [diff] [blame] | 23 | ENTRY(_start) |
| 24 | #else |
| 25 | ENTRY(stage_entry) |
| 26 | #endif |