This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.


[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: 1.1.2pre3 weak frame stuff



> 
> Built 1.1.2pre3 on i686-pc-linux-gnu OK.  Just one question.  In the
> past, the register_frame symbol stuff has been a real annoyance
> (in some versions it's in libm, in some it's not) - that is a source
> of binary incompatibility.  So I wanted to verify that the
> register_frame symbols in 1.1.2pre3 were indeed weak.  I couldn't find 
> any such weak symbols in any libs I looked at. 
> 
> On i686-pc-linux-gnu I should see that the register_frame related
> symbols are weak, right?  And what libs should I look at?
> 

# objdump --dynamic-sym /usr/bin/gcc | grep frame
08048bbc  w   DF *UND*  000000a4  GLIBC_2.0   __deregister_frame_info
08048a8c  w   DF *UND*  00000075  GLIBC_2.0   __register_frame_info

BTW, you may need binutils 2.9.1.0.22b to get the weak symbol right.

-- 
H.J. Lu (hjl@gnu.org)