public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Daniel Hellstrom <daniel@gaisler.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/1] SPARC: fixes exported function stub for standalone applications.
Date: Wed, 23 Sep 2009 10:33:25 +0200	[thread overview]
Message-ID: <4AB9DD55.8090603@gaisler.com> (raw)
In-Reply-To: <20090922215843.4FE5F832E864@gemini.denx.de>

Wolfgang Denk wrote:

>Dear Daniel Hellstrom,
>
>In message <1253270387-15741-1-git-send-email-daniel@gaisler.com> you wrote:
>  
>
>>Hello Wolfgang,
>>
>>Please pull the u-boot-sparc.git master branch.
>>
>>This patch fixes the SPARC support for standalone u-boot applications. 
>>The problem was that I neve finished the implementation in the first
>>place.
>>
>>jmp ensures we get back to the location we came from, size(void *) make
>>sure we get the function addresses correctly from the table (entry*4 
>>instead of entry*1).
>>    
>>
>
>Um...
>...
>  
>
>>Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
>>---
>> examples/standalone/stubs.c |    4 ++--
>> 1 files changed, 2 insertions(+), 2 deletions(-)
>>
>>diff --git a/examples/standalone/stubs.c b/examples/standalone/stubs.c
>>index 339bbf9..ce3371d 100644
>>--- a/examples/standalone/stubs.c
>>+++ b/examples/standalone/stubs.c
>>@@ -181,9 +181,9 @@ gd_t *global_data;
>> "	or %%g1, %%g7, %%g1\n"				\
>> "	ld [%%g1], %%g1\n"				\
>> "	ld [%%g1 + %1], %%g1\n"				\
>>-"	call %%g1\n"					\
>>+"	jmp %%g1\n"					\
>> "	nop\n"						\
>>-	: : "i"(offsetof(gd_t, jt)), "i"(XF_ ## x) : "g1" );
>>+	: : "i"(offsetof(gd_t, jt)), "i"(XF_ ## x * sizeof(void *)) : "g1" );
>>    
>>
>
>This looks 100% like the patch submitted by Sergey Mironov on 16 Sep,
>yet I see no Signed-off-by: line from him, nor any credit or
>reference.
>
>This can't be right?
>  
>
Hello Wolfgang,

It is 100% his patch, I have only reviewed and tried it.

I admit it looks disgusting.

I will ask Sergey for a new patch with a signoff line, I will let you 
know when the repository is updated. I suppose I will use the "git am 
--signoff --whitespace=strip" you have written about on the git help page.

How do you deal with cyrillic in the sign-off line?

Best Regards,
Daniel Hellstrom

      reply	other threads:[~2009-09-23  8:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-18 10:39 [U-Boot] [PATCH 1/1] SPARC: fixes exported function stub for standalone applications Daniel Hellstrom
2009-09-22 21:58 ` Wolfgang Denk
2009-09-23  8:33   ` Daniel Hellstrom [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AB9DD55.8090603@gaisler.com \
    --to=daniel@gaisler.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox