From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Wilson To: Joe Buck Cc: ben@proximity.com.au, egcs@cygnus.com, hjl@lucon.org Subject: Re: Building a cross compiler Date: Wed, 29 Apr 1998 14:48:00 -0000 Message-id: <199804291856.LAA29318@rtl.cygnus.com> References: <199804291538.IAA19301@atrus.synopsys.com> X-SW-Source: 1998-04/msg01161.html > I think this should be fixed by rewriting the x86 port to implement libgcc1 > as an assembler file instead of the perform_* macros, and then we should > eliminate the perform_* macros so that no one else will be tempted to use > them. This is how all other ports work nowadays. Perhaps I'm missing something, but wouldn't that mean that the assembler functions would no longer be inline? What I am suggesting here is that we use assembly routines instead of asms to implement libgcc1. This only affects compilation of libgcc1.a. It does not affect any user programs, as libgcc1 source code is never used for anything but libgcc1.a. libgcc1 routines can be expanded inline, but this is done by either by machine independent code in the middle-end, or machine dependent patterns in the md file. The libgcc1 source code has nothing to do with this. Jim