<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>
<DIV>Hi,</DIV>
<DIV> Some naive questions about u-boot for MPC85xx, the
definition of <BR>some macro in ppc_asm.tmpl. Can anyone there explain them to
me please? <BR></DIV>
<DIV>
<P> 1) In GET_GOT(x) what does " lwz r0,0b-1b(r14) ;" do? what
does <BR>"0b-1b" stands for, or the meaning of the syntax? why move the content
<BR>of the memory pointing by LR? <BR>
<P>
<DIV class=qt style="DISPLAY: block">#define GET_GOT
\ </DIV>
<DIV class=qt
style="DISPLAY: block"> bl
1f ;
\ <BR> .text 2
;
\ <BR> 0: .long .LCTOC1-1f ;
\ <BR> .text
;
\ <BR>1: mflr r14
;
\ <BR> lwz
r0,0b-1b(r14) ;
\ <BR> add
r14,r0,r14 ; <BR><BR></DIV>2) In START_GOT, any
special meaning for the value 32768? <BR> >> .LCTOC1=.+32768 <BR>
<P>3) Syntax for GOT_ENTRY(NAME) and GOT(NAME),
like . - .LCTOC1 (line 57) and .text 2 (line
50)<BR>could not find then in the GNU douments (ld, as, gcc, glibc etc). <BR>
<P>Thanks for the help!! <BR></P></DIV></DIV></BODY></HTML>