This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


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

Re: x86 gas bug (.double)


On 5 Apr 2000, Ulrich Drepper wrote:

> 		.section .rodata
> 	.double 1.0
> 
> This is what you get today.
> 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> $ objdump -s a.out 
> 
> a.out:     file format elf32-i386
> 
> Contents of section .text:
> Contents of section .data:
> Contents of section .rodata:
>  0000 00000000 00000000                    ........        

I can't replicate this.  From CVS of an hour or so ago for gas built with
--host=i586-linux --prefix=/usr --target=i586-linux
--enable-targets=i386-linuxaout,i386-coff,m68k-coff,sparc64-elf

$ gas/gas/as-new bug.s
$ gas/binutils/objdump -s a.out 

a.out:     file format elf32-i386

Contents of section .text:
Contents of section .data:
Contents of section .rodata:
 0000 00000000 0000f03f                    .......?        

-- 
Linuxcare.  Support for the Revolution.


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