From e9c88a65c77b8b08d558ac528790a841eb9e4484 Mon Sep 17 00:00:00 2001 From: Dave Anglin Date: Mon, 5 Dec 2005 17:00:36 +0000 Subject: Bug gas/1948 * symbols.c (colon): Also check if now_seg is bss_section when a symbol is being redefined. --- gas/symbols.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gas/symbols.c') diff --git a/gas/symbols.c b/gas/symbols.c index f6dafcd86b..8e3d492c71 100644 --- a/gas/symbols.c +++ b/gas/symbols.c @@ -376,6 +376,7 @@ colon (/* Just seen "x:" - rattle symbols & frags. */ && S_IS_EXTERNAL (symbolP)) || S_GET_SEGMENT (symbolP) == bss_section) && (now_seg == data_section + || now_seg == bss_section || now_seg == S_GET_SEGMENT (symbolP))) { /* Select which of the 2 cases this is. */ -- cgit v1.2.1