aboutsummaryrefslogtreecommitdiff
path: root/include/ranlib.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-04-25 04:20:18 +0000
committerJohn Gilmore <gnu@cygnus>1991-04-25 04:20:18 +0000
commitbad3df6720febc5e2e5e4a2af6acbb3bdd66b048 (patch)
tree6977c6cc981dc67680341986bb156558caa44c15 /include/ranlib.h
parenta07cc61341225966fd714e8715aeca6c558b5b8e (diff)
downloadgdb-bad3df6720febc5e2e5e4a2af6acbb3bdd66b048.zip
gdb-bad3df6720febc5e2e5e4a2af6acbb3bdd66b048.tar.gz
gdb-bad3df6720febc5e2e5e4a2af6acbb3bdd66b048.tar.bz2
Merge intel-deliver and amd-deliver "include" directories, and the
GDB include directory, all into a single include directory. There are minor corresponding changes in a few files in bfd and gdb.
Diffstat (limited to 'include/ranlib.h')
-rwxr-xr-xinclude/ranlib.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/ranlib.h b/include/ranlib.h
index 07bc0ab..6d080f4 100755
--- a/include/ranlib.h
+++ b/include/ranlib.h
@@ -30,6 +30,9 @@
9 ; byte count of string table
"foo\0_bar\0" ; string table */
+#define RANLIBMAG "__.SYMDEF" /* Archive file name containing index */
+#define RANLIBSKEW 3 /* Creation time offset */
+
/* Format of __.SYMDEF:
First, a longword containing the size of the 'symdef' data that follows.
Second, zero or more 'symdef' structures.
@@ -43,6 +46,9 @@ struct symdef
unsigned long string_offset; /* In the file */
char *name; /* In memory, sometimes */
} s;
+ /* this points to the front of the file header (AKA member header --
+ a struct ar_hdr), not to the front of the file or into the file).
+ in other words it only tells you which file to read */
unsigned long file_offset;
};
@@ -50,6 +56,6 @@ struct symdef
#define ranlib symdef
#define ran_un s
-#define ran_str string_offset
+#define ran_strx string_offset
#define ran_name name
#define ran_off file_offset