aboutsummaryrefslogtreecommitdiffstats
path: root/elf/hello.c
blob: d7b46c04b17694b04523957fc77329e912da9f6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// A simple Hello World ELF module

// TODO: Define some macros that would put the initialization and termination
// functions in a separate section (suggestion: .init and .fini)

int hello_init() {
	// Do nothing
	return 0;
}

void hello_exit() {
	// Do nothing
}