This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add FreeBSD and NetBSD ABI tags.


>>>>> "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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]