"Joseph S. Myers" <jos...@codesourcery.com> writes: > 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.
Agreed. I'd prefer to first complete the build side of the migration from gcc (mostly target headers left now, which seems to be somewhat involved on first check), then deal with the libgcc-only macros, and only then look into cleaning up the end result even further. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University