4 /* relocate() is conceptually impossible with KEEP_IT_REAL */
7 #include <gpxe/tables.h>
9 /* An entry in the post-relocation function table */
10 struct post_reloc_fn {
11 void ( *post_reloc ) ( void );
14 /* Use double digits to avoid problems with "10" < "9" on alphabetic sort */
15 #define POST_RELOC_LIBRM 00
17 /* Macro for creating a post-relocation function table entry */
18 #define POST_RELOC_FN( order, post_reloc_func ) \
19 struct post_reloc_fn PREFIX_OBJECT(post_reloc_fn__) \
20 __table ( post_reloc_fn, order ) = { \
21 .post_reloc = post_reloc_func, \
26 #endif /* RELOCATE_H */