Patchwork [U-Boot] add required macro

login
register
mail settings
Submitter Kavin Lau
Date March 4, 2011, 1:57 a.m.
Message ID <4d704708.231a8f0a.1985.766c@mx.google.com>
Download mbox | patch
Permalink /patch/85361/
State Changes Requested
Headers show

Comments

Kavin Lau - March 4, 2011, 1:57 a.m.
From a3fb0b578a6cbe57670c7363c0707fdb9e7e3bc4 Mon Sep 17 
00:00:00 2001
From: Kavin Lau <liujingwencn@gmail.com>
Date: Fri, 4 Mar 2011 09:52:36 +0800
Subject: [PATCH] arm1176: Added CONFIG_PRELOADER macro that is 
required

The callers of those labels are under covered of CONFIG_PRELOADER 
macro,
so those labels should be under covered too.
---
 arch/arm/cpu/arm1176/start.S |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Albert ARIBAUD - March 6, 2011, 8:33 a.m.
Hi,

Le 04/03/2011 02:57, Kavin Lau a écrit :
>> From a3fb0b578a6cbe57670c7363c0707fdb9e7e3bc4 Mon Sep 17
> 00:00:00 2001
> From: Kavin Lau<liujingwencn@gmail.com>
> Date: Fri, 4 Mar 2011 09:52:36 +0800
> Subject: [PATCH] arm1176: Added CONFIG_PRELOADER macro that is
> required
>
> The callers of those labels are under covered of CONFIG_PRELOADER
> macro,
> so those labels should be under covered too.
> ---

Please use git format-patch and git send-email.

Amicalement,

Patch

diff --git a/arch/arm/cpu/arm1176/start.S 
b/arch/arm/cpu/arm1176/start.S
index 363329a..624f71c 100644
--- a/arch/arm/cpu/arm1176/start.S
+++ b/arch/arm/cpu/arm1176/start.S
@@ -379,12 +379,14 @@  _board_init_r_ofs:
 	.word board_init_r - _start
 #endif
 
+#ifndef CONFIG_PRELOADER
 _rel_dyn_start_ofs:
 	.word __rel_dyn_start - _start
 _rel_dyn_end_ofs:
 	.word __rel_dyn_end - _start
 _dynsym_start_ofs:
 	.word __dynsym_start - _start
+#endif
 
 #ifdef CONFIG_ENABLE_MMU
 _mmu_table_base: