bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/6848] New: Strange assembler error message on .set


From: hjl dot tools at gmail dot com
Subject: [Bug gas/6848] New: Strange assembler error message on .set
Date: 18 Aug 2008 15:59:33 -0000

When ".set" is used to create the same symbol twice, we get

address@hidden tmp]$ cat t.s
        .text
        call bar
        .section .text1,"ax"
        .globl moo
moo:
        ret
        .globl bar
        .set bar,moo
        .text
        call bar
        .section .text1,"ax"
        .globl foo
foo:
         nop
        .globl bar
        .set bar,foo
address@hidden tmp]$ as -o t.o t.s   
as: t.o: symbol `bar' required but not present
t.s: Assembler messages:
t.s:16: Fatal error: can't close t.o: No symbols
address@hidden tmp]$ 

A better error message will be more helpful.

-- 
           Summary: Strange assembler error message on .set
           Product: binutils
           Version: 2.19 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: hjl dot tools at gmail dot com
                CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=6848

------- 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]