diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2017-08-25 14:55:22 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2017-08-25 14:55:22 +0200 |
commit | 4affb2b02e486681b39add0dbaf4f873a91885c8 (patch) | |
tree | 06b045ee98934b00c341071758c9b905ecad057f /runtime/Makefile | |
parent | 95ed4ea7df3e4b05d623afb9cb65f0eb2653361b (diff) | |
download | compcert-4affb2b02e486681b39add0dbaf4f873a91885c8.tar.gz compcert-4affb2b02e486681b39add0dbaf4f873a91885c8.zip |
Prefixed runtime functions.
The runtime functions are prefixed with compcert in order to
avoid potential clashes with runtime/builtin functions of other
compilers.
Bug 22062
Diffstat (limited to 'runtime/Makefile')
-rw-r--r-- | runtime/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/Makefile b/runtime/Makefile index 213779a4..27ad6e8c 100644 --- a/runtime/Makefile +++ b/runtime/Makefile @@ -55,13 +55,13 @@ $(LIB): $(OBJS) $(CASMRUNTIME) -DMODEL_$(MODEL) -DABI_$(ABI) -DENDIANNESS_$(ENDIANNESS) -DSYS_$(SYSTEM) -o $@ $^ # If no asm implementation available, compile the portable C implementation -# with CompCert. Since CompCert rejects the "__i64_" identifiers, the C +# with CompCert. Since CompCert rejects the "__compcert_i64_" identifiers, the C # implementation uses "i64_" identifiers, and we rename them in the # generated assembly %.o: c/%.c c/i64.h ../ccomp ../ccomp -O2 -S -o $*.s -I./c c/$*.c - sed -i -e 's/i64_/__i64_/g' $*.s + sed -i -e 's/i64_/__compcert_i64_/g' $*.s $(CASMRUNTIME) -o $*.o $*.s @rm -f $*.s |