projects
/
platform
/
upstream
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e83d38
)
Moved declarations from header file into here.
author
Steve Chamberlain
<steve@cygnus>
Wed, 17 Apr 1991 02:03:34 +0000
(
02:03
+0000)
committer
Steve Chamberlain
<steve@cygnus>
Wed, 17 Apr 1991 02:03:34 +0000
(
02:03
+0000)
ld/ldgram.y
patch
|
blob
|
history
ld/ldsym.c
patch
|
blob
|
history
diff --git
a/ld/ldgram.y
b/ld/ldgram.y
index dcc87cd6e0404926e383270ef5c7b02e985ede8c..2e0e501a55815161bbb20c163062c7f72093cded 100644
(file)
--- 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 6199c1bf3cd859cf85c6ba0101fa8f14c0a835a2..7fcff3a7b2d6df08bfb502f710e98e42490c8dd8 100644
(file)
--- 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;