From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 485EE2F230 for ; Wed, 8 Nov 2000 13:23:47 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id eA8INl623692 for axp-list@listman.redhat.com; Wed, 8 Nov 2000 13:23:47 -0500 Received: from alpha-gw.alpha-processor.com (alpha-gw.alpha-processor.com [192.233.59.9]) by mail.redhat.com (8.11.0/8.8.7) with SMTP id eA8INkD23686 for ; Wed, 8 Nov 2000 13:23:46 -0500 Received: from barracuda.alpha-processor.com by alpha-gw.alpha-processor.com via smtpd (for mail.redhat.com [199.183.24.239]) with SMTP; 8 Nov 2000 18:24:06 UT Received: by barracuda.api-networks.com with Internet Mail Service (5.5.2650.21) id ; Wed, 8 Nov 2000 13:07:19 -0500 Message-ID: <051DFF3BBA73D3119A5800A0C95BD0219BEA07@barracuda.api-networks.com> From: Rick Gorton To: "'axp-list@redhat.com'" Subject: FW: kernel compilation and -relax flag Date: Wed, 8 Nov 2000 13:07:18 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors [Resend - mailer problems] -----Original Message----- From: Rick Gorton Sent: Wednesday, November 08, 2000 12:56 PM To: 'axp-list@redhat.com' Subject: RE: kernel compilation and -relax flag Where can I find out what the usage of .prologue is supposed to be? The offending test case can be reduced to using my new copy_user.S, and linking with -relax. The new version of the routine doesn't use any new registers, and is issued in the same relative location as in the original. In neither the original, nor in the new, touches r27 or r29, except as: __copy_user: ldgp $29, 0($27) .prologue 1 The code runs correctly when the kernel is not linked with -relax. The only things I could think of about possible causes related to -relax is that the new code: uses ldbu and stb while the original doesn't. Which suggests to me (without knowing more about the implementation details of the exception code) possible problems with: ld -relax misbehaving for ldbu/stb in the presence of exception entries interaction of more exception entries and a .got boundary condition interaction of exception recovery code and ldbu/stb (aka kernel quirk) Regards, Rick Gorton rick.gorton@alpha-processor.com -----Original Message----- From: Richard Henderson [mailto:rth@twiddle.net] Sent: Wednesday, November 08, 2000 12:48 PM To: axp-list@redhat.com Subject: Re: kernel compilation and -relax flag On Wed, Nov 08, 2000 at 02:02:14PM -0000, David Addison wrote: > This was working fine until I merged in the API EV6 2.2.17 assembler patch > and it then broke everything in that init seems to fail to parse command > line options correctly. That means that the new ev6 code is not being careful with the .prologue directives. Those indicate if and how the incoming r27 value is used.