Back to index

glibc  2.9
Defines
libc-symbols.h File Reference
#include <config.h>
#include <symbol-hacks.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define _LIBC   1
#define _GNU_SOURCE   1
#define _REENTRANT   1
#define __SYMBOL_PREFIX   "_"
#define C_SYMBOL_NAME(name)   _##name
#define ASM_LINE_SEP   ;
#define strong_alias(name, aliasname)   _strong_alias(name, aliasname)
#define _strong_alias(name, aliasname)   extern __typeof (name) aliasname __attribute__ ((alias (#name)));
#define weak_function   __attribute__ ((weak))
#define weak_const_function   __attribute__ ((weak, __const__))
#define weak_alias(name, aliasname)   strong_alias(name, aliasname)
#define weak_hidden_alias(name, aliasname)   strong_alias(name, aliasname)
#define weak_extern(symbol)   /* Nothing. */
#define internal_function   /* empty */
#define __builtin_expect(expr, val)   (expr)
#define RETURN_ADDRESS(nr)   __builtin_extract_return_addr (__builtin_return_address (nr))
#define link_warning(symbol, msg)
#define libc_freeres_ptr(decl)   decl
#define __libc_freeres_fn_section
#define libc_freeres_fn(name)
#define stub_warning(name)
#define static_link_warning(name)   static_link_warning1(name)
#define static_link_warning1(name)   link_warning(name, "Using '" #name "' in statically linked applications \requires at runtime the shared libraries from the glibc version used \for linking")
#define declare_symbol_alias(symbol, original, type, size)   declare_symbol_alias_1 (symbol, original, type, size)
#define declare_symbol_1(symbol, type, size)   /* Nothing. */
#define text_set_element(set, symbol)   asm (".stabs \"" __SYMBOL_PREFIX #set "\",23,0,0," __SYMBOL_PREFIX #symbol)
#define data_set_element(set, symbol)   asm (".stabs \"" __SYMBOL_PREFIX #set "\",25,0,0," __SYMBOL_PREFIX #symbol)
#define bss_set_element(set, symbol)   ?error Must use initialized data.
#define symbol_set_define(set)   void *const (set)[1];
#define symbol_set_declare(set)   extern void *const (set)[1];
#define symbol_set_first_element(set)   &(set)[1]
#define symbol_set_end_p(set, ptr)   (*(ptr) == 0)
#define symbol_version(real, name, version)
#define default_symbol_version(real, name, version)   strong_alias(real, name)
#define attribute_hidden    _nl_default_default_domain
#define attribute_tls_model_ie
#define attribute_relro   __attribute__ ((section (".data.rel.ro")))
#define INTUSE(name)   name
#define INTDEF(name)
#define INTVARDEF(name)
#define INTDEF2(name, newname)
#define INTVARDEF2(name, newname)
#define hidden_proto(name, attrs...)
#define hidden_weak(name)
#define hidden_def(name)
#define hidden_ver(local, name)
#define hidden_data_weak(name)
#define hidden_data_def(name)
#define hidden_data_ver(local, name)
#define libc_hidden_proto(name, attrs...)   hidden_proto (name, ##attrs)
#define libc_hidden_def(name)   hidden_def (name)
#define libc_hidden_weak(name)   hidden_weak (name)
#define libc_hidden_ver(local, name)   hidden_ver (local, name)
#define libc_hidden_data_def(name)   hidden_data_def (name)
#define libc_hidden_data_weak(name)   hidden_data_weak (name)
#define libc_hidden_data_ver(local, name)   hidden_data_ver (local, name)
#define rtld_hidden_proto(name, attrs...)
#define rtld_hidden_def(name)
#define rtld_hidden_weak(name)
#define rtld_hidden_ver(local, name)
#define rtld_hidden_data_def(name)
#define rtld_hidden_data_weak(name)
#define rtld_hidden_data_ver(local, name)
#define libm_hidden_proto(name, attrs...)
#define libm_hidden_def(name)
#define libm_hidden_weak(name)
#define libm_hidden_ver(local, name)
#define libm_hidden_data_def(name)
#define libm_hidden_data_weak(name)
#define libm_hidden_data_ver(local, name)
#define libresolv_hidden_proto(name, attrs...)
#define libresolv_hidden_def(name)
#define libresolv_hidden_weak(name)
#define libresolv_hidden_ver(local, name)
#define libresolv_hidden_data_def(name)
#define libresolv_hidden_data_weak(name)
#define libresolv_hidden_data_ver(local, name)
#define librt_hidden_proto(name, attrs...)
#define librt_hidden_def(name)
#define librt_hidden_weak(name)
#define librt_hidden_ver(local, name)
#define librt_hidden_data_def(name)
#define librt_hidden_data_weak(name)
#define librt_hidden_data_ver(local, name)
#define libdl_hidden_proto(name, attrs...)
#define libdl_hidden_def(name)
#define libdl_hidden_weak(name)
#define libdl_hidden_ver(local, name)
#define libdl_hidden_data_def(name)
#define libdl_hidden_data_weak(name)
#define libdl_hidden_data_ver(local, name)
#define libnss_files_hidden_proto(name, attrs...)
#define libnss_files_hidden_def(name)
#define libnss_files_hidden_weak(name)
#define libnss_files_hidden_ver(local, name)
#define libnss_files_hidden_data_def(name)
#define libnss_files_hidden_data_weak(name)
#define libnss_files_hidden_data_ver(local, name)
#define libnsl_hidden_proto(name, attrs...)
#define libnsl_hidden_def(name)
#define libnsl_hidden_weak(name)
#define libnsl_hidden_ver(local, name)
#define libnsl_hidden_data_def(name)
#define libnsl_hidden_data_weak(name)
#define libnsl_hidden_data_ver(local, name)
#define libnss_nisplus_hidden_proto(name, attrs...)
#define libnss_nisplus_hidden_def(name)
#define libnss_nisplus_hidden_weak(name)
#define libnss_nisplus_hidden_ver(local, name)
#define libnss_nisplus_hidden_data_def(name)
#define libnss_nisplus_hidden_data_weak(name)
#define libnss_nisplus_hidden_data_ver(local, name)
#define libc_hidden_builtin_proto(name, attrs...)
#define libc_hidden_builtin_def(name)
#define libc_hidden_builtin_weak(name)
#define libc_hidden_builtin_ver(local, name)
#define libutil_hidden_proto(name, attrs...)
#define libutil_hidden_def(name)
#define libutil_hidden_weak(name)
#define libutil_hidden_ver(local, name)
#define libutil_hidden_data_def(name)
#define libutil_hidden_data_weak(name)
#define libutil_hidden_data_ver(local, name)
#define attribute_compat_text_section   __attribute__ ((section (".text.compat")))
#define attribute_compat_data_section   __attribute__ ((section (".data.compat")))

