From mboxrd@z Thu Jan 1 00:00:00 1970 From: YanMin Qiao Date: Sat, 04 Jan 2003 21:46:22 +0800 Subject: [U-Boot-Users] another question of relocate_code Message-ID: <3E16E5AE.4090002@sjtu.edu.cn> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi all: /cpu/mpc8xx/start.S .... relocate_code: mr r1, r3 /* Set new stack pointer */ mr r9, r4 /* Save copy of Global Data pointer */ mr r10, r5 /* Save copy of Destination Address */ .... sub r15, r10, r4 /* First our own GOT */ add r14, r14, r15 /* the the one used by the C code */ add r30, r30, r15 ^^^ .... I have followed the code to the end of board_init_r(). I didn't figured out where r30 is used as mentioned. Thanks Best regards