Hello,
I like to organize some function-pointers in a subsection.
This looks like this:
#1:
static void foo(void);
const void* pfoo = foo;
#pragma DATA_SECTION(pfoo, ".text:_foosection")
#2:
static void foo2(void);
const void* pfoo2 = foo2;
#pragma DATA_SECTION(pfoo2, ".text:_foosection")
and so on.
Is there a possibility to get the start and end adress of the subsection ".text:_foosection" during linktime?
Rene