PATCH RFC: Remove fork from collect2
Ian Lance Taylor
ian@wasabisystems.com
Sat Mar 20 21:56:00 GMT 2004
Ian Lance Taylor <ian@wasabisystems.com> writes:
> 3) Add restFP and saveFP to FSF gcc. Overall consistency would appear
> to be a good thing.
Upon reflection, I believe that this would be the solution to the
issue. Besides fixing this problem, it would permit FSF gcc to
consistently link files compiled by Darwin gcc, which seems like a
good thing to me.
Unfortunately, since I don't have a Darwin system, I can't easily
write a patch. However, it's easy to do for anybody who has the
source code for the Darwin compiler. Just add a file like
rs6000/darwin-tramp.asm and put in the definitions of saveFP and
restFP. Then add the name of the file to LIB2FUNCS_EXTRA in
rs6000/t-darwin. It sounds like saveFP and restFP will normally be
used together, so it should be fine to put both functions in the same
file.
Ian
More information about the Gcc
mailing list