bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/19600] New: Parsing address@hidden forgets the offset


From: louis.granboulan.developer at gmail dot com
Subject: [Bug gas/19600] New: Parsing address@hidden forgets the offset
Date: Wed, 10 Feb 2016 17:49:38 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=19600

            Bug ID: 19600
           Summary: Parsing address@hidden forgets the offset
           Product: binutils
           Version: 2.25
            Status: NEW
          Severity: minor
          Priority: P2
         Component: gas
          Assignee: unassigned at sourceware dot org
          Reporter: louis.granboulan.developer at gmail dot com
  Target Milestone: ---

Input is a.s

        .globl  main
        .text
main:
        movl    $E, %eax
        movl    $E+1, %eax
        movl    address@hidden, %eax
        movl    address@hidden, %eax

Assembled with "as -32 -o a.o a.s"
Analyzed with "objdump -dr a.o"

a.o:     file format elf32-i386
Disassembly of section .text:
00000000 <main>:
   0:   b8 00 00 00 00          mov    $0x0,%eax
                        1: R_386_32     E
   5:   b8 01 00 00 00          mov    $0x1,%eax
                        6: R_386_32     E
   a:   b8 00 00 00 00          mov    $0x0,%eax
                        b: R_386_GOT32  E
   f:   b8 00 00 00 00          mov    $0x0,%eax
                        10: R_386_GOT32 E

The error is the last line, where I would have expected "b8 01 00 00 00"

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]