diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-12-21 21:50:56 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1996-12-21 21:50:56 +0000 |
commit | 2f775f77f48c603d20484cbfdb138f241708ea3b (patch) | |
tree | 929f1470fa6ec8ff4dd7941c2c8a6252ff2d21bf /gnu/usr.bin | |
parent | 0e8e754fa02e187ea308b2832afcd3f3f6f822a4 (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.c | 5 |
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(); |