Define Documentation

#define __builtin_expect (   expr,
  val 
)    (expr)

Definition at line 221 of file libc-symbols.h.

Definition at line 273 of file libc-symbols.h.

#define __SYMBOL_PREFIX   "_"

Definition at line 68 of file libc-symbols.h.

#define _GNU_SOURCE   1

Definition at line 51 of file libc-symbols.h.

#define _LIBC   1

Definition at line 48 of file libc-symbols.h.

#define _REENTRANT   1

Definition at line 53 of file libc-symbols.h.

#define _strong_alias (   name,
  aliasname 
)    extern __typeof (name) aliasname __attribute__ ((alias (#name)));

Definition at line 101 of file libc-symbols.h.

#define ASM_LINE_SEP   ;

Definition at line 81 of file libc-symbols.h.

#define attribute_compat_data_section   __attribute__ ((section (".data.compat")))

Definition at line 831 of file libc-symbols.h.

#define attribute_compat_text_section   __attribute__ ((section (".text.compat")))

Definition at line 829 of file libc-symbols.h.

int __x86_64_preferred_memory_instruction attribute_hidden    _nl_default_default_domain

Definition at line 460 of file libc-symbols.h.

static int any_debug attribute_relro   __attribute__ ((section (".data.rel.ro")))

Definition at line 469 of file libc-symbols.h.

Definition at line 466 of file libc-symbols.h.

#define bss_set_element (   set,
  symbol 
)    ?error Must use initialized data.

Definition at line 407 of file libc-symbols.h.

#define C_SYMBOL_NAME (   name)    _##name

Definition at line 76 of file libc-symbols.h.

#define data_set_element (   set,
  symbol 
)    asm (".stabs \"" __SYMBOL_PREFIX #set "\",25,0,0," __SYMBOL_PREFIX #symbol)

Definition at line 405 of file libc-symbols.h.

#define declare_symbol_1 (   symbol,
  type,
  size 
)    /* Nothing. */

Definition at line 335 of file libc-symbols.h.

#define declare_symbol_alias (   symbol,
  original,
  type,
  size 
)    declare_symbol_alias_1 (symbol, original, type, size)

