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/read.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/read.c')
-rw-r--r-- | gas/read.c | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -2235,15 +2235,7 @@ s_lsym (int ignore ATTRIBUTE_UNUSED) *p = 0; symbolP = symbol_find_or_make (name); - /* FIXME-SOON I pulled a (&& symbolP->sy_other == 0 && - symbolP->sy_desc == 0) out of this test because coff doesn't have - those fields, and I can't see when they'd ever be tripped. I - don't think I understand why they were here so I may have - introduced a bug. As recently as 1.37 didn't have this test - anyway. xoxorich. */ - - if (S_GET_SEGMENT (symbolP) == undefined_section - && S_GET_VALUE (symbolP) == 0) + if (S_GET_SEGMENT (symbolP) == undefined_section) { /* The name might be an undefined .global symbol; be sure to keep the "external" bit. */ |