As title.
This is not available in the Keil tools. :-(
I have seen tools where the Linker provides symbols that can do this kind of thing - but not Keil.
uVision doesn't even give the compiler access to the parameters entered in the Target Options, though this could easily be done with predefined macros - like it does for the Memory Model: www.keil.com/.../c51_pp_predefmacroconst.htm
:-(
You may be able to get what you need by defining variables that you know (by Linker controls?) will be first & last in the group?
Perhaps if you explained what you're actually trying to achieve, people might be able to offer informed suggestions...