* ecoff.c (ecoff_set_symbol_info): Removed special handling for
scBss and scSBss symbols, since it was wrong.
This commit is contained in:
parent
153cb9ade3
commit
70bec8b806
2 changed files with 6 additions and 12 deletions
|
@ -10,6 +10,9 @@ Fri Aug 6 15:13:22 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
||||||
|
|
||||||
Fri Aug 6 12:28:38 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
Fri Aug 6 12:28:38 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
||||||
|
|
||||||
|
* ecoff.c (ecoff_set_symbol_info): Removed special handling for
|
||||||
|
scBss and scSBss symbols, since it was wrong.
|
||||||
|
|
||||||
* Makefile.in (coff-mips.o, coff-alpha.o): Don't depend on
|
* Makefile.in (coff-mips.o, coff-alpha.o): Don't depend on
|
||||||
coffcode.h.
|
coffcode.h.
|
||||||
|
|
||||||
|
|
|
@ -901,16 +901,8 @@ ecoff_set_symbol_info (abfd, ecoff_sym, asym, ext, indirect_ptr_ptr)
|
||||||
asym->value -= asym->section->vma;
|
asym->value -= asym->section->vma;
|
||||||
break;
|
break;
|
||||||
case scBss:
|
case scBss:
|
||||||
if (ext)
|
|
||||||
{
|
|
||||||
asym->section = &bfd_com_section;
|
|
||||||
asym->flags = 0;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
asym->section = bfd_make_section_old_way (abfd, ".bss");
|
asym->section = bfd_make_section_old_way (abfd, ".bss");
|
||||||
asym->value -= asym->section->vma;
|
asym->value -= asym->section->vma;
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case scRegister:
|
case scRegister:
|
||||||
asym->flags = BSF_DEBUGGING;
|
asym->flags = BSF_DEBUGGING;
|
||||||
|
@ -937,7 +929,6 @@ ecoff_set_symbol_info (abfd, ecoff_sym, asym, ext, indirect_ptr_ptr)
|
||||||
break;
|
break;
|
||||||
case scSBss:
|
case scSBss:
|
||||||
asym->section = bfd_make_section_old_way (abfd, ".sbss");
|
asym->section = bfd_make_section_old_way (abfd, ".sbss");
|
||||||
if (! ext)
|
|
||||||
asym->value -= asym->section->vma;
|
asym->value -= asym->section->vma;
|
||||||
break;
|
break;
|
||||||
case scRData:
|
case scRData:
|
||||||
|
|
Loading…
Reference in a new issue