Ticket #4084: gcc-10-i386march-1.diff

File gcc-10-i386march-1.diff, 759 bytes (added by Joel Sherrill, on 09/21/20 at 20:17:06)

Patch for GCC 10 to fix multilib compiler arguments on i386

  • gcc-7.5.0/gcc/config/i386/t-rtems

    old new  
    1717# <http://www.gnu.org/licenses/>.
    1818#
    1919
    20 MULTILIB_OPTIONS = mtune=i486/mtune=pentium/mtune=pentiumpro msoft-float
     20MULTILIB_OPTIONS = march=i486/march=pentium/march=pentiumpro msoft-float
    2121MULTILIB_DIRNAMES= m486 mpentium mpentiumpro soft-float
    2222MULTILIB_MATCHES = msoft-float=mno-80387
    23 MULTILIB_MATCHES += mtune?pentium=mtune?k6 mtune?pentiumpro=mtune?athlon
     23MULTILIB_MATCHES += march?pentium=march?k6 march?pentiumpro=march?athlon
    2424MULTILIB_EXCEPTIONS = \
    25 mtune=pentium/*msoft-float* \
    26 mtune=pentiumpro/*msoft-float*
     25march=pentium/*msoft-float* \
     26march=pentiumpro/*msoft-float*