All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vlad Lungu <vlad@comsys.ro>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] Fixed GOT bug for qemu_mips target
Date: Sat, 06 Oct 2007 01:39:13 +0300	[thread overview]
Message-ID: <4706BD11.2030600@comsys.ro> (raw)

Idea by Robert Delien, I just take the credit for it :-)

Signed-off-by: Vlad Lungu <vlad@comsys.ro>
---
 board/qemu-mips/u-boot.lds |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/board/qemu-mips/u-boot.lds b/board/qemu-mips/u-boot.lds
index 10c9917..7c0098e 100644
--- a/board/qemu-mips/u-boot.lds
+++ b/board/qemu-mips/u-boot.lds
@@ -45,8 +45,9 @@ SECTIONS
 
 	. = ALIGN(4);
 	.sdata  : { *(.sdata) }
-
-	_gp = ALIGN(16);
+	
+	. = ALIGN(16);
+	_gp =.;
 
 	__got_start = .;
 	.got  : { *(.got) }
-- 
1.5.2.2

                 reply	other threads:[~2007-10-05 22:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4706BD11.2030600@comsys.ro \
    --to=vlad@comsys.ro \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.