From 4e871c9dd0418c4f6d33c83fd3338ad261f7dd3f Mon Sep 17 00:00:00 2001 From: johannst Date: Sat, 20 Mar 2021 03:16:23 +0100 Subject: added chapter 03 hello dynld --- 03_hello_dynld/main.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 03_hello_dynld/main.c (limited to '03_hello_dynld/main.c') diff --git a/03_hello_dynld/main.c b/03_hello_dynld/main.c new file mode 100644 index 0000000..acf1ff7 --- /dev/null +++ b/03_hello_dynld/main.c @@ -0,0 +1,11 @@ +// Copyright (c) 2021 Johannes Stoelp + +#include +#include + +#include + +void _start() { + pfmt("Running %s @ %s\n", __FUNCTION__, __FILE__); + syscall1(__NR_exit, 0); +} -- cgit v1.2.3