Definition at line 303 of file libc-symbols.h.

#define default_symbol_version (   real,
  name,
  version 
)    strong_alias(real, name)

Definition at line 453 of file libc-symbols.h.

#define hidden_data_def (   name)

Definition at line 621 of file libc-symbols.h.

#define hidden_data_ver (   local,
  name 
)

Definition at line 622 of file libc-symbols.h.

#define hidden_data_weak (   name)

Definition at line 620 of file libc-symbols.h.

#define hidden_def (   name)

Definition at line 618 of file libc-symbols.h.

#define hidden_proto (   name,
  attrs... 
)

Definition at line 613 of file libc-symbols.h.

#define hidden_ver (   local,
  name 
)

Definition at line 619 of file libc-symbols.h.

#define hidden_weak (   name)

Definition at line 617 of file libc-symbols.h.

#define INTDEF (   name)

Definition at line 485 of file libc-symbols.h.

#define INTDEF2 (   name,
  newname 
)

Definition at line 487 of file libc-symbols.h.

bool dealloc_tcb internal_function   /* empty */

Definition at line 216 of file libc-symbols.h.

#define INTUSE (   name)    name

Definition at line 484 of file libc-symbols.h.

#define INTVARDEF (   name)

Definition at line 486 of file libc-symbols.h.

#define INTVARDEF2 (   name,
  newname 
)

Definition at line 488 of file libc-symbols.h.

#define libc_freeres_fn (   name)
Value:
static void name (void) __attribute_used__ __libc_freeres_fn_section; \
  text_set_element (__libc_subfreeres, name);                         \
  static void name (void)

Definition at line 275 of file libc-symbols.h.

#define libc_freeres_ptr (   decl)    decl

Definition at line 272 of file libc-symbols.h.

Definition at line 797 of file libc-symbols.h.

#define libc_hidden_builtin_proto (   name,
  attrs... 
)

Definition at line 796 of file libc-symbols.h.

#define libc_hidden_builtin_ver (   local,
  name 
)

Definition at line 799 of file libc-symbols.h.

Definition at line 798 of file libc-symbols.h.

Definition at line 630 of file libc-symbols.h.

#define libc_hidden_data_ver (   local,
  name 
)    hidden_data_ver (local, name)

Definition at line 632 of file libc-symbols.h.

Definition at line 631 of file libc-symbols.h.

#define libc_hidden_def (   name)    hidden_def (name)

Definition at line 627 of file libc-symbols.h.

#define libc_hidden_proto (   name,
  attrs... 
)    hidden_proto (name, ##attrs)

Definition at line 626 of file libc-symbols.h.

#define libc_hidden_ver (   local,
  name 
)    hidden_ver (local, name)

Definition at line 629 of file libc-symbols.h.

#define libc_hidden_weak (   name)    hidden_weak (name)

Definition at line 628 of file libc-symbols.h.

#define libdl_hidden_data_def (   name)

Definition at line 728 of file libc-symbols.h.

#define libdl_hidden_data_ver (   local,
  name 
)

