From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Mon, 04 Feb 2013 09:21:02 +0100 Subject: [U-Boot] [PATCH v1] Refactor linker-generated arrays In-Reply-To: <1359824574-32627-2-git-send-email-albert.u.boot@aribaud.net> References: <1359824574-32627-1-git-send-email-albert.u.boot@aribaud.net> <1359824574-32627-2-git-send-email-albert.u.boot@aribaud.net> Message-ID: <510F6F6E.8080200@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- for arm926ejs Tested-by: Heiko Schocher 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