diff options
author | Dave Anglin <dave.anglin@nrc.ca> | 2005-12-05 17:00:36 +0000 |
---|---|---|
committer | Dave Anglin <dave.anglin@nrc.ca> | 2005-12-05 17:00:36 +0000 |
commit | b3ce1bf78e82453aa76e77b95abbd676caa3a7ab (patch) | |
tree | f2a4fcefa070d145ac91fc53f97d25f2bcb82b9e /gas/symbols.c | |
parent | be01d3433fd2df8c6d834ac63414aa40c05e64a1 (diff) | |
download | gdb-b3ce1bf78e82453aa76e77b95abbd676caa3a7ab.zip gdb-b3ce1bf78e82453aa76e77b95abbd676caa3a7ab.tar.gz gdb-b3ce1bf78e82453aa76e77b95abbd676caa3a7ab.tar.bz2 |
Bug gas/1948
* symbols.c (colon): Also check if now_seg is bss_section when a symbol
is being redefined.
Diffstat (limited to 'gas/symbols.c')
-rw-r--r-- | gas/symbols.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/symbols.c b/gas/symbols.c index f6dafcd..8e3d492 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. */ |