[U-Boot-Users] u-boot mpc5xx start.s questions

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

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.
/*
- 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
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.
participants (2)
-
278893452
-
Kenneth Johansson