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: Andrey Slepuhin <pooh at msu dot ru>
- Subject: Re: Patches for egcs-971016 on AIX
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Tue, 21 Oct 97 11:16:29 -0400
- Cc: egcs at cygnus dot com
>>>>> 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