|
@@ -10,13 +10,12 @@ struct post_reloc_fn {
|
10
|
10
|
};
|
11
|
11
|
|
12
|
12
|
/* Use double digits to avoid problems with "10" < "9" on alphabetic sort */
|
13
|
|
-#define POST_RELOC_LIBRM "00"
|
|
13
|
+#define POST_RELOC_LIBRM 00
|
14
|
14
|
|
15
|
15
|
/* Macro for creating a post-relocation function table entry */
|
16
|
|
-#define POST_RELOC_FN( post_reloc_order, post_reloc_func ) \
|
17
|
|
- static struct post_reloc_fn post_reloc_functions \
|
18
|
|
- __attribute__ (( used, __section__( ".post_reloc_fns." \
|
19
|
|
- post_reloc_order ) )) = { \
|
|
16
|
+#define POST_RELOC_FN( order, post_reloc_func ) \
|
|
17
|
+ static struct post_reloc_fn PREFIX_OBJECT(post_reloc_fn__) \
|
|
18
|
+ __attribute__ (( used, __table_section(post_reloc_fn,order) )) = {\
|
20
|
19
|
.post_reloc = post_reloc_func, \
|
21
|
20
|
};
|
22
|
21
|
|