Misaligned .bss section for PE?
Kai Tietz
ktietz70@googlemail.com
Thu May 22 09:50:00 GMT 2008
More information about the Binutils mailing list
Thu May 22 09:50:00 GMT 2008
- Previous message (by thread): Misaligned .bss section for PE?
- Next message (by thread): Misaligned .bss section for PE?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Zuxy, 2008/5/22 Zuxy Meng <zuxy.meng@gmail.com>: > Hi there, > > Recently I met a crash on MinGW32 caused by misaligned access of SSE > instructions. The root cause was that a static var wasn't aligned to a > 16-byte boundary. However, in gcc source this var had already been marked > with "__attribute__((aligned(16)))". > > I then checked the output of "gcc -S" and it turned out that with PE you > couldn't specify a symbol's alignment. Rather, the alignment was ensured by > explicit padding. But gcc seemed to do it right, at least within a > compilation unit. Unfortunately, after hundreds of objects got linked > together, some symbols' alignment was broken. > > I'm just wondering if I should report it as a GCC bug or a binutils one. Any > help? Thanks! > > -- > Zuxy > > This seems to be a spec file problem. If you file a bug report for this, just tell me the bugzilla number. I will take care about this. Cheers, Kai -- | (\_/) This is Bunny. Copy and paste | (='.'=) Bunny into your signature to help | (")_(") him gain world domination
- Previous message (by thread): Misaligned .bss section for PE?
- Next message (by thread): Misaligned .bss section for PE?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list