Skip to contentSkip to conversation

u-boot mpc5xx start.s questions

U-Boot-Users 278893452 2 participants 2 messages Apr 8, 2008

lore
Share & tools
lore

278893452

author
#0 lore raw

dear sir or madam,
When I study the u-boot about mpc5xx, I confuse the definition in cpu/mpc5xx/start.s as follows:
/*
* Set up GOT: Global Offset Table
*
* Use r14 to access the GOT
*/
START_GOT
GOT_ENTRY(_GOT2_TABLE_)
GOT_ENTRY(_FIXUP_TABLE_)
GOT_ENTRY(_start)
GOT_ENTRY(_start_of_vectors)
GOT_ENTRY(_end_of_vectors)
GOT_ENTRY(transfer_to_handler)
GOT_ENTRY(__init_end)
GOT_ENTRY(_end)
GOT_ENTRY(__bss_start)
END_GOT
Will you please kind enough to explain what happens here to me?
Thank you!

jjbear
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20080408/1a4be667/attachment.htm

#1 lore raw
Quoted 3 lines · On Tue, 2008-04-08 at 14:49 +0800, 278893452 wrote:

dear sir or madam,
When I study the u-boot about mpc5xx, I confuse the definition
in cpu/mpc5xx/start.s as follows:

Do you think this is wrong or are you asking something else.

Quoted 19 lines

/*
* Set up GOT: Global Offset Table
*
* Use r14 to access the GOT
*/
START_GOT
GOT_ENTRY(_GOT2_TABLE_)
GOT_ENTRY(_FIXUP_TABLE_)
GOT_ENTRY(_start)
GOT_ENTRY(_start_of_vectors)
GOT_ENTRY(_end_of_vectors)
GOT_ENTRY(transfer_to_handler)
GOT_ENTRY(__init_end)
GOT_ENTRY(_end)
GOT_ENTRY(__bss_start)
END_GOT
Will you please kind enough to explain what happens here to me? Thank you!

Quoted 1 line

jjbear

jjbear you have a very strange email address.

The above is cpp macros. they set a few symbols. Here is an exercise run it through the preprocessor. If it still do not make sense post the preprocessed out put to the list.