From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vlad Lungu Date: Sat, 06 Oct 2007 01:39:13 +0300 Subject: [U-Boot-Users] [PATCH] Fixed GOT bug for qemu_mips target Message-ID: <4706BD11.2030600@comsys.ro> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Idea by Robert Delien, I just take the credit for it :-) Signed-off-by: Vlad Lungu --- 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