Definition at line 730 of file libc-symbols.h.

Definition at line 729 of file libc-symbols.h.

#define libdl_hidden_def (   name)

Definition at line 725 of file libc-symbols.h.

#define libdl_hidden_proto (   name,
  attrs... 
)

Definition at line 724 of file libc-symbols.h.

#define libdl_hidden_ver (   local,
  name 
)

Definition at line 727 of file libc-symbols.h.

#define libdl_hidden_weak (   name)

Definition at line 726 of file libc-symbols.h.

#define libm_hidden_data_def (   name)

Definition at line 674 of file libc-symbols.h.

#define libm_hidden_data_ver (   local,
  name 
)

Definition at line 676 of file libc-symbols.h.

#define libm_hidden_data_weak (   name)

Definition at line 675 of file libc-symbols.h.

#define libm_hidden_def (   name)

Definition at line 671 of file libc-symbols.h.

#define libm_hidden_proto (   name,
  attrs... 
)

Definition at line 670 of file libc-symbols.h.

#define libm_hidden_ver (   local,
  name 
)

Definition at line 673 of file libc-symbols.h.

#define libm_hidden_weak (   name)

Definition at line 672 of file libc-symbols.h.

Definition at line 764 of file libc-symbols.h.

#define libnsl_hidden_data_ver (   local,
  name 
)

Definition at line 766 of file libc-symbols.h.

Definition at line 765 of file libc-symbols.h.

#define libnsl_hidden_def (   name)

Definition at line 761 of file libc-symbols.h.

#define libnsl_hidden_proto (   name,
  attrs... 
)

Definition at line 760 of file libc-symbols.h.

#define libnsl_hidden_ver (   local,
  name 
)

Definition at line 763 of file libc-symbols.h.

#define libnsl_hidden_weak (   name)

Definition at line 762 of file libc-symbols.h.

Definition at line 746 of file libc-symbols.h.

#define libnss_files_hidden_data_ver (   local,
  name 
)

Definition at line 748 of file libc-symbols.h.

Definition at line 747 of file libc-symbols.h.

Definition at line 743 of file libc-symbols.h.

#define libnss_files_hidden_proto (   name,
  attrs... 
)

Definition at line 742 of file libc-symbols.h.

#define libnss_files_hidden_ver (   local,
  name 
)

Definition at line 745 of file libc-symbols.h.

Definition at line 744 of file libc-symbols.h.

Definition at line 782 of file libc-symbols.h.

Definition at line 784 of file libc-symbols.h.

Definition at line 783 of file libc-symbols.h.

Definition at line 779 of file libc-symbols.h.

#define libnss_nisplus_hidden_proto (   name,
  attrs... 
)

Definition at line 778 of file libc-symbols.h.

#define libnss_nisplus_hidden_ver (   local,
  name 
)

Definition at line 781 of file libc-symbols.h.

Definition at line 780 of file libc-symbols.h.

Definition at line 692 of file libc-symbols.h.

#define libresolv_hidden_data_ver (   local,
  name 
)

Definition at line 694 of file libc-symbols.h.

Definition at line 693 of file libc-symbols.h.

#define libresolv_hidden_def (   name)

Definition at line 689 of file libc-symbols.h.

#define libresolv_hidden_proto (   name,
  attrs... 
)

Definition at line 688 of file libc-symbols.h.

#define libresolv_hidden_ver (   local,
  name 
)

Definition at line 691 of file libc-symbols.h.

#define libresolv_hidden_weak (   name)

Definition at line 690 of file libc-symbols.h.

#define librt_hidden_data_def (   name)

Definition at line 710 of file libc-symbols.h.

#define librt_hidden_data_ver (   local,
  name 
)

Definition at line 712 of file libc-symbols.h.

Definition at line 711 of file libc-symbols.h.

#define librt_hidden_def (   name)

Definition at line 707 of file libc-symbols.h.

#define librt_hidden_proto (   name,
  attrs... 
)

Definition at line 706 of file libc-symbols.h.

#define librt_hidden_ver (   local,
  name 
)

