3.3.3.6 How Do I Place A Function Into A Unique Section?
Use the __section()
specifier to have the function
positioned into a new section (psect). When this has been done, the section can be linked
to the desired address by using the -Wl
driver option. See 5.15.3 Changing and Linking the Allocated Section for
examples of both these operations.