Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

I need help that about linker_lists.h file.

+2 votes
asked Apr 9, 2019 by hakjun (140 points)

hi.

I made program by referring to u-boot linker_lists. 
( refer: https://github.com/u-boot/u-boot/blob/master/include/linker_lists.h )

The function used is: 
ll_entry_declare(_type, _name, _list)
ll_entry_declare_list(_type, _name, _list)
ll_entry_start(_type, _list)
ll_entry_end(_type, _list)
ll_entry_count(_type, _list)

However, the ll_entry_end function does not work well.
The return value of ll_entry_end is the same ll_entry_start.

What am I doing wrong? I need help.
If possible, can you tell me the mechanism of the section in __attribute__ that linker_lists.h file?

best regards.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...