aboutsummaryrefslogtreecommitdiff
path: root/binutils-1.9/ranlib.h
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2021-08-15 00:16:45 -0400
committerAndrew Lee <alee14498@protonmail.com>2021-08-15 00:16:45 -0400
commit723428bebe3105ad3c3406e416402d1831b482c4 (patch)
treeff990e306163515973746ddfb261f29ba8765441 /binutils-1.9/ranlib.h
downloadlinux-0.01-distro-723428bebe3105ad3c3406e416402d1831b482c4.tar.gz
linux-0.01-distro-723428bebe3105ad3c3406e416402d1831b482c4.tar.bz2
linux-0.01-distro-723428bebe3105ad3c3406e416402d1831b482c4.zip
Inital commit
Diffstat (limited to 'binutils-1.9/ranlib.h')
-rw-r--r--binutils-1.9/ranlib.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/binutils-1.9/ranlib.h b/binutils-1.9/ranlib.h
new file mode 100644
index 0000000..936ba34
--- /dev/null
+++ b/binutils-1.9/ranlib.h
@@ -0,0 +1,17 @@
+/* ranlib.h 4.1 83/05/03 */
+
+/*
+ * Structure of the __.SYMDEF table of contents for an archive.
+ * __.SYMDEF begins with a word giving the number of ranlib structures
+ * which immediately follow, and then continues with a string
+ * table consisting of a word giving the number of bytes of strings
+ * which follow and then the strings themselves.
+ * The ran_strx fields index the string table whose first byte is numbered 0.
+ */
+struct ranlib {
+ union {
+ off_t ran_strx; /* string table index of */
+ char *ran_name; /* symbol defined by */
+ } ran_un;
+ off_t ran_off; /* library member at this offset */
+};