Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on How to dismantle a compiler bomb. Parent comment
GNU ld and gold both support --entry to change the entry point. Alternatively, you can specify it in your linker script.
https://gist.github.com/prattmic/1f3618025aab52b0e90e88445b6...
$ gcc -nostdlib -ffreestanding -Wl,--entry=foobar -o main main.S $ ./main; echo $? 42
There are no comments on this comment yet.
GNU ld and gold both support --entry to change the entry point. Alternatively, you can specify it in your linker script.
https://gist.github.com/prattmic/1f3618025aab52b0e90e88445b6...