From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Mon, 4 Feb 2013 09:51:24 +0100 Subject: [U-Boot] [PATCH v1] Refactor linker-generated arrays In-Reply-To: <510F6F6E.8080200@denx.de> References: <1359824574-32627-1-git-send-email-albert.u.boot@aribaud.net> <1359824574-32627-2-git-send-email-albert.u.boot@aribaud.net> <510F6F6E.8080200@denx.de> Message-ID: <20130204095124.1dd56126@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Heiko, On Mon, 04 Feb 2013 09:21:02 +0100, Heiko Schocher wrote: > 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 Thanks! > 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. Sorry, should have triple-checked that -- this single blank line change in common/command.c stems from ad hoc code I'd added here for test purposes when the patch was only proof-of-concept. Will fix in V2. > bye, > Heiko Amicalement, -- Albert.