Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/orc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2011-09-25 03:00:25 +0400
committerDavid Schleef <ds@schleef.org>2011-09-25 03:00:25 +0400
commit038230b3873cb655b7e7716219ceed0c60cd6d64 (patch)
tree22a3fca1ece1ac48939c3bf06871b3715bd9b2ed /orc-test/orctest.c
parentb06d6f77247a37db49c7ca0ff582e0e47c7ff11f (diff)
Fix up c64x-c backend
Diffstat (limited to 'orc-test/orctest.c')
-rw-r--r--orc-test/orctest.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/orc-test/orctest.c b/orc-test/orctest.c
index a847765..b82ce5a 100644
--- a/orc-test/orctest.c
+++ b/orc-test/orctest.c
@@ -289,13 +289,13 @@ orc_test_gcc_compile_c64x (OrcProgram *p)
base = "temp-orc-test";
- sprintf(source_filename, "%s-source.s", base);
+ sprintf(source_filename, "%s-source.c", base);
sprintf(obj_filename, "%s-source.obj", base);
sprintf(dis_filename, "%s-source.dis", base);
sprintf(dump_filename, "%s-dump.bin", base);
sprintf(dump_dis_filename, "%s-dump.dis", base);
- target = orc_target_get_by_name ("c64x");
+ target = orc_target_get_by_name ("c64x-c");
flags = orc_target_get_default_flags (target);
result = orc_program_compile_full (p, target, flags);
@@ -307,6 +307,7 @@ orc_test_gcc_compile_c64x (OrcProgram *p)
fflush (stdout);
file = fopen (source_filename, "w");
+ fprintf(file, "%s", orc_target_get_preamble (target));
fprintf(file, "%s", orc_program_get_asm_code (p));
fclose (file);