From a180bb1c93cbbc359b6bc11f2cefaea9f1eaadc5 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Tue, 13 May 2008 13:21:27 +0000 Subject: [PATCH] The actual section name for code is .text --- src/target/as.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target/as.c b/src/target/as.c index 9854187..7196832 100644 --- a/src/target/as.c +++ b/src/target/as.c @@ -90,7 +90,7 @@ static int _as_init(char const * outfile, int optlevel) fprintf(stderr, "DEBUG: %s: architecture \"%s\", format \"%s\"\n", PACKAGE, as_get_arch(_as_as), as_get_format(_as_as)); #endif - if(as_open(_as_as, outfile) != 0 || _as_section("text") != 0) + if(as_open(_as_as, outfile) != 0 || _as_section(".text") != 0) { as_delete(_as_as); return 1;