This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Assorted PA32 HPUX fixes
- To: gcc-patches at gcc dot gnu dot org
- Subject: Assorted PA32 HPUX fixes
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 19 Apr 2001 18:13:16 -0700
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