[PATCH/RFC] SH: movstr* aliases for movmem*

Joern Rennecke joern.rennecke@superh.com
Fri Jul 30 22:30:00 GMT 2004


> 
> On Jul 29, 2004, Joern Rennecke <joern.rennecke@superh.com> wrote:
> 
> >> 2004-07-28  Kaz Kojima  <kkojima@gcc.gnu.org>
> >> 
> >> * config/sh/lib1funcs.asm: Make aliases movstr* for movmem*.
> >> 
> 
> > This is OK.
> 
> > In fact, I beliieve that the library function names should never have been
> > changed in the first place.
> 
> I saw they were hidden in libgcc_s.so, but didn't realize it would be
> a problem for static libgcc.  If you'd prefer, I suppose it would be
> my responsibility to change the name back, but I guess we're better
> off with aliases.  Sorry about that.

Now that the new names are there, I agree that it is better if we leave
them in.  Removing them now would churn the ABI even more, and then
we'd also have to add comments why the movemem pattern maps to movstr*
functions.  The cost of a few additional aliases in the static library is 
neglegible.



More information about the Gcc-patches mailing list