Patches for egcs-971016 on AIX

Andrey Slepuhin pooh@msu.ru
Thu Oct 23 05:23:00 GMT 1997


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: aix_patches.diff.gz
Type: application/x-gzip
Size: 1475 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/19971023/d8f41d17/attachment.bin>


More information about the Gcc mailing list