Implemented project structure

This commit is contained in:
Fabio Scotto di Santolo
2025-11-29 18:39:57 +01:00
commit c59b4004e5
6024 changed files with 1100108 additions and 0 deletions

16
section.c Normal file
View File

@@ -0,0 +1,16 @@
#include <stdio.h>
int var __attribute__((section("custom_data"))) = 1337;
__attribute__((section("custom_text")))
void custom()
{
printf("Hello from custom() in custom section!\n");
}
int main()
{
printf("var = %d\n", var);
custom();
return 0;
}