]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Minimal handle .typchk and .except section.
authorTom Rix <trix@redhat.com>
Tue, 18 Dec 2001 00:32:32 +0000 (00:32 +0000)
committerTom Rix <trix@redhat.com>
Tue, 18 Dec 2001 00:32:32 +0000 (00:32 +0000)
bfd/ChangeLog
bfd/coffcode.h
include/coff/ChangeLog
include/coff/xcoff.h

index fe895c4972c36a48f5160ce7738b72b6756351fe..ca9acb80035ce9c3b55dc799d0b21992f7cbb0a4 100644 (file)
@@ -1,3 +1,8 @@
+2001-12-17  Tom Rix  <trix@porter.hsv.redhat.com>
+
+       * coffcode.h (sec_to_styp_flags): Add STYP_EXCEPT and STYP_TYPCHK for 
+       xcoff.
+
 2001-12-17  Jakub Jelinek  <jakub@redhat.com>
 
        * elf-bfd.h (elf_discarded_section): Define.
index c2a2950a431adbcf96ccf1a72c08d286f636bb75..d759115be0af5dd8fe3dfe771a8ce0c2cd898608 100644 (file)
@@ -428,6 +428,14 @@ sec_to_styp_flags (sec_name, sec_flags)
     {
       styp_flags = STYP_LOADER;
     }
+  else if (!strcmp (sec_name, _EXCEPT))
+    {
+      styp_flags = STYP_EXCEPT;
+    }
+  else if (!strcmp (sec_name, _TYPCHK))
+    {
+      styp_flags = STYP_TYPCHK;
+    }
 #endif
   /* Try and figure out what it should be */
   else if (sec_flags & SEC_CODE)
index 969299b0fb3c990c943b706ea2bfe185738506cc..6e14207e1857488f229f3b1fc7135dbd15838d9c 100644 (file)
@@ -1,6 +1,6 @@
 2001-12-17  Tom Rix  <trix@redhat.com>
 
-       * xcoff.h :  Add .except and .typchk section string.  
+       * xcoff.h :  Add .except and .typchk section string and styp flags.
        Fix xcoff_big_format_p macro.  
 
 2001-12-16  Tom Rix  <trix@redhat.com>
index b8fc378a08b46b7380230d37e79dabd99348926f..e9dbaf212afc5cf649022497d4ba3efd62625930 100644 (file)
    another section header with STYP_OVRFLO set.  */
 #define STYP_OVRFLO 0x8000
 
+/* Specifies an exception section.  A section of this type provides 
+   information to identify the reason that a trap or ececptin occured within 
+   and executable object program */
+#define STYP_EXCEPT 0x0100
+
+/* Specifies a type check section.  A section of this type contains parameter 
+   argument type check strings used by the AIX binder.  */
+#define STYP_TYPCHK 0x4000
+
 #define        RS6K_AOUTHDR_OMAGIC 0x0107 /* old: text & data writeable */
 #define        RS6K_AOUTHDR_NMAGIC 0x0108 /* new: text r/o, data r/w */
 #define        RS6K_AOUTHDR_ZMAGIC 0x010B /* paged: text r/o, both page-aligned */