forked from Imagelibrary/binutils-gdb
gas: purge md_elf_section_word()
It's not documented anyway, and having it makes no sense anymore with obj_elf_section_word() now being TC_SPARC-only. In any event the x86 backing function was dead code.
This commit is contained in:
@@ -991,14 +991,6 @@ obj_elf_section_word (char *str, size_t len, int *type)
|
||||
if (len == 3 && startswith (str, "tls"))
|
||||
return SHF_TLS;
|
||||
|
||||
#ifdef md_elf_section_word
|
||||
{
|
||||
bfd_vma md_attr = md_elf_section_word (str, len);
|
||||
if (md_attr > 0)
|
||||
return md_attr;
|
||||
}
|
||||
#endif
|
||||
|
||||
ret = obj_elf_section_type (str, len, false);
|
||||
if (ret != 0)
|
||||
*type = ret;
|
||||
|
||||
Reference in New Issue
Block a user