This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patches for egcs-971016 on AIX


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]