]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
bfd:
authorClinton Popetz <cpopetz@cpopetz.com>
Sat, 6 May 2000 01:41:50 +0000 (01:41 +0000)
committerClinton Popetz <cpopetz@cpopetz.com>
Sat, 6 May 2000 01:41:50 +0000 (01:41 +0000)
* coffcode.h (coff_set_arch_mach_hook, coff_set_flags):
Change U802TOC64MAGIC to U803XTOCMAGIC.

include:
* coff/rs6k64.h (U802TOC64MAGIC): Change to U803XTOCMAGIC.

bfd/ChangeLog
bfd/coffcode.h
include/ChangeLog
include/coff/rs6k64.h

index a5b3fc6f6bfe2a33b3731f7ad717a6ae9f911e4a..b8c6f356df2e840757a0ebd6ef7a11094894781e 100644 (file)
@@ -1,3 +1,8 @@
+Fri May  5 16:51:03 2000  Clinton Popetz  <cpopetz@cygnus.com>
+
+       * coffcode.h (coff_set_arch_mach_hook, coff_set_flags):
+       Change U802TOC64MAGIC to U803XTOCMAGIC.
+
 2000-05-04  Michael Snyder  <msnyder@seadog.cygnus.com>
 
        * elf.c (bfd_elf_get_arch_size): New function, return 32 | 64 | -1.
@@ -127,6 +132,7 @@ Mon May  1 16:56:47 2000  Jim Wilson  <wilson@cygnus.com>
        * coff-sh.c (bfd_coff_small_swap_table): Fix Fri Apr 28 change.
        * vms.c (vms_openr_next_archived_file): Return NULL.
 
+>>>>>>> 1.419
 Fri Apr 28 21:34:44 2000  Clinton Popetz  <cpopetz@cygnus.com>
 
        * coffcode.h Copy changes mistakenly done to libcoff.h in
index 59469fdbc56d1bc842e2185c94eb90a595dae254..26c86203c43de23e88bf48201ccd37cb54665098 100644 (file)
@@ -1910,7 +1910,7 @@ coff_set_arch_mach_hook (abfd, filehdr)
 
 #ifdef RS6000COFF_C
 #ifdef XCOFF64
-    case U802TOC64MAGIC:
+    case U803XTOCMAGIC:
 #else
     case U802ROMAGIC:
     case U802WRMAGIC:
@@ -2694,7 +2694,7 @@ coff_set_flags (abfd, magicp, flagsp)
 #endif
 #ifdef XCOFF64
       if (bfd_get_mach (abfd) == 620 && !strncmp (abfd->xvec->name,"aix", 3))
-       *magicp = U802TOC64MAGIC; 
+       *magicp = U803XTOCMAGIC; 
       else
 #else
        *magicp = U802TOCMAGIC; 
index 59559ca94184a2d56db7436de0141f4fa15cc17a..1ff5fda3838c790081480fa031985d4c4bcb3f99 100644 (file)
@@ -1,3 +1,7 @@
+Fri May  5 16:51:03 2000  Clinton Popetz  <cpopetz@cygnus.com>
+
+       * coff/rs6k64.h (U802TOC64MAGIC): Change to U803XTOCMAGIC.
+
 Mon Apr 24 15:20:51 2000  Clinton Popetz  <cpopetz@cygnus.com>
 
        * include/coff/rs6k64.h: New file.
index 86d739c96c66a6a2a456edba23ef5d6e040d3bcf..80d8e4c0e9e5539915c596d07410f879fdc27fce 100644 (file)
@@ -14,9 +14,9 @@ struct external_filehdr {
 };
 
         /* IBM RS/6000 */
-#define U802TOC64MAGIC 0757    /* readonly text segments and TOC, XCOFF64 */
+#define U803XTOCMAGIC 0757     /* readonly text segments and TOC, XCOFF64 */
 
-#define BADMAG(x) ((x).f_magic != U802TOC64MAGIC)
+#define BADMAG(x) ((x).f_magic != U803XTOCMAGIC)
 
 #define        FILHDR  struct external_filehdr
 #define        FILHSZ  24
@@ -49,11 +49,11 @@ typedef struct
   unsigned char        entry[8];               /* entry pt.                    */
   unsigned char        o_maxstack[8];  /* max stack size (??)          */
   unsigned char o_maxdata[8];  /* max data size (??)           */
-  unsigned char        o_resv3[116];           /* reserved                     */
+  unsigned char        o_resv3[16];            /* reserved                     */
 }
 AOUTHDR;
 
-#define AOUTSZ 220
+#define AOUTSZ 120
 #define SMALL_AOUTSZ (0)
 #define AOUTHDRSZ 72