This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrap/10805: [sun-solaris2.7] relocation error when creating sparcv9/libgcc_s.so.1
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: ebotcazou at gcc dot gnu dot org
- Cc: gcc-bugs at gcc dot gnu dot org,nobody at gcc dot gnu dot org,gcc-gnats at gcc dot gnu dot org
- Date: Sat, 17 May 2003 00:28:08 +0200
- Subject: Re: bootstrap/10805: [sun-solaris2.7] relocation error when creating sparcv9/libgcc_s.so.1
- References: <20030516100800.9539.qmail@sources.redhat.com>
[Steven, still the same problem. Please post to gcc-bugs]
Steven M. Christensen wrote:
> The dump -r that you want is
>
> [669] sparcv9> dump -r _muldi3.o
>
> _muldi3.o:
>
> **** RELOCATION INFORMATION ****
>
> .rela.debug_info:
> Offset Symndx Type Addend
>
> 0x6 3 23 0
> 0xc 9 3 0
> 0x10 6 32 152
> 0x18 6 32 0
> 0x3f1 2 23 12
> 0x48f 2 23 12
> 0x1232 2 23 0
> 0x1240 2 3 30
> 0x1378 2 3 0
> 0x1386 2 23 30
> 0x1641 2 23 39
> 0x1657 2 23 39
> 0x1732 6 54 0
> 0x173a 6 54 152
> 0x1789 6 54 28
> 0x1791 6 54 120
> 0x17aa 6 54 28
> 0x17b2 6 54 120
>
> .rela.debug_line:
> Offset Symndx Type Addend
>
> 0x143 6 54 0
> 0x152 6 54 8
> 0x15e 6 54 12
> 0x16a 6 54 16
> 0x176 6 54 28
> 0x182 6 54 116
> 0x18e 6 54 128
> 0x19a 6 54 132
> 0x1a6 6 54 136
> 0x1b2 6 54 140
> 0x1be 6 54 144
> 0x1ca 6 54 152
>
> .rela.debug_frame:
> Offset Symndx Type Addend
>
> 0x1c 7 3 0
> 0x20 6 32 0
>
> .rela.debug_pubnames:
> Offset Symndx Type Addend
>
> 0x6 4 23 0
>
> .rela.debug_aranges:
> Offset Symndx Type Addend
>
> 0x6 4 23 0
> 0x10 6 32 0
>
>
> Hope this helps.
I think some relocation types are wrong: they shoud accept unaligned offsets.
Could you determine the version of the Sun assembler?
--
Eric Botcazou