summaryrefslogtreecommitdiff
path: root/arch/arc/lib/relocate.c
diff options
context:
space:
mode:
authorAlexey Brodkin <abrodkin@synopsys.com>2016-08-03 17:44:39 (GMT)
committerAlexey Brodkin <abrodkin@synopsys.com>2016-08-05 09:50:25 (GMT)
commit9bef24d0dea30447951e1cd0074be502ca408fc0 (patch)
tree0b400233ff16b0f96c0ce2d55ca54a8117810047 /arch/arc/lib/relocate.c
parent699c4e592b32f43d4ba2cc0d53848118a77d590a (diff)
downloadu-boot-fsl-qoriq-9bef24d0dea30447951e1cd0074be502ca408fc0.tar.xz
arc: No need in sections defined in sources with newer tools
Starting from arc-2016.03 GNU tools linker properly works with symbols defined in linker script and so external declarations are no longer required, dump them. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Diffstat (limited to 'arch/arc/lib/relocate.c')
-rw-r--r--arch/arc/lib/relocate.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arc/lib/relocate.c b/arch/arc/lib/relocate.c
index 7709633..7802f40 100644
--- a/arch/arc/lib/relocate.c
+++ b/arch/arc/lib/relocate.c
@@ -6,7 +6,10 @@
#include <common.h>
#include <elf.h>
-#include <asm/sections.h>
+#include <asm-generic/sections.h>
+
+extern ulong __image_copy_start;
+extern ulong __ivt_end;
DECLARE_GLOBAL_DATA_PTR;