Commit 01850ef5 authored by PoroCYon's avatar PoroCYon
Browse files

use an ugly hack to get valid binaries where the .data comes before the .text to work

parent 81c85c78
......@@ -14,7 +14,12 @@
#include "ELFTOC"
#ifndef ADDR_TEXT
#ifndef ADDR_DATA
#error "No .text section in the binary (not statically linked?)."
#else
// HACK
#define ADDR_TEXT ADDR_DATA
#endif
#endif
static const char* const shevil[] = {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment