3 Copyright (C) 1991 Free Software Foundation, Inc.
5 This file is part of GLD, the Gnu Linker.
7 GLD is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 1, or (at your option)
12 GLD is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GLD; see the file COPYING. If not, write to
19 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
21 typedef struct user_symbol_struct
23 /* Point to next symbol in this hash chain */
24 struct user_symbol_struct
*link
;
26 /* Name of this symbol. */
29 /* Pointer to next symbol in order of symbol creation */
30 struct user_symbol_struct
*next
;
32 /* Chain of asymbols we see from input files
33 note that we point to the entry in the canonical table of
34 the pointer to the asymbol, *not* the asymbol. This means
35 that we can run back and fix all refs to point to the
38 asymbol
**srefs_chain
;
39 asymbol
**sdefs_chain
;
41 /* only ever point to the largest ever common definition -
42 * all the rest are turned into refs
43 * scoms and sdefs are never != NULL at same time
45 asymbol
**scoms_chain
;
50 PROTO(ldsym_type
*, ldsym_get
, (char *));
51 PROTO(ldsym_type
*, ldsym_get_soft
, (char *));
52 PROTO(void, ldsym_print_symbol_table
,(void));
53 PROTO(void, ldsym_write
, (void));
54 PROTO(boolean
, ldsym_undefined
, (char *));
55 #define FOR_EACH_LDSYM(x) \
56 extern ldsym_type *symbol_head; \
58 for (x = symbol_head; x != (ldsym_type *)NULL; x = x->next)
This page took 0.029858 seconds and 4 git commands to generate.