[U-Boot] [PATCH v1] Refactor linker-generated arrays

Heiko Schocher
2013-02-04T08:21:02Z

Hello Albert,

On 02.02.2013 18:02, Albert ARIBAUD wrote:
> Refactor linker-generated array code so that symbols
> which were previously linker-generated are now compiler-
> generated. This causes relocation records of type
> R_ARM_ABS32 to become R_ARM_RELATIVE, which makes
> code which uses LGA able to run before relocation as
> well as after.
>
> Note: this affects more than ARM targets, as linker-
> lists span possibly all target architectures, notably
> PowerPC.
>
> Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
> ---

for arm926ejs

Tested-by: Heiko Schocher <hs@denx.de>

Just one minor comment ...

[...]
> diff --git a/common/command.c b/common/command.c
> index 50c8429..6ac59e4 100644
> --- a/common/command.c
> +++ b/common/command.c
> @@ -507,6 +507,7 @@ static int cmd_call(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
> int result;
>
> result = (cmdtp->cmd)(cmdtp, flag, argc, argv);
> +

remove this Codingstyle change please.

bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany