From: Cary Coutant <cary@cup.hp.com>
To: "Paul Bame" <bame@endor.fc.hp.com>,
"Grant Grundler" <grundler@cup.hp.com>
Cc: <parisc-linux@thepuffingroup.com>
Subject: Re: [parisc-linux] crti.S Nested procedures error
Date: Wed, 10 May 2000 14:48:39 -0700 [thread overview]
Message-ID: <200005102148.OAA07673@adlmail.cup.hp.com> (raw)
Have you tried this:
> .globl _init
> .EXPORT _init,ENTRY
> .type _init,@function
> _init:
> .PROC
> .CALLINFO FRAME=64,CALLS,SAVE_RP,ENTRY_GR=3
> .ENTRY
> a few assembly statements
.PROCEND
.PROC
.CALLINFO FRAME=64,CALLS,SAVE_RP,ENTRY_GR=3
>
> /***** pre-main() code to be inserted here *******/
>
> a few more assembly statements
> .EXIT
> .PROCEND
While you need to use .proc and .procend in pairs, that's not the case
with .entry and .exit. If the assembler won't take this code, it should.
Besides being useful for this case, it's also necessary to generate code
like this for out-of-line pieces of procedures.
-cary
next reply other threads:[~2000-05-11 3:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-10 21:48 Cary Coutant [this message]
[not found] <200005040040.RAA14682@milano.cup.hp.com>
2000-05-04 0:49 ` [parisc-linux] crti.S Nested procedures error Alan Modra
2000-05-04 0:54 ` Jeffrey A Law
2000-05-04 1:27 ` Alan Modra
2000-05-04 4:45 ` Jeffrey A Law
-- strict thread matches above, loose matches on Subject: below --
2000-05-01 18:41 Grant Grundler
2000-05-03 14:18 ` Sam Creasey
2000-05-03 15:53 ` willy
2000-05-04 0:28 ` Alan Modra
2000-05-10 20:03 ` Paul Bame
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=200005102148.OAA07673@adlmail.cup.hp.com \
--to=cary@cup.hp.com \
--cc=bame@endor.fc.hp.com \
--cc=grundler@cup.hp.com \
--cc=parisc-linux@thepuffingroup.com \
/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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.