Linker Sets

Reminder: When placing something in a dedicated section using __attribute__((section(“foobar”))), the GNU toolchain will automatically add a symbol __start_foobar at the beginning and a symbol __stop_foobar at the end of the section. However, you will need a reference to that symbol in order to prevent the linker from optimizing the symbol away. In other words, […]