forked from Imagelibrary/binutils-gdb
2003-06-22 Andrew Cagney <cagney@redhat.com>
* osabi.c (generic_elf_osabi_sniff_abi_tag_sections): Handle GNU_ABI_TAG_FREEBSD and GNU_ABI_TAG_NETBSD. Suggested by Momchil Velikov.
This commit is contained in:
@@ -384,6 +384,14 @@ generic_elf_osabi_sniff_abi_tag_sections (bfd *abfd, asection *sect, void *obj)
|
||||
*os_ident_ptr = GDB_OSABI_SOLARIS;
|
||||
break;
|
||||
|
||||
case GNU_ABI_TAG_FREEBSD:
|
||||
*os_ident_ptr = GDB_OSABI_FREEBSD_ELF;
|
||||
break;
|
||||
|
||||
case GNU_ABI_TAG_NETBSD:
|
||||
*os_ident_ptr = GDB_OSABI_NETBSD_ELF;
|
||||
break;
|
||||
|
||||
default:
|
||||
internal_error
|
||||
(__FILE__, __LINE__,
|
||||
|
||||
Reference in New Issue
Block a user