Patches for egcs-971016 on AIX
David Edelsohn
dje@watson.ibm.com
Tue Oct 21 08:20:00 GMT 1997
>>>>> Andrey Slepuhin writes:
Andrey> I tested these patches only on AIX 4.2, but they must work for any 4.*
Andrey> version,
Andrey> because I didn't use any AIX 4.2 features. Note, that patch for shared
Andrey> objects
Andrey> is only a workaround, because it would be better to generate export list
Andrey> directly
Andrey> by collect2 (it is already parses object files to export global
Andrey> ctrs/dtrs; sorry,
Andrey> I don't know xcoff format and I can't make appropriate changes myself).
This is a good start, but I would prefer to accept a real fix
instead of an interim kludge. BTW, have you filled out an FSF assignment
form?
collect2 already handles all of the XCOFF issues and extracts
symbols names for you to examine, you only need to understand collect2.
collect2 already is suppose to export "_GLOBAL_" and "GLOBAL_." symbols,
so I am not sure what additional purpose your "make_aix_exp" utility
performs. If collect2 is missing some symbols of that form, collect2
needs to be fixed. If you perform any necessary additional examination
inside collect2, you do not need a second export file which I oppose.
Also, I would like to make any necessary changes to the export
list to support exception handling symbols at the same time.
David
More information about the Gcc
mailing list