diff --git a/BaS_gcc/util/libgcc_helper.S b/BaS_gcc/util/libgcc_helper.S index 13c5583..3f06506 100644 --- a/BaS_gcc/util/libgcc_helper.S +++ b/BaS_gcc/util/libgcc_helper.S @@ -1,10 +1,10 @@ -/* - * needed for ELF compilation of x86emu which uses 64 bit multiplication and division. This - * is implemented in libgcc.a. However, the ELF compiler emits leading underscores and libgcc - * is not compiled like that - we must reimplement the symbols. - * - * FIXME: This is a quirk and should be replaced by BaS' own implementation later - */ +// +// needed for ELF compilation of x86emu which uses 64 bit multiplication and division. This +// is implemented in libgcc.a. However, the ELF compiler emits leading underscores and libgcc +// is not compiled like that - we must reimplement the symbols. +// +// FIXME: This is a quirk and should be replaced by BaS' own implementation later +// .global ___divdi3 .extern __divdi3 ___divdi3: jmp __divdi3