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

Re: unwind-dw2.c: 2 new branch build failures overnight.


On Sun, May 20, 2001 at 04:46:18PM -0400, Robert Lipe wrote:
> $ cat r.s
> .long foo@GOT
> .long bar@GOTOFF
> (robertl) rjlhome:/tmp
> $ /udk/usr/ccs/bin/as  r.s
> (robertl) rjlhome:/tmp
> $ objdump --reloc --full-contents a.out
>  
> a.out:     file format elf32-i386
>  
> RELOCATION RECORDS FOR [.eh_frame]:
> OFFSET   TYPE              VALUE
> 00000000 R_386_PC32        .text
>  
> Contents of section .text:
>  0000 c3                                   .
> Contents of section .data:
> Contents of section .eh_frame:
>  0000 00000000                             ....

Err.. This doesn't make any sense at all.  Why would a .eh_frame section
exist for this object file?  Moreoever, two .long should yield 8 bytes,
which none of these sections have.

Are you sure the result was put in a.out and not r.o?


r~


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