diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6085256bc39..7ef54025b0b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Wed May 22 17:08:48 2002 J"orn Rennecke + + * t-sh (LIB2FUNCS_EXTRA): Now embed-bb.c. + (embed-bb.c): New rule. + * config/sh/embed_bb.c: Delete. + 2002-05-22 Kazu Hirata * config/h8300/h8300.md (*andorqi3): New. diff --git a/gcc/config/sh/embed_bb.c b/gcc/config/sh/embed_bb.c deleted file mode 100644 index 722b101463c..00000000000 --- a/gcc/config/sh/embed_bb.c +++ /dev/null @@ -1,3 +0,0 @@ -#define L_bb -#undef inhibit_libc -#include "../../libgcc2.c" diff --git a/gcc/config/sh/t-sh b/gcc/config/sh/t-sh index 15433f93b9d..8d5c0728254 100644 --- a/gcc/config/sh/t-sh +++ b/gcc/config/sh/t-sh @@ -3,7 +3,14 @@ LIB1ASMFUNCS = _ashiftrt _ashiftrt_n _ashiftlt _lshiftrt _movstr \ _movstr_i4 _mulsi3 _sdivsi3 _sdivsi3_i4 _udivsi3 _udivsi3_i4 _set_fpscr \ $(LIB1ASMFUNCS_CACHE) -LIB2FUNCS_EXTRA=$(srcdir)/config/sh/embed_bb.c +LIB2FUNCS_EXTRA=embed-bb.c + +embed-bb.c: $(srcdir)/libgcc2.c + echo '#ifdef inhibit_libc' > $@ + echo '#define L_bb' >> $@ + echo '#undef inhibit_libc' >> $@ + cat $< >> $@ + echo '#endif' >> $@ # We want fine grained libraries, so use the new code to build the # floating point emulation libraries.