diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-08-06 20:04:22 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-08-06 20:04:22 +0000 |
commit | 70bec8b806b9eabcb62d54cc7bef3f2cd88aafaf (patch) | |
tree | a93abbe4afcf82e261d8e3dbbe443f8b9ae9979e /bfd/ecoff.c | |
parent | 153cb9ade30b4dac43a888788c5069bb2789883e (diff) | |
download | gdb-70bec8b806b9eabcb62d54cc7bef3f2cd88aafaf.zip gdb-70bec8b806b9eabcb62d54cc7bef3f2cd88aafaf.tar.gz gdb-70bec8b806b9eabcb62d54cc7bef3f2cd88aafaf.tar.bz2 |
* ecoff.c (ecoff_set_symbol_info): Removed special handling for
scBss and scSBss symbols, since it was wrong.
Diffstat (limited to 'bfd/ecoff.c')
-rw-r--r-- | bfd/ecoff.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/bfd/ecoff.c b/bfd/ecoff.c index 685ab4e..84ae59b 100644 --- a/bfd/ecoff.c +++ b/bfd/ecoff.c @@ -901,16 +901,8 @@ ecoff_set_symbol_info (abfd, ecoff_sym, asym, ext, indirect_ptr_ptr) asym->value -= asym->section->vma; break; case scBss: - if (ext) - { - asym->section = &bfd_com_section; - asym->flags = 0; - } - else - { - asym->section = bfd_make_section_old_way (abfd, ".bss"); - asym->value -= asym->section->vma; - } + asym->section = bfd_make_section_old_way (abfd, ".bss"); + asym->value -= asym->section->vma; break; case scRegister: asym->flags = BSF_DEBUGGING; @@ -937,8 +929,7 @@ ecoff_set_symbol_info (abfd, ecoff_sym, asym, ext, indirect_ptr_ptr) break; case scSBss: asym->section = bfd_make_section_old_way (abfd, ".sbss"); - if (! ext) - asym->value -= asym->section->vma; + asym->value -= asym->section->vma; break; case scRData: asym->section = bfd_make_section_old_way (abfd, ".rdata"); |