bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/11612] New underscoring behavior can break -aligncomm directve


From: dougsemler at gmail dot com
Subject: [Bug ld/11612] New underscoring behavior can break -aligncomm directve
Date: 4 Jul 2010 12:37:34 -0000

------- Additional Comments From dougsemler at gmail dot com  2010-07-04 12:37 
-------
I'm reopening this bug:

I believe the patch that fixed this in deffilep.y introduced a shift-reduce
conflict that now fails to align properly any symbol that is listed in the
tokens[] array on or about line 960.  The leading . symbols work.

For example, if you align a variable named data, BASE, etc, a -aligncomm
directive will be emitted in the object:

echo ".comm data 8, 3" | x86_64-w64-mingw32-as - -o test.o && 
x86_64-w64-mingw32-ld -dll test.o -o test.dll
x86_64-w64-mingw32-ld: <unknown-file>:0: syntax error
Warning: .drectve `-aligncomm:data,3' unrecognized

(Note, this was discovered during gcc testsuite)

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


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

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