This is the mail archive of the binutils@sourceware.cygnus.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]

Re: [Q] Symbol versioning


   From: Bharadwaj Yadavalli <sby@ives.lkg.dec.com>
   Date: Fri, 16 Jun 2000 17:06:38 -0400 (EDT)

   I find a value 32770 in the SHT_GNU_versym associated with the symbol
   fdopen, sys_errlist and several others. There is no index 32770 in the
   version definition array !! Can some kind soul explain me what I am
   missing? 

From include/elf/common.h:

/* This flag appears in a Versym structure.  It means that the symbol
   is hidden, and is only visible with an explicit version number.
   This is a GNU extension.  */

#define VERSYM_HIDDEN		0x8000

/* This is the mask for the rest of the Versym information.  */

#define VERSYM_VERSION		0x7fff

Ian

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