aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-04-17 02:03:34 +0000
committerSteve Chamberlain <steve@cygnus>1991-04-17 02:03:34 +0000
commitd646b568d0a16857c648803b3027164d64ff1149 (patch)
treea4968bb24e8e09fa7def434fb7d6f273d572bfd9 /ld
parent5e83d38ef98defb5521d9c998c96a18f4595e218 (diff)
downloadgdb-d646b568d0a16857c648803b3027164d64ff1149.zip
gdb-d646b568d0a16857c648803b3027164d64ff1149.tar.gz
gdb-d646b568d0a16857c648803b3027164d64ff1149.tar.bz2
Moved declarations from header file into here.
Diffstat (limited to 'ld')
-rw-r--r--ld/ldgram.y3
-rw-r--r--ld/ldsym.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ld/ldgram.y b/ld/ldgram.y
index dcc87cd..2e0e501 100644
--- a/ld/ldgram.y
+++ b/ld/ldgram.y
@@ -33,7 +33,8 @@ extern boolean write_map;
boolean hex_mode;
-
+strip_symbols_type strip_symbols=STRIP_NONE;
+discard_locals_type discard_locals=DISCARD_NONE;
lang_memory_region_type *region;
diff --git a/ld/ldsym.c b/ld/ldsym.c
index 6199c1b..7fcff3a 100644
--- a/ld/ldsym.c
+++ b/ld/ldsym.c
@@ -39,6 +39,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* IMPORT */
extern bfd *output_bfd;
+extern strip_symbols_type strip_symbols;
+extern discard_locals_type discard_locals;
/* Head and tail of global symbol table chronological list */
ldsym_type *symbol_head = (ldsym_type *)NULL;