Re: The Extension to ELF

2012-08-07 Thread Ian Lance Taylor
On Tue, Aug 7, 2012 at 10:38 PM, Fumiaki Isoya wrote: >> I suspect we should make decision of solving all symbols by the >> calculation. That is, all symbols should be solved by the >> calculation of the information that stored in Reverse Polish which >> consists of constants, other symbols, and

Re: libgfortran.so and libgfortra.a statically link program

2012-08-07 Thread Ian Lance Taylor
On Tue, Aug 7, 2012 at 7:49 PM, benzhi cao wrote: > Hi, > recently I use the gcc 4.4 to compile fortran programs.and then > I use ld to link these programs . Please never send messages to both gcc@gcc.gnu.org and gcc-h...@gcc.gnu.org. This message is appropriate for gcc-help; it is not app

The Extension to ELF

2012-08-07 Thread Fumiaki Isoya
I'd just sent mail to r...@gnu.org and he replied. > I know nothing abnout ELF format, and I have not worked on GCC since > 1991. Thus, I simply am not in a position to judge the merits of your > suggestion. How about writing to g...@gnu.org, which is the discussion > list for GCC? My original

libgfortran.so and libgfortra.a statically link program

2012-08-07 Thread benzhi cao
Hi, recently I use the gcc 4.4 to compile fortran programs.and then I use ld to link these programs .But the ELF I get is a dynamic link file.However I want to link these files statically for the reason that I want the VirtAdd of LOAD to be determined in an ELF,so I use the -Bstatic -lgfortra

POINTER_PLUS_EXPR Vs. PLUS_EXPR

2012-08-07 Thread a b
I hit a problem about the 2 operands of a addr-plus instruction. My instruction is special because it is not commutative and requries address be the 2nd operand and the offset in the 3rd one. But my port generates PLUS_EXPR instead of POINTER_PLUS_EXPR and finally mistakenly switches the order

Re: at exit alternative for AIX

2012-08-07 Thread Ian Lance Taylor
On Tue, Aug 7, 2012 at 1:36 PM, Jonathan Wakely wrote: > > The __cxa_guard stuff is part of the Itanium C++ ABI, see > http://refspecs.linuxfoundation.org/cxxabi-1.83.html#once-ctor (or a > slightly newer version at http://www.swag.uwaterloo.ca/asx/ABI.html) > > Neither of those is the official ve

Re: at exit alternative for AIX

2012-08-07 Thread Jonathan Wakely
On 07/08/2012, Perry Smith wrote: > > Is there any documentation about cxa_gaurd and its associated routines? I > think I gather what all it is doing, etc but a general description would > help. The __cxa_guard stuff is part of the Itanium C++ ABI, see http://refspecs.linuxfoundation.org/cxxabi-1

The Linux binutils 2.23.51.0.1 is released

2012-08-07 Thread H.J. Lu
This is the beta release of binutils 2.23.51.0.1 for Linux, which is based on binutils 2012 0806 in CVS on sourceware.org plus various changes. It is purely for Linux. All relevant patches in patches have been applied to the source tree. You can take a look at patches/README to see what have been

Re: at exit alternative for AIX

2012-08-07 Thread Perry Smith
On Aug 7, 2012, at 10:52 AM, Ian Lance Taylor wrote: > On Tue, Aug 7, 2012 at 5:43 AM, Perry Smith wrote: >> >> Not sure why this thread died. I've been looking at the code trying to gain >> the courage to try and implement the changes I suggested but was >> also waiting to hear back from othe

Re: at exit alternative for AIX

2012-08-07 Thread Ian Lance Taylor
On Tue, Aug 7, 2012 at 5:43 AM, Perry Smith wrote: > > Not sure why this thread died. I've been looking at the code trying to gain > the courage to try and implement the changes I suggested but was > also waiting to hear back from others. Sorry, I'm not sure what you are waiting to hear. Sounds

Re: pr45605.C devirtualize call failure in ia64-hp-hpux?

2012-08-07 Thread Martin Jambor
Hi, On Tue, Aug 07, 2012 at 03:14:21PM +0200, Richard Guenther wrote: > On Mon, Aug 6, 2012 at 8:21 PM, Martin Jambor wrote: > > I've had this flagged to look at "later" for quite long now... > > > > On Mon, Apr 30, 2012 at 07:34:24AM +, Mailaripillai, Kannan Jeganathan > > wrote: > >> Hi,

Re: Merging the cxx-conversion branch into trunk

2012-08-07 Thread Diego Novillo
On 12-08-03 03:55 , Richard Guenther wrote: I am currently debugging this change. After I fix the remaining PCH failures, I will send the patch for review. Please make sure to send a patch doing 4. for review separate of the cxx-branch merging. That's the patch I was referring to, yes. Mic

Re: pr45605.C devirtualize call failure in ia64-hp-hpux?

2012-08-07 Thread Richard Guenther
On Mon, Aug 6, 2012 at 8:21 PM, Martin Jambor wrote: > Hi, > > I've had this flagged to look at "later" for quite long now... > > On Mon, Apr 30, 2012 at 07:34:24AM +, Mailaripillai, Kannan Jeganathan > wrote: >> Hi, >> >> This is related to pr45605.C test. >> >> Reduced testcase >> >> s

Re: at exit alternative for AIX

2012-08-07 Thread Perry Smith
On Aug 5, 2012, at 3:50 PM, Perry Smith wrote: > > On Aug 5, 2012, at 1:09 PM, David Edelsohn wrote: > >> On Sun, Aug 5, 2012 at 9:56 AM, Perry Smith wrote: >> >>> I was planning on exploring when _GLOBAL__FD was called today. I >>> need to figure out when gcc puts the call to the dtor in _G

Re: Function parameter debug info at -O0

2012-08-07 Thread Richard Guenther
On Tue, Aug 7, 2012 at 4:54 AM, Senthil Kumar Selvaraj wrote: > On Mon, Aug 06, 2012 at 01:40:57PM -0400, Frank Ch. Eigler wrote: >> Senthil Kumar Selvaraj writes: >> >> > [...] >> > The following program, when compiled with -O0 -g3 (x86_64 target, but >> > doesn't seem to matter), shows wrong va

Re: x86_64 unwinder in libgcc_s

2012-08-07 Thread Dmitri Shubin
On 06.08.2012 21:13, Richard Henderson wrote: On 08/06/2012 08:23 AM, Dmitri Shubin wrote: char *cfa = (char *) _Unwind_GetCFA(ctx); printf("cfa = %p\nra = %p\n", cfa, *(void **)(cfa - 8)); Use _Unwind_GetIP here, for one. In fact I'm not interested in IP or RA here, I need some conte