bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/648] New: Gas allows symbols equated to common symbols.


From: hjl at lucon dot org
Subject: [Bug gas/648] New: Gas allows symbols equated to common symbols.
Date: 10 Jan 2005 17:20:18 -0000

Gas allows symbol equated to common symbols. But it doesn't work as
expected:

http://sources.redhat.com/ml/libc-hacker/2005-01/msg00015.html

address@hidden gas]$ cat x.s
.globl __libc_errno
        .set    __libc_errno,errno
        .comm   errno,4,4
address@hidden gas]$ ./as-new -o x.o x.s
address@hidden gas]$ nm x.o
00000004 C errno

With this patch,

http://sources.redhat.com/ml/binutils/2004-02/msg00066.html

I got

address@hidden gas]$ gcc -c x.s
x.s: Assembler messages:
x.s:3: Error: `__libc_errno' can't be equated to common symbol

-- 
           Summary: Gas allows symbols equated to common symbols.
           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


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

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