Commit | Line | Data |
---|---|---|
01170860 RP |
1 | /* This file is ranlib.h |
2 | Copyright (C) 1987-1992 Free Software Foundation, Inc. | |
3 | ||
4 | This file is part of GAS, the GNU Assembler. | |
5 | ||
6 | GAS is free software; you can redistribute it and/or modify | |
7 | it under the terms of the GNU General Public License as published by | |
8 | the Free Software Foundation; either version 2, or (at your option) | |
9 | any later version. | |
10 | ||
11 | GAS is distributed in the hope that it will be useful, | |
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | GNU General Public License for more details. | |
15 | ||
16 | You should have received a copy of the GNU General Public License | |
17 | along with GAS; see the file COPYING. If not, write to | |
18 | the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |
68a96e53 RP |
19 | |
20 | /* | |
21 | * Structure of the __.SYMDEF table of contents for an archive. | |
22 | * __.SYMDEF begins with a word giving the number of ranlib structures | |
23 | * which immediately follow, and then continues with a string | |
24 | * table consisting of a word giving the number of bytes of strings | |
25 | * which follow and then the strings themselves. | |
26 | * The ran_strx fields index the string table whose first byte is numbered 0. | |
27 | */ | |
28 | struct ranlib { | |
29 | union { | |
30 | off_t ran_strx; /* string table index of */ | |
31 | char *ran_name; /* symbol defined by */ | |
32 | } ran_un; | |
33 | off_t ran_off; /* library member at this offset */ | |
34 | }; | |
8b228fe9 RP |
35 | |
36 | /* end of ranlib.h */ |