This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: Q: usage of static symbols in elf/readlib.c ?


Am Freitag, 2. Dezember 2005 12:43 schrieb Andreas Jaeger:
> "Nardmann, Heiko" <heiko.nardmann@secunet.com> writes:
> > I am trying to understand elf/readlib.c but currently are wondering how
> > the symbols 'interpreters' and 'known_libs' are used. They are declared
> > as static and not referenced inside the file. So what is the magic here?
>
> Read until the last line of readlib.c:
>
> /* Get architecture specific version of process_elf_file.  */
> #include "readelflib.c"
>
>
> They are used by the file readelflib.c which is system dependend, the
> generic one is in sysdeps/generic/readelflib.c and use both variables,
>
> Andreas

Thanks, I missed the third file (from generic) in the chain. And this means 
that the commercial tool used for code checking has another problem ...

-- 
Heiko Nardmann (Dipl.-Ing. Technische Informatik)
secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de),
Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13, Fax  : +49 271 48950-50

Attachment: pgp00000.pgp
Description: PGP signature


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