public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: gcc@microbizz.nl To: gcc-gnats@gcc.gnu.org Subject: other/10900: trampolines crash on apple-powerpc-darwin Date: Wed, 21 May 2003 10:19:00 -0000 [thread overview] Message-ID: <20030521101058.15150.qmail@sources.redhat.com> (raw) >Number: 10900 >Category: other >Synopsis: trampolines crash on apple-powerpc-darwin >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed May 21 10:16:01 UTC 2003 >Closed-Date: >Last-Modified: >Originator: gcc@microbizz.nl >Release: gcc-3.3 >Organization: >Environment: apple-powerpc-darwin 6.4 ppc7400 >Description: trampolines crash on apple-powerpc-darwin (known for a long time, but still not fixed in gcc-3.3) >How-To-Repeat: >Fix: # bug fix for trampolines (Andrew Reynolds) *** gcc/config/rs6000/darwin-tramp.asm.orig Sat Dec 29 09:07:56 2001 --- gcc/config/rs6000/darwin-tramp.asm Mon Feb 10 01:55:39 2003 *************** *** 60,75 **** .globl ___trampoline_setup ___trampoline_setup: ! mflr r0 /* save return address */ ! bcl 20,31,LCF0 /* load up __trampoline_initial into r7 */ ! LCF0: ! mflr r11 ! addi r7,r11,ha16(LTRAMP-LCF0) ! lwz r7,lo16(LTRAMP-LCF0)(r7) ! subi r7,r7,4 ! li r8,trampoline_size /* verify trampoline big enough */ ! cmpw cr1,r8,r4 ! srwi r4,r4,2 /* # words to move */ addi r9,r3,-4 /* adjust pointer for lwzu */ mtctr r4 blt cr1,Labort --- 60,74 ---- .globl ___trampoline_setup ___trampoline_setup: ! mflr r0 /* save return address */ ! bcl 20,31,LCF0 /* load up __trampoline_initial into r7 */ ! LCF0: ! Ltrampoline_address = Ltrampoline_initial-4-. ! mflr r11 ! addi r7,r11,Ltrampoline_address ! li r8,trampoline_size /* verify trampoline big enough */ ! cmpw cr1,r8,r4 ! srwi r4,r4,2 /* # words to move */ addi r9,r3,-4 /* adjust pointer for lwzu */ mtctr r4 blt cr1,Labort *************** *** 124,131 **** #else bl _abort #endif - .data - .align 2 - LTRAMP: - .long Ltrampoline_initial --- 123,126 ---- >Release-Note: >Audit-Trail: >Unformatted:
reply other threads:[~2003-05-21 10:19 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20030521101058.15150.qmail@sources.redhat.com \ --to=gcc@microbizz.nl \ --cc=gcc-gnats@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).