lkml.org 
[lkml]   [2004]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH][TRIVIAL] Remove bogus "value 0x37ffffff truncated to 0x37ffffff" warning.
    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.




    - Davide


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:00    [W:0.023 / U:30.504 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site