From: Ian Lance Taylor <iant@google.com>
To: "Mohamed Shafi" <shafitvm@gmail.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: Profiling information for powerpc target - GCC 4.1.1
Date: Thu, 24 May 2007 15:18:00 -0000 [thread overview]
Message-ID: <m38xbegu31.fsf@localhost.localdomain> (raw)
In-Reply-To: <ba0bd44d0705240720r790d6407hdeed5cdd85f729f0@mail.gmail.com>
"Mohamed Shafi" <shafitvm@gmail.com> writes:
> I also couldn't find any particular startup file required for profiling.
> Does this mean that profiling is not supported for any powerpc target
> build with newlib?
That appears to be the case. I'm not sure why the file
newlib/libgloss/rs6000/mcount.S was created. It seems to simply
obscure the fact that -pg does not work for powerpc newlib. In my
opinion it would be better to get a link error, making it clear that
you need to provide a version of _mcount appropriate for your system.
> Is there support for profiling for powerpc target with glibc?
Yes.
Ian
next prev parent reply other threads:[~2007-05-24 14:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-24 14:45 Mohamed Shafi
2007-05-24 15:18 ` Ian Lance Taylor [this message]
2007-05-24 16:10 ` Kai Ruottu
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=m38xbegu31.fsf@localhost.localdomain \
--to=iant@google.com \
--cc=gcc-help@gcc.gnu.org \
--cc=shafitvm@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).