From b50e7e96023db07ae81e1d65c0a08592d58d1274 Mon Sep 17 00:00:00 2001 From: pancake Date: Wed, 26 Jun 2019 04:47:27 +0200 Subject: [PATCH] Fix ragg2 *.c on macOS --- libr/egg/egg_Cfile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libr/egg/egg_Cfile.c b/libr/egg/egg_Cfile.c index 6712d06561..a0fb9cb2a4 100644 --- a/libr/egg/egg_Cfile.c +++ b/libr/egg/egg_Cfile.c @@ -139,7 +139,8 @@ static struct cEnv_t* r_egg_Cfile_set_cEnv(const char *arch, const char *os, int cEnv->TEXT = ".text"; cEnv->FMT = "pe"; } else if (isXNU(os)) { - cEnv->TEXT = "0.__TEXT.__text"; + //cEnv->TEXT = "0.__TEXT.__text"; + cEnv->TEXT = "0..__text"; } else { cEnv->TEXT = ".text"; }