Definition at line 709 of file libc-symbols.h.

#define librt_hidden_weak (   name)

Definition at line 708 of file libc-symbols.h.

Definition at line 818 of file libc-symbols.h.

#define libutil_hidden_data_ver (   local,
  name 
)

Definition at line 820 of file libc-symbols.h.

Definition at line 819 of file libc-symbols.h.

#define libutil_hidden_def (   name)

Definition at line 815 of file libc-symbols.h.

#define libutil_hidden_proto (   name,
  attrs... 
)

Definition at line 814 of file libc-symbols.h.

#define libutil_hidden_ver (   local,
  name 
)

Definition at line 817 of file libc-symbols.h.

#define libutil_hidden_weak (   name)

Definition at line 816 of file libc-symbols.h.

#define link_warning (   symbol,
  msg 
)
Value:
asm (".stabs \"" msg "\",30,0,0,0\n\t"    \
          ".stabs \"" __SYMBOL_PREFIX #symbol "\",1,0,0,0\n");

Definition at line 268 of file libc-symbols.h.

#define RETURN_ADDRESS (   nr)    __builtin_extract_return_addr (__builtin_return_address (nr))

Definition at line 225 of file libc-symbols.h.

#define rtld_hidden_data_def (   name)

Definition at line 656 of file libc-symbols.h.

#define rtld_hidden_data_ver (   local,
  name 
)

Definition at line 658 of file libc-symbols.h.

#define rtld_hidden_data_weak (   name)

Definition at line 657 of file libc-symbols.h.

#define rtld_hidden_def (   name)

Definition at line 653 of file libc-symbols.h.

#define rtld_hidden_proto (   name,
  attrs... 
)

Definition at line 652 of file libc-symbols.h.

#define rtld_hidden_ver (   local,
  name 
)

Definition at line 655 of file libc-symbols.h.

#define rtld_hidden_weak (   name)

Definition at line 654 of file libc-symbols.h.

Definition at line 290 of file libc-symbols.h.

#define static_link_warning1 (   name)    link_warning(name, "Using '" #name "' in statically linked applications \requires at runtime the shared libraries from the glibc version used \for linking")

Definition at line 291 of file libc-symbols.h.

#define strong_alias (   name,
  aliasname 
)    _strong_alias(name, aliasname)

Definition at line 100 of file libc-symbols.h.

#define stub_warning (   name)
Value:
__make_section_unallocated (".gnu.glibc-stub." #name) \
  link_warning (name, \
              "warning: " #name " is not implemented and will always fail")

Definition at line 281 of file libc-symbols.h.

#define symbol_set_declare (   set)    extern void *const (set)[1];

Definition at line 410 of file libc-symbols.h.

#define symbol_set_define (   set)    void *const (set)[1];

Definition at line 409 of file libc-symbols.h.

#define symbol_set_end_p (   set,
  ptr 
)    (*(ptr) == 0)

Definition at line 413 of file libc-symbols.h.

#define symbol_set_first_element (   set)    &(set)[1]

Definition at line 412 of file libc-symbols.h.

#define symbol_version (   real,
  name,
  version 
)

Definition at line 452 of file libc-symbols.h.

#define text_set_element (   set,
  symbol 
)    asm (".stabs \"" __SYMBOL_PREFIX #set "\",23,0,0," __SYMBOL_PREFIX #symbol)

Definition at line 403 of file libc-symbols.h.

#define weak_alias (   name,
  aliasname 
)    strong_alias(name, aliasname)

Definition at line 130 of file libc-symbols.h.

#define weak_const_function   __attribute__ ((weak, __const__))

Definition at line 107 of file libc-symbols.h.

#define weak_extern (   symbol)    /* Nothing. */

Definition at line 132 of file libc-symbols.h.

#define weak_function   __attribute__ ((weak))

Definition at line 106 of file libc-symbols.h.

#define weak_hidden_alias (   name,
  aliasname 
)    strong_alias(name, aliasname)

Definition at line 131 of file libc-symbols.h.