summaryrefslogtreecommitdiff
path: root/include/libc-symbols.h
AgeCommit message (Collapse)Author
2021-08-25Fix warnings due to missing attributes for __EI_ prefixed symbolsYann Sionneau
With new compiler (gcc >= 9 ?) building uClibc-ng now gives this sort of warnings: ./include/libc-symbols.h:426:25: warning: '__EI_localeconv' specifies less restrictive attribute than its target 'localeconv': 'nothrow' [-Wmissing-attributes] 426 | extern __typeof (name) __EI_##name __attribute__((alias (__hidden_asmname1 (,#local)))) | ^~~~~ ./include/libc-symbols.h:429:29: note: in expansion of macro '__hidden_ver1' 429 | # define hidden_def(name) __hidden_ver1(__GI_##name, name, name); | ^~~~~~~~~~~~~ ./include/libc-symbols.h:497:32: note: in expansion of macro 'hidden_def' 497 | # define libc_hidden_def(name) hidden_def (name) | ^~~~~~~~~~ libc/misc/locale/locale.c:306:1: note: in expansion of macro 'libc_hidden_def' 306 | libc_hidden_def(localeconv) | ^~~~~~~~~~~~~~~ In file included from libc/misc/locale/localeconv.c:8: libc/misc/locale/locale.c:261:15: note: '__EI_localeconv' target declared here 261 | struct lconv *localeconv(void) | ^~~~~~~~~~ The fix is mostly being backported/adapted from glibc.
2016-12-02remove libintl stub and libintl.h headerWaldemar Brodkorb
As __UCLIBC_HAS_GETTEXT_AWARENESS__ is never defined, this is mostly dead code. It is planned to integrate libiconv-tiny and gettext-tiny into uClibc-ng after the next release, so that more software packages can be used without modification. Remove any _/_N macro usage.
2016-11-29remove libresolv stubWaldemar Brodkorb
2016-11-27remove libnsl stubWaldemar Brodkorb
2015-12-05remove __UCLIBC_ASM_GLOBAL_DIRECTIVE__Waldemar Brodkorb
.globl can be used for every architecture so remove the define. Sync with GNU C library.
2015-12-05remove __UCLIBC_HAVE_ASM_GLOBAL_DOT_NAME__Waldemar Brodkorb
It's even no longer required for non-ported ppc64 architecture. Sync with GNU C library. This simplify the macros in include/libc-symbols.h.
2015-04-22arm: Add BX and BXC macrosBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-11-18Replace FSF snail mail address with URLsMike Frysinger
This matches a similar change made to glibc. No functional changes here. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-06-15libc-symbols.h: fix weak functions handlingPeter S. Mazinger
Move weak_function and weak_const_function under HAVE_WEAK_SYMBOLS guard and provide fallbacks. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-04-16libc-symbols: add attribute_protectedTimo Teras
Definition to use protected visibility. Signed-off-by: Timo Teras <timo.teras@iki.fi> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2010-04-12Merge remote branch 'origin/master' into nptlAustin Foxley
Conflicts: libc/unistd/confstr.c Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2010-04-12attribute_optimize: fix typo with argsBernhard Reutner-Fischer
curious how 308f5c6e5fd56ea3d1a5512e34388aad788f1180 ever worked.. :P Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2010-02-17Assorted fixed to get nptl compiling on ARMKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2009-09-15setup attribute_optimize which comes with gcc-4.4+Mike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-02-27fix breakage in x86_64 defconfigDenis Vlasenko
2008-12-29- whitespace cleanup; no obj-code changesBernhard Reutner-Fischer
2008-12-13make all "XXXhidden_proto(" consistently not use a space before '('Denis Vlasenko
2008-11-27Make __UCLIBC_HAVE_ASM_CFI_DIRECTIVES__ visible in case the archCarmelo Amoroso
supports this feature. SH4 will use this in some aseembly files for the NPTL implementation. Add now safely on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-11-22libc-symbols: improve comments and make macros a bit more readable.Denis Vlasenko
no code changes
2008-11-19Make sure __hot and __cold are always defined.Peter Kjellerstedt
2008-11-18- add __hot and __cold annotationsBernhard Reutner-Fischer
Will spare us quite some likely()/unlikely() occurances. See http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html for details
2008-10-03- use c89-style commentsBernhard Reutner-Fischer
Closes issue #5194
2008-09-25Add globally __stringify macro in libc-symbols.h.Carmelo Amoroso
Remove all other duplicated definitions. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-01-08change NO_UNDERSCORES to just UNDERSCORES so as to be less confusing when ↵Mike Frysinger
doing double negatives
2007-06-24- make sure to define _LIBC in libc-symbols.h before including anythingBernhard Reutner-Fischer
else. - internal_function is only used inside libc, so do not define it in uClibc_arch_features.h on i386 if we are outside of libc.
2007-01-29- see if defined foo before trying to look at the value of foo (that should ↵Bernhard Reutner-Fischer
be 0 in this case. Avoids some warnings).
2006-09-21use proper #APP lines so that the assembler knows when it needs to handle ↵Mike Frysinger
parsing (see http://sources.redhat.com/ml/binutils/2004-04/msg00665.html)
2006-06-21allow arches to easily override asm-line-sep, move cris over to new style, ↵Mike Frysinger
and have hppa use it now
2006-06-19use internal aliases for static objects as wellMike Frysinger
2006-05-04fix by Bernd Schmidt to support HAVE_ASM_SET_DIRECTIVE in weak_alias() macrosMike Frysinger
2006-05-04merge some more minor changes from glibcMike Frysinger
2006-05-04sync minor changes with glibcMike Frysinger
2006-02-23Corrected a typo (simularly -> similarly).Peter Kjellerstedt
2006-02-23Make use of CFLAGS-OMIT-filePeter S. Mazinger
2006-02-13Add internal hidden_weak support for asmPeter S. Mazinger
2006-02-03disable hidden_proto/def for __BCC__ generallyPeter S. Mazinger
2006-02-01Use -DSTATIC and remove stub_warning, not acceptedPeter S. Mazinger
2006-01-27The VAX gas cannot (yet) cope with the tricks played here, so I'm grounding"Jan-Benedict Glaw"
linktime warnings for now.
2006-01-25hidden_strong_alias gone and won't be added back because it causes troublePeter S. Mazinger
2006-01-23Make i386 build w/ -std=c99 (almost)Peter S. Mazinger
2006-01-22Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger
is a useless attempt
2006-01-20grab some macros for internal ldso usage and fix ↵Mike Frysinger
strong_alias/hidden_strong_alias when .set support is disabled
2006-01-20Correct comments, thx vapierPeter S. Mazinger
2006-01-20Split out libc-symbols.h from libc-internal.h, use it directly in CFLAGS. ↵Peter S. Mazinger
Moved weak[_const]_function into proper place (if we have weak support), else noop. Modified comment about changes to glibc. Moved -D_LIBC from CFLAGS to libc-symbols.h. I am not sure about unlikely/likely/__cast