bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/286] New: Gas doesn't handle branch hint prefix generated by gc


From: hjl at lucon dot org
Subject: [Bug gas/286] New: Gas doesn't handle branch hint prefix generated by gcc right
Date: 23 Jul 2004 18:47:22 -0000

Gcc generates "ds ; " and "cs ; " as branch hints. But gas doesn't handle them
right:

address@hidden bh]$ for f in 1 2 3 4
> do
> cat $f.s
> gcc -c $f.s
> objdump -dr $f.o
> done
        ds ; je .+2
 
1.o:     file format elf32-i386
 
Disassembly of section .text:
 
00000000 <.text>:
   0:   3e 74 00                je,pt  0x3
        ds/je .+2
 
2.o:     file format elf32-i386
 
Disassembly of section .text:
 
00000000 <.text>:
   0:   3e 74 ff                je,pt  0x2
        ds /je .+2
 
3.o:     file format elf32-i386
 
Disassembly of section .text:
 
00000000 <.text>:
   0:   3e 74 ff                je,pt  0x2
        ds / je .+2
4.s: Assembler messages:
4.s:1: Error: expecting mnemonic; got nothing
objdump: '4.o': No such file

-- 
           Summary: Gas doesn't handle branch hint prefix generated by gcc
                    right
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: hjl at lucon dot org
                CC: bug-binutils at gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://sources.redhat.com/bugzilla/show_bug.cgi?id=286

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

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