summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mach-mpc85xx/barebox.lds.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/mach-mpc85xx/barebox.lds.S')
-rw-r--r--arch/powerpc/mach-mpc85xx/barebox.lds.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/powerpc/mach-mpc85xx/barebox.lds.S b/arch/powerpc/mach-mpc85xx/barebox.lds.S
index 2b73fda4e6..6e348d4db3 100644
--- a/arch/powerpc/mach-mpc85xx/barebox.lds.S
+++ b/arch/powerpc/mach-mpc85xx/barebox.lds.S
@@ -13,7 +13,7 @@
* GNU General Public License for more details.
*/
-#include <asm-generic/barebox.lds.h>
+#include <asm/barebox.lds.h>
#ifdef CONFIG_RESET_VECTOR_ADDRESS
#define RESET_VECTOR_ADDRESS CONFIG_RESET_VECTOR_ADDRESS
@@ -21,7 +21,7 @@
#define RESET_VECTOR_ADDRESS 0xfffffffc
#endif
-OUTPUT_ARCH("powerpc")
+OUTPUT_ARCH(BAREBOX_OUTPUT_ARCH)
ENTRY(_start_e500)
PHDRS
@@ -68,6 +68,8 @@ SECTIONS
PROVIDE (etext = .);
_sdata = .;
+ .barebox_imd : { BAREBOX_IMD }
+
.rodata :
{
*(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))