LWN.net Logo

Advertisement

E-Commerce & credit card processing - the Open Source way!

Advertise here

elf/interp.c

/* interp - add information about dynamic loader to shared library objects.
   Copyright (C) 1996 Free Software Foundation, Inc.
   This file is part of the GNU C Library.

   The GNU C Library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
   License as published by the Free Software Foundation; either
   version 2.1 of the License, or (at your option) any later version.

   The GNU C Library is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Lesser General Public License for more details.

   You should have received a copy of the GNU Lesser General Public
   License along with the GNU C Library; if not, write to the Free
   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
   02111-1307 USA.  */

const char __invoke_dynamic_linker__[] __attribute__ ((section (".interp")))
  = RUNTIME_LINKER;


(Log in to post comments)

elf/interp.c

Posted Jun 1, 2004 23:21 UTC (Tue) by ballombe (subscriber, #9523) [Link]

It is interesting to note that this file use a very GNU CC-specific extension:
__attribute__ ((section (".interp")))
whose use is nevertheless the whole purpose of this file:
put the value of RUNTIME_LINKER in the .interp section of the ELF object.

So this file could not be developed by people using a different compiler.
So much for SCO claims.

Copyright © 2004, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds