This is the mail archive of the gcc-patches@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]

Assorted PA32 HPUX fixes



Per a discussion with various folks, we need to define CPLUSPLUS_CPP_SPEC
for hpux platforms.  So the patch does that appropriately.

Per my investigations, the nm core dumping bug on PA32 hpux is due to
subspace names > 32 characters in length.  Worse yet I've managed to reconfirm
a bug in the linker I ran into years ago -- if you have subspaces with the
same name in different spaces, then the linker produces a useless executable.
So this patch will clamp section names to 32 characters.  It will avoid
creating names subspaces for data items (they can still each go in a 
unique section, it just has a predictable name).  This patch also avoids
some inconsistencies in section selection in PIC vs non-PIC code.

Finally, this patch informs the generic parts of the compiler that SOM
(the object format used by PA32 hpux) does not support init priorities.

Wheee.  Test results are looking better and better.  Less than 20 unexpected
failures with a static libstdc++-v3 for PA32 hpux.  Then onward to problems
with shared libraries....

jeff


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