This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: possible gas bug


Thanks for the info Dan.

D.J. Barrow
Linux Kernel Developer
dj@de.ibm.com,barrow_dj@yahoo.com
Phone:0049-7031-16-2943


                                                                                                           
                      Daniel Jacobowitz                                                                    
                      <drow@mvista.com>        To:       Denis J Barrow/Germany/Contr/IBM@IBMDE            
                                               cc:       binutils@sources.redhat.com                       
                      10/20/03 09:21 PM        Subject:  Re: possible gas bug                              
                                                                                                           
                                                                                                           
                                                                                                           



On Fri, Oct 17, 2003 at 03:25:42PM +0200, Denis J Barrow wrote:
> I am trying to make 2 versions of a symbol point to a routine however gas
> complains about this
> with a error multiple versions error IMHO this is not a bug in my code.
>
> Ultimately I am trying to version __setjmp & setjmp which point to the
same
> code in glibc
>
> To reproduce a simple version of the problem use the code enclosed & type
> mk.

I believe this is expected.  Look at the way more of glibc does it:

  function __setjmp
  strong alias of setjmp to __setjmp
  version of __setjmp
  version of setjmp

--
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]