public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Add FreeBSD and NetBSD ABI tags.
@ 2003-06-13 13:07 Nick Clifton
  2003-06-13 13:32 ` Momchil Velikov
  0 siblings, 1 reply; 3+ messages in thread
From: Nick Clifton @ 2003-06-13 13:07 UTC (permalink / raw)
  To: binutils

Hi Guys,

  I am applying this patch on behalf of Robert Millan and the
  i386-netbsd-gnu project.

Cheers
        Nick

2003-06-13  Robert Millan <zeratul2@wanadoo.es>

	* common.h (GNU_ABI_TAG_NETBSD): New tag.
	(GNU_ABI_TAG_FREEBSD): New tag.

Index: include/elf/common.h
===================================================================
RCS file: /cvs/src/src/include/elf/common.h,v
retrieving revision 1.59
diff -c -3 -p -r1.59 common.h
*** include/elf/common.h	3 Jun 2003 22:27:23 -0000	1.59
--- include/elf/common.h	13 Jun 2003 13:04:29 -0000
***************
*** 397,402 ****
--- 397,404 ----
  #define GNU_ABI_TAG_LINUX	0
  #define GNU_ABI_TAG_HURD	1
  #define GNU_ABI_TAG_SOLARIS	2
+ #define GNU_ABI_TAG_FREEBSD	3
+ #define GNU_ABI_TAG_NETBSD	4
  
  /* Values for NetBSD .note.netbsd.ident notes.  Note name is "NetBSD".  */
  
        

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Add FreeBSD and NetBSD ABI tags.
  2003-06-13 13:07 Add FreeBSD and NetBSD ABI tags Nick Clifton
@ 2003-06-13 13:32 ` Momchil Velikov
  2003-06-22 17:44   ` Andrew Cagney
  0 siblings, 1 reply; 3+ messages in thread
From: Momchil Velikov @ 2003-06-13 13:32 UTC (permalink / raw)
  To: Nick Clifton; +Cc: binutils, gdb-patches

[-- Attachment #1: Type: text/plain, Size: 269 bytes --]

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 717 bytes --]

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__,

[-- Attachment #3: Type: text/plain, Size: 7 bytes --]

~velco

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Add FreeBSD and NetBSD ABI tags.
  2003-06-13 13:32 ` Momchil Velikov
@ 2003-06-22 17:44   ` Andrew Cagney
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Cagney @ 2003-06-22 17:44 UTC (permalink / raw)
  To: Momchil Velikov; +Cc: Nick Clifton, binutils, gdb-patches

[-- Attachment #1: Type: text/plain, Size: 268 bytes --]

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

Considered, and committed.

Andrew


[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 785 bytes --]

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.

Index: osabi.c
===================================================================
RCS file: /cvs/src/src/gdb/osabi.c,v
retrieving revision 1.15
diff -u -r1.15 osabi.c
--- osabi.c	8 Jun 2003 18:27:14 -0000	1.15
+++ osabi.c	22 Jun 2003 17:41:27 -0000
@@ -384,6 +384,14 @@
 	      *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__,

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-22 17:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-13 13:07 Add FreeBSD and NetBSD ABI tags Nick Clifton
2003-06-13 13:32 ` Momchil Velikov
2003-06-22 17:44   ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).