Re: Generate annotations for a binary translator

2011-06-02 Thread 陳韋任
Hi, all

  Currently, I am trying to dump basic block live-ins/outs information
as my first step. In order to let a binary translator (i.e. QEMU) to
use such information, I need to associate each basic block with its
corresponding binary address.

  I tried to use `-Wa,--keep-locals` option, but I don't know if this
is the correct way to do so. 

  Any idea? Thanks.

Regards,
chenwj

-- 
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667


Snapshot tarballs for 4.7-20110528

2011-06-02 Thread bd satish
Hi,

All these days there used to be different tarballs like
gcc-core-*.tar.bz2, gcc-fortran-*.tar.bz2, etc. in the snapshot
directory ftp://gcc.gnu.org/pub/gcc/snapshots/LATEST-4.7. But now I
see only one combined tarball (starting with 4.7-20110528). I liked
separate tarballs on a per-language basis (g++, fortran, etc.). Could
somebody point me to the reasons for this change ? I couldn't find any
announcement regarding this change either.

Thanks & Regards,
-- Satish.BD


gcc-4.5-20110602 is now available

2011-06-02 Thread gccadmin
Snapshot gcc-4.5-20110602 is now available on
  ftp://gcc.gnu.org/pub/gcc/snapshots/4.5-20110602/
and on various mirrors, see http://gcc.gnu.org/mirrors.html for details.

This snapshot has been generated from the GCC 4.5 SVN branch
with the following options: svn://gcc.gnu.org/svn/gcc/branches/gcc-4_5-branch 
revision 174586

You'll find:

 gcc-4.5-20110602.tar.bz2 Complete GCC

  MD5=6c6e9fd8fc2ff35a38bbd315f0446f58
  SHA1=de19c06852e8eeae2e59f99e242ee7fa5887383b

Diffs from 4.5-20110526 are available in the diffs/ subdirectory.

When a particular snapshot is ready for public consumption the LATEST-4.5
link is updated and a message is sent to the gcc list.  Please do not use
a snapshot before it has been announced that way.


how to get libquadmath source

2011-06-02 Thread Syed Bilal Mehdi

Hello,

I am not sure where to put this message, but can anyone tell me where I can
find source for libquadmath. Furthermore, is it possible to build it using
old version of gcc (gcc4.1 to be precise)?

Thanks in advance
-- 
View this message in context: 
http://old.nabble.com/how-to-get-libquadmath-source-tp31762647p31762647.html
Sent from the gcc - Dev mailing list archive at Nabble.com.



Re: Snapshot tarballs for 4.7-20110528

2011-06-02 Thread Allan McRae

On 02/06/11 23:51, bd satish wrote:

Hi,

All these days there used to be different tarballs like
gcc-core-*.tar.bz2, gcc-fortran-*.tar.bz2, etc. in the snapshot
directory ftp://gcc.gnu.org/pub/gcc/snapshots/LATEST-4.7. But now I
see only one combined tarball (starting with 4.7-20110528). I liked
separate tarballs on a per-language basis (g++, fortran, etc.). Could
somebody point me to the reasons for this change ? I couldn't find any
announcement regarding this change either.



I noticed that this has also happened with gcc-4.5-20110602.  Is this 
due to some failure or is this change deliberate?


Allan


Re: how to get libquadmath source

2011-06-02 Thread Ian Lance Taylor
Syed Bilal Mehdi  writes:

> I am not sure where to put this message, but can anyone tell me where I can
> find source for libquadmath.

It's in the libquadmath directory in the gcc sources.  If you don't know
what that means, then, for future reference, this message should have
been sent to gcc-h...@gcc.gnu.org, not gcc@gcc.gnu.org.  The
gcc@gcc.gnu.org mailing list is for gcc developers.  Thanks.  You can
find libquadmath in the gcc 4.6.0 release; see http://gcc.gnu.org/ for
how to download that.

> Furthermore, is it possible to build it using
> old version of gcc (gcc4.1 to be precise)?

libquadmath requires support for the float128 type, and gcc 4.1 did not
support that type.  So, no.

Ian


Re: Snapshot tarballs for 4.7-20110528

2011-06-02 Thread Allan McRae

On 03/06/11 15:39, Allan McRae wrote:

On 02/06/11 23:51, bd satish wrote:

Hi,

All these days there used to be different tarballs like
gcc-core-*.tar.bz2, gcc-fortran-*.tar.bz2, etc. in the snapshot
directory ftp://gcc.gnu.org/pub/gcc/snapshots/LATEST-4.7. But now I
see only one combined tarball (starting with 4.7-20110528). I liked
separate tarballs on a per-language basis (g++, fortran, etc.). Could
somebody point me to the reasons for this change ? I couldn't find any
announcement regarding this change either.



I noticed that this has also happened with gcc-4.5-20110602. Is this due
to some failure or is this change deliberate?



To clarify further:

gcc-4.7-20110521 generated all the separate tarballs per language
gcc-4.3-20110522 (and all snapshots thereafter) only generated a single 
tarball


Allan


[npick...@gmail.com: Re: Generate annotations for a binary translator]

2011-06-02 Thread 陳韋任
Fwd to the list.

-- 
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
--- Begin Message ---
I think you can try to modify the assembler  to extend the assemble
syntax to encoding the info (such as add some extension syntax for
annotation )
and modify ld to relocation the annotation info

2011/6/2 陳韋任 :
> Hi, all
>
>  Currently, I am trying to dump basic block live-ins/outs information
> as my first step. In order to let a binary translator (i.e. QEMU) to
> use such information, I need to associate each basic block with its
> corresponding binary address.
>
>  I tried to use `-Wa,--keep-locals` option, but I don't know if this
> is the correct way to do so.
>
>  Any idea? Thanks.
>
> Regards,
> chenwj
>
> --
> Wei-Ren Chen (陳韋任)
> Computer Systems Lab, Institute of Information Science,
> Academia Sinica, Taiwan (R.O.C.)
> Tel:886-2-2788-3799 #1667
>
--- End Message ---