This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Add FreeBSD and NetBSD ABI tags.
- From: Momchil Velikov <velco at fadata dot bg>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: binutils at sources dot redhat dot com, gdb-patches at sources dot redhat dot com
- Date: 13 Jun 2003 16:29:59 +0300
- Subject: Re: Add FreeBSD and NetBSD ABI tags.
- References: <m3r85yqgct.fsf@redhat.com>
>>>>> "Nick" == Nick Clifton <nickc@redhat.com> writes:
Nick> Hi Guys,
Nick> I am applying this patch on behalf of Robert Millan and the
Nick> i386-netbsd-gnu project.
Nick> + #define GNU_ABI_TAG_FREEBSD 3
Nick> + #define GNU_ABI_TAG_NETBSD 4
Please, consider
Index: gdb/osabi.c
===================================================================
RCS file: /cvs/src/src/gdb/osabi.c,v
retrieving revision 1.8
diff -u -d -p -r1.8 osabi.c
--- gdb/osabi.c 12 Sep 2002 00:26:30 -0000 1.8
+++ gdb/osabi.c 24 Nov 2002 18:56:26 -0000
@@ -315,6 +315,14 @@ generic_elf_osabi_sniff_abi_tag_sections
*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__,
~velco