Re: [PATCH][TRIVIAL] Remove bogus "value 0x37ffffff truncated to0x37ffffff" warning.

From: Martin Schlemmer
Date: Sun Jan 11 2004 - 16:28:19 EST


On Sun, 2004-01-11 at 22:47, Davide Libenzi wrote:
> On Sun, 11 Jan 2004, Martin Schlemmer wrote:
>
> > On Sun, 2004-01-11 at 20:42, Davide Libenzi wrote:
> > > On Sun, 11 Jan 2004, Martin Schlemmer wrote:
> > >
> > > > azarah@nosferatu tar $ as << EOF
> > > > > PG=0xC0000000
> > > > > VM=(128 << 20)
> > > > > .long (-PG -VM)
> > > > > .long (~PG + 1 - VM)
> > > > > EOF
> > > > {standard input}: Assembler messages:
> > > > {standard input}:3: Warning: value 0x38000000 truncated to 0x38000000
> > > > {standard input}:4: Warning: value 0x38000000 truncated to 0x38000000
> > > > azarah@nosferatu tar $ objdump -D a.out
> > > >
> > > > a.out: file format elf32-i386
> > > >
> > > > Disassembly of section .text:
> > > >
> > > > 00000000 <.text>:
> > > > 0: 00 00 add %al,(%eax)
> > > > 2: 00 38 add %bh,(%eax)
> > > > 4: 00 00 add %al,(%eax)
> > > > 6: 00 38 add %bh,(%eax)
> > > > azarah@nosferatu tar $
> > >
> > > This is weird. I also verified the above with:
> > >
> > > GNU assembler 2.13.90.0.18 20030206
> > >
> > > and it works fine too.
> > >
> >
> > What distro? Might be an in-house patch ...
>
> The 2.13.90.0.18 is std RH9, while 2.14 is self built.
> Tested also with FC1:
>
> GNU assembler 2.14.90.0.6 20030820
>
> that is fine too.
>

Hmm. Ok, ours is compiled with --enable-64-bit-bfd ...
might do this? Bit late now, but I'll try to test
tomorrow ...


--
Martin Schlemmer

Attachment: signature.asc
Description: This is a digitally signed message part