Misaligned .bss section for PE?

Zuxy Meng zuxy.meng@gmail.com
Mon Jun 2 08:29:00 GMT 2008


"Danny Smith" <dansmister@gmail.com> 写å
¥æ¶ˆæ¯æ–°é—»:9c03c2dd0805291425n38aeb9b1le9b202d2feeda0b@mail.gmail.com...
>>> see
>>> http://sourceware.org/bugzilla/show_bug.cgi?id=5226, in particular the
>>> testcase in comment #1
>>>
>>> Note PE COFF does not support aligned common , so you may need to add
>>> __attribute__((no_common)) to variable.
>>>
>>
>>
>> Thanks Danny! I saw that the bug was committed last November and I wonder 
>> if
>> my problematic as (labeling itself as "GNU assembler (GNU Binutils)
>> 2.18.50.20080109") has had the fix?
>>
>
> It should.  Can you provide a testcase where you are getting unexpected 
> results?
>


I only observe the problem when building mplayer under mingw32, which is 
quite a big program that uses SSE a lot, so a misaligned static leads to 
crashes. I'm still trying to figure out a minimal set.
-- 
Zuxy 




More information about the Binutils mailing list