From: Vijay <vijay@nii.ac.jp>
To: mukti jain <muktijn@gmail.com>
Cc: gcc@gcc.gnu.org
Subject: Re: Enquiry
Date: Wed, 03 Jun 2009 10:33:00 -0000 [thread overview]
Message-ID: <4A265143.6010104@nii.ac.jp> (raw)
In-Reply-To: <dfa53ad0906021050p7aa605f2m4a1b6459b7f1f89e@mail.gmail.com>
Thanks for the response Mukti. I think the options could be:
|-mlong-calls -mno-ep and ||-mno-prolog-function. Could please tell me
how to sepcify these options in makefile? Because I use gmake (in
Cygwin shell)
Thanks,
-Vijay
|
mukti jain wrote:
> Can you experiment with optionmization options and -m850 and -m850e?
> have a look at this too if you are looking for quick fix.
> http://sourceware.org/ml/binutils/2005-08/msg00214.html
>
> Thanks,
> Mukti
>
> On Tue, Jun 2, 2009 at 11:18 PM, mukti jain <muktijn@gmail.com
> <mailto:muktijn@gmail.com>> wrote:
>
>
>
> On Tue, Jun 2, 2009 at 7:22 PM, Vijay Holimath <vijay@nii.ac.jp
> <mailto:vijay@nii.ac.jp>> wrote:
>
> Dear Sir,
>
> I am using gcc compiler for v850e cpu. When I use the
> arrtribute: __attribute__ ((interrupt_handler)) or
> __attribute__ ((interrupt); for interrupt function, say for
> example
>
> void swnmi() __attribute__ ((interrupt_handler));
>
> void swnmi()
> {
> ...
> ..
> }
>
> main()
> {
> ..
> ..
> }
>
> I am getting following error messages when I compile:
>
> main.o (.text+0xea): In function 'swnmi': undefined reference
> to '__ep'
>
> main.o (.text+0xee): In function 'swnmi': undefined reference
> to '__ep'
>
> collect2: Id returned 1 exit status
>
>
> I will be grateful to you if you could help me to get rid of
> these error messages. Probably I have to link some libraries?
>
> No, __ep is a linker variable.
>
> man page says..
> (http://ftp.gnu.org/pub/pub/old-gnu/Manuals/gas-2.9.1/html_chapter/as_24.html)
>
> This can either be set up automatically by the linker, or
> specifically set by using the -defsym __ep=<value> command
> line option].
>
>
>
> Thanks,
> Mukti
>
>
>
> Many thanks,
> -Vijay
>
> --
> Vijay Holimath, Ph.D
> National Institute of Informatics
> 2-1-2 Hitotsubashi Chiyoda-ku Tokyo 101-8430, Japan
> Tel: +81-3-4212-2662 |Fax:+81-3-3556-1916
> Mobile: +81-80-3542-1560
> e-mail: vijay@nii.ac.jp <mailto:vijay@nii.ac.jp>
> http://www.linkedin.com/in/vijayholimath
> Skype name: vijay.holimath
>
>
>
next prev parent reply other threads:[~2009-06-03 10:33 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-02 13:52 Enquiry Vijay Holimath
[not found] ` <dfa53ad0906021048t7e1c1fc7pf019d1229f529592@mail.gmail.com>
[not found] ` <dfa53ad0906021050p7aa605f2m4a1b6459b7f1f89e@mail.gmail.com>
2009-06-03 10:33 ` Vijay [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-01-30 9:47 Enquiry Theodore Papadopoulo
2022-01-30 10:41 ` Enquiry Jakub Jelinek
2022-01-30 10:50 ` Enquiry Jonathan Wakely
2022-01-30 10:58 ` Enquiry Jakub Jelinek
2022-01-30 11:11 ` Enquiry Jonathan Wakely
2022-01-31 9:42 ` Enquiry Jakub Jelinek
2022-01-31 10:25 ` Enquiry Andreas Schwab
2022-01-31 10:33 ` Enquiry Jonathan Wakely
2022-01-31 10:16 ` Enquiry Theodore Papadopoulo
2022-01-31 10:23 ` Enquiry Jonathan Wakely
2022-01-30 11:17 ` Enquiry Jonathan Wakely
2022-01-31 9:26 ` Enquiry Theodore Papadopoulo
2020-09-12 23:44 Enquiry Paul
2009-06-02 13:00 Enquiry Vijay Holimath
2006-09-29 13:00 ENQUIRY Dr.Richard Lovward
2000-09-21 20:26 enquiry Adarsh MP
2000-09-22 2:15 ` enquiry Erik Mouw
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=4A265143.6010104@nii.ac.jp \
--to=vijay@nii.ac.jp \
--cc=gcc@gcc.gnu.org \
--cc=muktijn@gmail.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 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).