about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libc-symbols.h3
-rw-r--r--include/stub-tag.h5
2 files changed, 8 insertions, 0 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index b7433eef42..4a0349b666 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -328,8 +328,11 @@ extern const char _libc_intl_domainname[];
 #if DO_VERSIONING
 # define symbol_version(real, name, version) \
      __asm__ (".symver " #real "," #name "@" #version)
+# define default_symbol_version(real, name, version) \
+     __asm__ (".symver " #real "," #name "@@" #version)
 #else
 # define symbol_version(real, name, version)
+# define default_symbol_version(real, name, version)
 #endif
 
 #endif /* libc-symbols.h */
diff --git a/include/stub-tag.h b/include/stub-tag.h
new file mode 100644
index 0000000000..3004d6f429
--- /dev/null
+++ b/include/stub-tag.h
@@ -0,0 +1,5 @@
+/* This header is included into every file that declares a stub function.
+ * The build process looks for this header in .d files to decide whether
+ * or not it needs to scan the corresponding .c file for entries to add to
+ * <gnu/stubs.h>.
+ */