Henry Nestler wrote:
* Bug: Cross compile from linux for mingw32 don't init the ctors from
crtend.o! Every 'throw' in a program crashes with a "NULL-Pointer read"
in function __cxa_throw.
[...]
Problem is, that "*crtend.o (.ctors)" in linker script does n
me problem if using this versions:
binutils-2.16.91-20050827-1-src.tar.gz
gcc-g++-3.4.4-20050522-1-src.tar.gz
https://sourceforge.net/tracker/index.php?func=detail&aid=1394022&group_id=2435&atid=102435
Have not seen any replay from bug-tracing, so I repeat this as mail now.
My project d
<
>>> grep preprocessor output >>>
asm volatile("movl %%" "fs" ",%0":"=m" (*(int *)&(p->thread.fs)));
asm volatile("movl %%" "gs" ",%0":"=m" (*(int *)&(p->thread.gs)));
<<< end <<<
>>> grep assembler inputfile >>>
movl %fs,488(%eax)
movl %gs,492(%eax)
<<< end <<<
* If I use "mov %ss,(%ebp)", than the assembler build the right code.
But 'objdump -d' from same binutils version shows the "movl" again:
13: 8c 55 00movl %ss,0x0(%ebp)
--
Henry Nestler
___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils