CFT: [build] Move libgcc2 to toplevel libgcc

Joseph S. Myers joseph@codesourcery.com
Tue Aug 16 00:32:00 GMT 2011


On Mon, 15 Aug 2011, Rainer Orth wrote:

> On top of the crtstuff and libgcc1 patches (and requiring the PICFLAG
> centralization still under discussion), here's the bulk of the remaining
> moves: it moves all LIBGCC2*, LIB2* macros and referenced files.
> 
> Despite its size, the patch should be quite straightforward.
> 
> * libgcc is slowly getting cluttered.  One may consider moving related
>   files to their own subdirectories.

FWIW, I think libgcc2.c could do with being split up into separate files 
for the separate functions (if not one file per function, at least rather 
more than at present) rather than compiling the same source file so many 
times with different defines.  That would of course clutter things even 
more; I think any such split would need to put all those files in a 
subdirectory.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list