summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-12-21 21:50:56 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-12-21 21:50:56 +0000
commit2f775f77f48c603d20484cbfdb138f241708ea3b (patch)
tree929f1470fa6ec8ff4dd7941c2c8a6252ff2d21bf /gnu/usr.bin
parent0e8e754fa02e187ea308b2832afcd3f3f6f822a4 (diff)
From pk@NetBSD.ORG; Set EXTERNAL bit on `.weak' declarations.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/gas/read.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/usr.bin/gas/read.c b/gnu/usr.bin/gas/read.c
index ac7fed5cdf0..2d869de6b87 100644
--- a/gnu/usr.bin/gas/read.c
+++ b/gnu/usr.bin/gas/read.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: read.c,v 1.2 1996/04/23 00:15:53 niklas Exp $ */
+/* $OpenBSD: read.c,v 1.3 1996/12/21 21:50:55 tholo Exp $ */
/* read.c - read a source file -
@@ -21,7 +21,7 @@
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifndef lint
-static char rcsid[] = "$OpenBSD: read.c,v 1.2 1996/04/23 00:15:53 niklas Exp $";
+static char rcsid[] = "$OpenBSD: read.c,v 1.3 1996/12/21 21:50:55 tholo Exp $";
#endif
#define MASK_CHAR (0xFF) /* If your chars aren't 8 bits, you will
@@ -1273,6 +1273,7 @@ void s_weak() {
* input_line_pointer = c;
SKIP_WHITESPACE();
symbolP->sy_bind = BIND_WEAK;
+ S_SET_EXTERNAL(symbolP);
if (c == ',') {
input_line_pointer++;
SKIP_WHITESPACE();