public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Steven Bosscher <stevenb.gcc@gmail.com>
To: Eric Botcazou <ebotcazou@adacore.com>
Cc: gcc-patches@gcc.gnu.org, java-patches@gcc.gnu.org,
		Richard Guenther <richard.guenther@gmail.com>
Subject: Re: [patch] Do not call output_constant from the front end
Date: Tue, 27 Mar 2012 21:52:00 -0000	[thread overview]
Message-ID: <CABu31nOk3X1LXeFdq8UEyOvjmWuc3RKRtBtqg4cm7Wq51Ej9nw@mail.gmail.com> (raw)
In-Reply-To: <201203272307.17027.ebotcazou@adacore.com>

On Tue, Mar 27, 2012 at 11:07 PM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>> With this patch a variable named "_Jv_CLS" is written out. The
>> assembly before and after the patch is the same, except for the
>> variable name. I want to write out a nameless variable but I don't
>> know how.
>
> Try tree_output_constant_def.

I didn't know about this function. But as far as I can tell, there is
no way to instruct that function to put the data in a specific
section. In the Java case, the data must be put in the .jcr section. I
suppose that can be achieved with a bit more re-working of varasm, but
not with the code as-is. Thanks for the pointer, though!

Ciao!
Steven

  reply	other threads:[~2012-03-27 21:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-27 20:36 Steven Bosscher
2012-03-27 21:07 ` Eric Botcazou
2012-03-27 21:52   ` Steven Bosscher [this message]
2012-03-27 22:23     ` [patch][rfa] " Steven Bosscher
2012-03-28  7:46       ` Andrew Haley
2012-03-28 10:02       ` Richard Guenther
2012-03-29 21:04         ` Steven Bosscher
2012-04-02 12:24       ` Rainer Orth
2012-04-02 12:29         ` Richard Guenther

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=CABu31nOk3X1LXeFdq8UEyOvjmWuc3RKRtBtqg4cm7Wq51Ej9nw@mail.gmail.com \
    --to=stevenb.gcc@gmail.com \
    --cc=ebotcazou@adacore.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=java-patches@gcc.gnu.org \
    --cc=richard.guenther@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).