public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "ktietz at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug libgcj/51500] [4.7 regression] 106 unexpected libjava testsuite failures with mingw32 Date: Mon, 30 Jan 2012 22:21:00 -0000 [thread overview] Message-ID: <bug-51500-8172-RdWPpo0lPZ@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-51500-8172@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51500 --- Comment #15 from Kai Tietz <ktietz at gcc dot gnu.org> 2012-01-30 22:21:16 UTC --- So this should be better then: #define FFI_INIT_TRAMPOLINE_THISCALL(TRAMP,FUN,CTX,SIZE) \ { unsigned char *__tramp = (unsigned char*)(TRAMP); \ unsigned int __fun = (unsigned int)(FUN); \ unsigned int __ctx = (unsigned int)(CTX); \ unsigned int __dis = __fun - (__ctx + 22); \ *(unsigned int *) &__tramp[0] = 0x8924048b; /* mov (%esp), %eax */ \ *(unsigned int *) &__tramp[4] = 0xec83240c; /* mov %ecx, (%esp) */ \ *(unsigned int *) &__tramp[8] = 0x24048904; /* sub $4,(%esp) */ \ /* mov %eax, (%esp) */ \ *(unsigned char*) &__tramp[12] = 0xb8; \ *(unsigned int*) &__tramp[13] = __ctx; /* movl __ctx, %eax */ \ *(unsigned char *) &__tramp[17] = 0xe8; \ *(unsigned int*) &__tramp[18] = __dis; /* call __fun */ \ *(unsigned int*) &__tramp[22] = 0x83240c8b; /* mov (%esp), %ecx */ \ *(unsigned int*) &__tramp[26] = 0x0c8904c4; /* add $4, %esp */ \ *(unsigned char*) &__tramp[30] = 0x24; /* mov %ecx, (%esp) */ \ *(unsigned short*) &__tramp[31] = 0xc3; /* ret */ \ }
next prev parent reply other threads:[~2012-01-30 22:21 UTC|newest] Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-12-10 18:43 [Bug libgcj/51500] New: " jojelino at gmail dot com 2011-12-10 18:59 ` [Bug libgcj/51500] " jojelino at gmail dot com 2011-12-12 10:09 ` rguenth at gcc dot gnu.org 2011-12-12 14:46 ` jojelino at gmail dot com 2011-12-12 14:49 ` jojelino at gmail dot com 2011-12-17 21:56 ` ktietz at gcc dot gnu.org 2011-12-18 22:02 ` jojelino at gmail dot com 2012-01-18 13:37 ` jojelino at gmail dot com 2012-01-30 7:29 ` ktietz at gcc dot gnu.org 2012-01-30 15:11 ` jojelino at gmail dot com 2012-01-30 16:39 ` ubizjak at gmail dot com 2012-01-30 19:20 ` ktietz at gcc dot gnu.org 2012-01-30 19:59 ` ubizjak at gmail dot com 2012-01-30 22:21 ` ktietz at gcc dot gnu.org [this message] 2012-01-30 23:05 ` ubizjak at gmail dot com 2012-01-31 9:47 ` ktietz70 at googlemail dot com 2012-02-01 5:21 ` jojelino at gmail dot com 2012-02-01 10:46 ` ktietz at gcc dot gnu.org 2012-02-05 2:11 ` jojelino at gmail dot com 2012-02-05 2:44 ` jojelino at gmail dot com 2012-02-13 15:20 ` ktietz at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-51500-8172-RdWPpo0lPZ@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=java-prs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).