diff options
author | Roland McGrath <roland@gnu.org> | 2005-02-11 00:29:55 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-02-11 00:29:55 +0000 |
commit | 561bcb8086e326e06f295278dcdb13493636c61a (patch) | |
tree | 7140bccf8c9bbb4001d7b4e28a2a07c0376b6c0c /include/libc-symbols.h | |
parent | 5d9e8991825aee911baff84d7aa0623a9df1122c (diff) | |
download | glibc-561bcb8086e326e06f295278dcdb13493636c61a.tar.gz glibc-561bcb8086e326e06f295278dcdb13493636c61a.tar.xz glibc-561bcb8086e326e06f295278dcdb13493636c61a.zip |
[BZ #157] cvs/fedora-glibc-20050211T0853
* include/libc-symbols.h (stub_warning): Emit a marker section called .gnu.glibc-stub.NAME. * Makerules ($(objpfx)stubs): Depend on object files, not dep files. Use objdump to collect those marker section names. ($(common-objpfx)shlib.lds): Discard .gnu.glibc-stub.* sections.
Diffstat (limited to 'include/libc-symbols.h')
-rw-r--r-- | include/libc-symbols.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h index dcc46cc80f..f3526ca053 100644 --- a/include/libc-symbols.h +++ b/include/libc-symbols.h @@ -1,6 +1,6 @@ /* Support macros for making weak and strong aliases for symbols, and for using symbol sets and linker warnings with GNU ld. - Copyright (C) 1995-1998,2000-2003,2004 Free Software Foundation, Inc. + Copyright (C) 1995-1998,2000-2003,2004, 2005 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 @@ -279,6 +279,7 @@ /* A canned warning for sysdeps/stub functions. */ #define stub_warning(name) \ + __make_section_unallocated (".gnu.glibc-stub." #name) \ link_warning (name, \ "warning: " #name " is not implemented and will always fail") |