This is the mail archive of the binutils@sourceware.org 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]

[Patch]: complete coff/rs6000.h


Hi,

this patch adds a couple of fields that are in the AIX doc but not in rs6000.h

Ok for trunk ?

Tristan.

include/coff:
2011-04-28  Tristan Gingold  <gingold@adacore.com>

	* rs6000.h (union external_auxent): Add x_ftype field.
	(struct external_exceptab): New struct.
	(EXCEPTSZ): New macro.


diff --git a/include/coff/rs6000.h b/include/coff/rs6000.h
index 960dd32..f530a46 100644
--- a/include/coff/rs6000.h
+++ b/include/coff/rs6000.h
@@ -173,6 +173,8 @@ union external_auxent {
 		struct {
 			char x_zeroes[4];
 			char x_offset[4];
+			char x_pad[E_FILNMLEN - 8];
+			char x_ftype[1];
 		} x_n;
 	} x_file;
 
@@ -276,3 +278,12 @@ struct external_ldrel
 };
 
 #define LDRELSZ (2 * 4 + 2 * 2)
+
+struct external_exceptab
+{
+  bfd_byte e_addr[4];
+  bfd_byte e_lang[1];
+  bfd_byte e_reason[1];
+};
+
+#define EXCEPTSZ (4 + 2)


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