This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Patches for egcs-971016 on AIX
- To: Mike Stump <mrs at wrs dot com>
- Subject: Re: Patches for egcs-971016 on AIX
- From: Andrey Slepuhin <pooh at msu dot ru>
- Date: Thu, 23 Oct 1997 16:22:25 +0400
- CC: dje at watson dot ibm dot com, egcs at cygnus dot com
- Organization: Moscow State University, Network Management Department
- References: <199710230106.SAA19814@kankakee.wrs.com>
Hi,
I just checked a new version of my patch which doesn't depend on
external
script (attached). Please, discard the previous patch and look at this
one.
I don't check for duplicated symbols until the situation will be clear
for me.
With a new patch passing export file to linker explicitly will disable
automatic exports generation (except global ctrs/dtrs). It would be good
if we can combine code for checking for ctrs/dtrs and checking for
globals.
It seems that GCC_OK_SYMBOL macro already handles all global symbols,
but unfortunately undefined too. I'm not sure that my method for defined
globals checking (if symbol.n_sclass==2 && symbol.n_scnum>0) is not
specific
for AIX 4.*. Please, check this carefully (or may be you suggest how to
extend
GCC_OK_SYMBOL macro; it seems that ctrs/dtrs checking may omit undefined
symbols
too). Please also look at the comment about invoking do_tlink function.
It seems
like a little bug (fortunately without bad effects).
Regards,
Andrey.
aix_patches.diff.gz