diff options
author | Alan Modra <amodra@gmail.com> | 2005-11-16 01:49:48 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-11-16 01:49:48 +0000 |
commit | 86ebace269c1135e257b56090325e3c8f402fa4b (patch) | |
tree | 33dbed4e82a7e9a1b6d318082cfd20809e64b2fc /gas/config/tc-alpha.c | |
parent | 525852f863e200944ee4702d41310ae596fccf9d (diff) | |
download | gdb-86ebace269c1135e257b56090325e3c8f402fa4b.zip gdb-86ebace269c1135e257b56090325e3c8f402fa4b.tar.gz gdb-86ebace269c1135e257b56090325e3c8f402fa4b.tar.bz2 |
* config/tc-ppc.c (ppc_pe_comm): Set bfd_com_section segment.
* config/tc-alpha.c (s_alpha_comm): Likewise. Also, remove
redundant check.
* read.c (s_lsym): Remove non-BFD assembler sym handling.
Diffstat (limited to 'gas/config/tc-alpha.c')
-rw-r--r-- | gas/config/tc-alpha.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-alpha.c b/gas/config/tc-alpha.c index 8d92352..3765b08 100644 --- a/gas/config/tc-alpha.c +++ b/gas/config/tc-alpha.c @@ -3331,10 +3331,10 @@ s_alpha_comm (int ignore ATTRIBUTE_UNUSED) subseg_set (new_seg, 0); p = frag_more (temp); new_seg->flags |= SEC_IS_COMMON; - if (! S_IS_DEFINED (symbolP)) - S_SET_SEGMENT (symbolP, new_seg); + S_SET_SEGMENT (symbolP, new_seg); #else S_SET_VALUE (symbolP, (valueT) temp); + S_SET_SEGMENT (symbolP, bfd_com_section_ptr); #endif S_SET_EXTERNAL (symbolP); } |