From mboxrd@z Thu Jan 1 00:00:00 1970 From: calvin Date: Sat, 06 Nov 2004 17:40:33 +0530 Subject: [U-Boot-Users] Re: GOT pointer in U-boot In-Reply-To: <20041105142243.0D34FC1430@atlas.denx.de> References: <20041105142243.0D34FC1430@atlas.denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk wrote: > In message you wrote: > > You will need to dig into the GCC / ld documentation if you really > want to understand what's going on there. [On the other hand it's > usually safe to ignore this; the relevant problems have already been > solved for MIPS and the other supported architectures.] > Thanks for your time Wolfgang. But Even if I ignore GOT pointer my problem still persists. The problem of bootloader trying to jump to an address which does not exist. I compile for ROM version(config.mk) the code downloads in flash but when it relocates itself to SDRAM, the address it tries to jump is a "valid" SDRAM address but I don't see that address anywhere in u-boot.dis. All the addresses in u-boot.dis are relative to the TEXT_BASE I have given in ROM version. Do I need to make some changes in linker file ? For the same board and YAMON bootloader the disassembled file has initial flash addresses and then SDRAM addresses for opcodes after the code is relocated. I am not expecting the same from u-boot but I am unable to understand u-boot policy regarding this. Thanks and regards, Pooja > Best regards, > > Wolfgang Denk >