From 20741c52e9416486da7b3de4fc610625a0fac93f Mon Sep 17 00:00:00 2001 From: cgd Date: Thu, 23 Jan 1997 05:07:22 +0000 Subject: [PATCH] give crunchide a C label name with -k, since crunchgen really doesn't want to have to care about the object format in use, and C label prefix is object format dependent. --- distrib/crunch/crunchgen/crunchgen.c | 2 +- usr.bin/crunch/crunchgen/crunchgen.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/distrib/crunch/crunchgen/crunchgen.c b/distrib/crunch/crunchgen/crunchgen.c index cea12ca547b3..3afbd5df4c1d 100644 --- a/distrib/crunch/crunchgen/crunchgen.c +++ b/distrib/crunch/crunchgen/crunchgen.c @@ -807,7 +807,7 @@ void prog_makefile_rules(FILE *outmk, prog_t *p) p->name, p->name, p->ident); fprintf(outmk, "\tld -dc -r -o %s.lo %s_stub.o $(%s_OBJPATHS)\n", p->name, p->name, p->ident); - fprintf(outmk, "\tcrunchide -k __crunched_%s_stub %s.lo\n", + fprintf(outmk, "\tcrunchide -k _crunched_%s_stub %s.lo\n", p->ident, p->name); } diff --git a/usr.bin/crunch/crunchgen/crunchgen.c b/usr.bin/crunch/crunchgen/crunchgen.c index cea12ca547b3..3afbd5df4c1d 100644 --- a/usr.bin/crunch/crunchgen/crunchgen.c +++ b/usr.bin/crunch/crunchgen/crunchgen.c @@ -807,7 +807,7 @@ void prog_makefile_rules(FILE *outmk, prog_t *p) p->name, p->name, p->ident); fprintf(outmk, "\tld -dc -r -o %s.lo %s_stub.o $(%s_OBJPATHS)\n", p->name, p->name, p->ident); - fprintf(outmk, "\tcrunchide -k __crunched_%s_stub %s.lo\n", + fprintf(outmk, "\tcrunchide -k _crunched_%s_stub %s.lo\n", p->ident, p->name); }