------- Comment #67 from dave at hiauly1 dot hia dot nrc dot ca  2008-08-30 
01:19 -------
Subject: Re:  [4.4 Regression]: gcc.dg/weak/weak-1.c

> If the extern references had been "sort -u":ed, they'd had looked like this,
> diff from unpatched to patched for the attachment in comment #61, compiled 
> with
> -O2:
> 
> --- ../../../comboo/hppa2/gcc/hppa2.s   2008-08-29 22:32:02.000000000 +0200
> +++ ./hppa2.s   2008-08-29 22:31:38.000000000 +0200
> @@ -6664,13 +6664,7 @@ L$ASFDE0143:
>         .align 4
>  L$EFDE0143:
>         .word   0x0
> -       .IMPORT _ZNSdD0Ev,CODE
> -       .IMPORT _ZNSdD1Ev,CODE
>         .IMPORT _ZNSdD2Ev,CODE
> -       .IMPORT _ZNSiD0Ev,CODE
> -       .IMPORT _ZNSiD1Ev,CODE
> -       .IMPORT _ZNSoD0Ev,CODE
> -       .IMPORT _ZNSoD1Ev,CODE

If any of these functions is present in the .s, then there's a problem.
The default for a 32-bit HP-UX symbol that isn't imported is DATA.

Dave


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37170

Reply via email to