From 0ec1536d64d98d0b3a4affda3fc1f54d1f02f3c1 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sun, 11 Aug 2013 19:17:36 +0200 Subject: hwstub: allow the stub to relocate itself Change-Id: Iab60c6ec0e8eda19c76c84241f8367d53cb4f87b --- utils/hwstub/stub/hwstub.lds | 2 ++ 1 file changed, 2 insertions(+) (limited to 'utils/hwstub/stub/hwstub.lds') diff --git a/utils/hwstub/stub/hwstub.lds b/utils/hwstub/stub/hwstub.lds index 61504a3e75..549e4ab96c 100644 --- a/utils/hwstub/stub/hwstub.lds +++ b/utils/hwstub/stub/hwstub.lds @@ -36,11 +36,13 @@ SECTIONS { .octext : { + _copystart = .; oc_codestart = .; *(.text*) *(.icode*) *(.data*) *(.rodata*) + _copyend = .; } > OCRAM .bss (NOLOAD) : -- cgit v1.2.3