summaryrefslogtreecommitdiff
path: root/libc/abi-tags
diff options
context:
space:
mode:
authorgcc <gcc@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2006-08-17 01:18:26 +0000
committergcc <gcc@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2006-08-17 01:18:26 +0000
commit15f34685e7a9b5caf761af2ebf6afa20438d440b (patch)
treedc04ce3cdf040f198743c15b64557824de174680 /libc/abi-tags
parent1e848e0e775a36f6359161f5deb890942ef42ff3 (diff)
Import glibc-mainline for 2006-08-16
git-svn-id: svn://svn.eglibc.org/fsf/trunk@4 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/abi-tags')
-rw-r--r--libc/abi-tags32
1 files changed, 32 insertions, 0 deletions
diff --git a/libc/abi-tags b/libc/abi-tags
new file mode 100644
index 000000000..87cd6816a
--- /dev/null
+++ b/libc/abi-tags
@@ -0,0 +1,32 @@
+# This file defines the ABI tag value we will use in the ELF note included
+# in the startup code to be linked into every program.
+
+# The following lines list regexps matching canonical configurations, and
+# the associated ABI tag values. The entire list is processed, with
+# earlier entries taking precedence over later entries. So loose patterns
+# at the end of the list can give defaults.
+
+# The ABI tags we use are four 32-bit integers. The first of these
+# is the operating-system number, the next three are the revision number
+# of the first compatible kernel.
+
+# After the configuration regexp, four integers in C syntax appear
+# surrounded by any whitespace or punctuation, one for each byte, MSB first.
+
+# Configuration ABI OS ABI version
+# ------------- ------ -----------
+
+.*-.*-linux.* 0 2.0.0 # earliest compatible kernel version
+
+.*-.*-gnu-gnu.* 1 0.0.0
+
+.*-sun-solaris2.* 2 2.0.0 # just an arbitrary value
+
+.*-.*-freebsd.*-gnu.* 3 4.0.0 # earliest compatible kernel version
+
+.*-.*-knetbsd.*-gnu.* 4 1.6.0 # earliest compatible kernel version
+
+.*-.*-syllable.* 5 2.0.0 # just an arbitrary value
+
+# There is no catch-all default here because every supported OS that uses
+# ELF must have its own unique ABI tag.