[patch i386]: Fix output_emit_asm in output_set_got for x86_64.

Kai Tietz Kai.Tietz@onevision.com
Mon May 5 09:40:00 GMT 2008


Hi,

This patch corrects some possible pointer trunctations on x86_64 in 
output_set_got. Especially for w64, where those address can be above 
32-bit and the stack alignment is forced to be on a 8 byte boundary, it 
can cause execution exceptions.

2008-05-05  Kai Tietz  <kai.tietz@onevision.com>

        * config/i386/i386.c (output_set_got): Fix for x86_64 
output_emit_asm
        by using 'q' specifier for instruction.

Is this patch ok for apply?

  Kai



|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: x86_64_asm_insn.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080505/98a93098/attachment.txt>


More information about the Gcc-patches mailing list