This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH RFC: Remove fork from collect2
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: Ian Lance Taylor <ian at wasabisystems dot com>, Andrew Pinski <apinski at apple dot com>, "gcc at gcc dot gnu dot org list" <gcc at gcc dot gnu dot org>, Caroline Tice <ctice at apple dot com>
- Date: Sat, 20 Mar 2004 16:18:18 -0800
- Subject: Re: PATCH RFC: Remove fork from collect2
- References: <20040317023814.10143.qmail@gossamer.airs.com><20040317092131.GA95030@lorien.int.gecko.de><m3smg7r5cw.fsf@gossamer.airs.com><20040317133116.GA15850@lorien.int.gecko.de><m3k71jr29k.fsf@gossamer.airs.com><20040317170336.GA16667@lorien.int.gecko.de><87d67bw7bd.fsf@egil.codesourcery.com><m3vfl3kyfr.fsf@gossamer.airs.com><A7570576-79EC-11D8-9F81-000393BB90B6@apple.com><009F425B-79EE-11D8-92E2-00039372607E@apple.com><m38yhw4gai.fsf@gossamer.airs.com> <m3lllvzi5r.fsf@gossamer.airs.com><347BCA1C-7ACA-11D8-973A-000393A6D2F2@physics.uc.edu>
Andrew Pinski <pinskia@physics.uc.edu> writes:
> Here is the patch to add saveFP/restFP and other asm functions which
> Apple's libgcc exports (saveVEC/restVEC/saveVEC_vr11/restVEC_vr10
> [the save/restore functions for altivec] and
> save_world/rest_world/eh_rest_world_r10/rest_world_eh_r7r8
> [functions which is used for exception-handling]). They are all
> private_extern functions (aka hidden).
Looks good in principle, but two questions:
1) Is private_extern really appropriate for routines that will go into
libgcc_s.so? (There is a LIB2FUNCS_STATIC_EXTRA variable to use
if the routines should go only into libgcc.a.)
2) Are the .private_extern directive and -force_cpusubtype_ALL command
line option accepted by all Darwin assemblers? (Note I have no
idea if there is more than one assembler for Darwin.)
Also, a meta-note: please use Content-Type text/plain and text/x-patch
for attached source files and patches (respectively), not
application/octet-stream. And it is easier for someone who needs to
dig a patch out of the mailing list archives, years after the fact, if
you include new files in the patch (use 'cvs add' and 'cvs diff -N' --
you can safely do 'cvs add' for files [not directories] before a patch
is approved).
zw