From: Rajiv KI <rajivkumarsingla@gmx.com>
To: gcc-help@gcc.gnu.org
Subject: Re: How to get the ".file and filename" section in assembly file.
Date: Tue, 02 Feb 2010 11:11:00 -0000 [thread overview]
Message-ID: <27418516.post@talk.nabble.com> (raw)
In-Reply-To: <4B67F898.8000101@redhat.com>
Andrew Haley wrote:
>
> On 02/02/2010 10:01 AM, Prashant Purohit wrote:
>>
>> I am porting GCC to a new dummy architecture and I am successful
>> to
>> get the required assembly file from cc1 but that assembly file does not
>> contain the ".file" section and filename as it was there in all other GCC
>> ported targets.
>>
>> Please, tell me if there is any function or macro to do this as I
>> was not able to find it in GCC Internals.
>
> If I wanted to know that, I'd just use gdb to step through until the
> ".file"
> was emitted. Why don't you do that?
>
> Andrew.
>
>
Hi,
Look into the macros TARGET_ASM_FILE_START,
TARGET_ASM_FILE_START_FILE_DIRECTIVE, TARGET_ASM_FILE_START_APP_OFF.
Rajiv
--
View this message in context: http://old.nabble.com/How-to-get-the-%22.file-and-filename%22-section-in-assembly-file.-tp27417944p27418516.html
Sent from the gcc - Help mailing list archive at Nabble.com.
prev parent reply other threads:[~2010-02-02 10:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-02 10:04 Prashant Purohit
2010-02-02 10:53 ` Andrew Haley
2010-02-02 11:11 ` Rajiv KI [this message]
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=27418516.post@talk.nabble.com \
--to=rajivkumarsingla@gmx.com \
--cc=gcc-help@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: 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).