Lines 41-47
Link Here
|
41 |
static void name(void); \ |
41 |
static void name(void); \ |
42 |
\ |
42 |
\ |
43 |
const struct test test##name \ |
43 |
const struct test test##name \ |
44 |
__attribute__ ((section ("test_section"))) = { \ |
44 |
__attribute__ ((used, section ("test_section"))) = { \ |
45 |
#name, name, 0 \ |
45 |
#name, name, 0 \ |
46 |
}; \ |
46 |
}; \ |
47 |
\ |
47 |
\ |
Lines 51-57
Link Here
|
51 |
static void name(void); \ |
51 |
static void name(void); \ |
52 |
\ |
52 |
\ |
53 |
const struct test test##name \ |
53 |
const struct test test##name \ |
54 |
__attribute__ ((section ("test_section"))) = { \ |
54 |
__attribute__ ((used, section ("test_section"))) = { \ |
55 |
#name, name, 1 \ |
55 |
#name, name, 1 \ |
56 |
}; \ |
56 |
}; \ |
57 |
\ |
57 |
\ |