--- gcc/config/msdos/top.sed 2018/04/24 18:21:42 1.1 +++ gcc/config/msdos/top.sed 2018/04/24 18:34:44 1.1.1.3 @@ -2,13 +2,29 @@ /^multilib.h/ s/multilib/not-multilib/ /^target=/ c\ target=go32 +/^out_file=/ c\ +out_file=config/i386/i386.c +/^out_object_file=/ c\ +out_object_file=i386.o +/^md_file=/ c\ +md_file=config/i386/i386.md +/^tm_file=/ c\ +tm_file=config/i386/go32.h +/^build_xm_file=/ c\ +build_xm_file=config/i386/xm-dos.h +/^host_xm_file=/ c\ +host_xm_file=config/i386/xm-dos.h +/^lang_specs_files=/ d +/^lang_options_files=/ d /^xmake_file=/ d /^tmake_file=/ d /^version=/ c\ -version=2.6.1 +version=2.7.2.1 +/^mainversion=/ c\ +mainversion=2.7.2.1 s/CC = cc/CC = gcc/ s/:\$/: \$/g -s/^ \ *\.\// go32 / +s/^ \ *\.\// / s/<\ *\$(srcdir)\//< $(srcdir)\\/g s/^ \$(srcdir)\/move-if-change/ update/ s/^USE_/# USE_/ @@ -19,9 +35,10 @@ s/^ cd \$(srcdir)[ ]*;/ / USE_HOST_OBSTACK=obstack.o /^stamp-attrtab/,/update/ { /\\/d - /fi/d + /[ ]fi[ ]/d + /[ ]fi$/d /update/ i\ - go32 genattrtab md > t-attrtab.c + genattrtab md > t-attrtab.c } /^enquire[ ]*:/ s/\$(GCC_PARTS)//g /^enquire.o[ ]*:/ s/\$(GCC_PASSES)//g @@ -36,3 +53,5 @@ s/tmp-/t-/g s/^\(SUBDIR_OBSTACK *=\).*$/\1 ..\/obstack.o/ s/^\(SUBDIR_USE_ALLOCA *=\).*$/\1/ s/^\(SUBDIR_MALLOC *=\).*$/\1/ +/^# Build libgcc.a/ r config/msdos/libgcc.mak +/^# Build libgcc.a/,/ / d