* coff-rs6000.c (rs6000coff_vec <object_flags>): Add SEC_CODE and
authorAlan Modra <amodra@gmail.com>
Thu, 22 Aug 2002 05:13:04 +0000 (05:13 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 22 Aug 2002 05:13:04 +0000 (05:13 +0000)
SEC_DATA.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.
(aix5coff64_vec): Likewise.

bfd/ChangeLog
bfd/coff-rs6000.c
bfd/coff64-rs6000.c

index 7bbdb91e5c723101ff2d27db7acc98b842a76f21..0cec092d3b3bfd3c6aaf91f91ac22575cde3b4e2 100644 (file)
@@ -1,5 +1,11 @@
 2002-08-22  Alan Modra  <amodra@bigpond.net.au>
 
+       * coff-rs6000.c (rs6000coff_vec <object_flags>): Add SEC_CODE and
+       SEC_DATA.
+       (pmac_xcoff_vec): Likewise.
+       * coff64-rs6000.c (rs6000coff64_vec): Likewise.
+       (aix5coff64_vec): Likewise.
+
        * elf-bfd.h (struct elf_backend_data): Add struct elf_backend_data
        param to elf_backend_copy_indirect_symbol.
        (_bfd_elf_link_hash_copy_indirect): Likewise.
index 235b6a1ed2395d8098be624705b5becb02c57c9c..ebed743843376a7e4493a1a15c50331f2939bbc1 100644 (file)
@@ -4053,7 +4053,7 @@ const bfd_target rs6000coff_vec =
     (HAS_RELOC | EXEC_P | HAS_LINENO | HAS_DEBUG | DYNAMIC
      | HAS_SYMS | HAS_LOCALS | WP_TEXT),
 
-    (SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC),
+    SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC | SEC_CODE | SEC_DATA,
     0,                         /* leading char */
     '/',                       /* ar_pad_char */
     15,                                /* ar_max_namelen */
@@ -4295,7 +4295,7 @@ const bfd_target pmac_xcoff_vec =
     (HAS_RELOC | EXEC_P | HAS_LINENO | HAS_DEBUG | DYNAMIC
      | HAS_SYMS | HAS_LOCALS | WP_TEXT),
 
-    (SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC),
+    SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC | SEC_CODE | SEC_DATA,
     0,                         /* leading char */
     '/',                       /* ar_pad_char */
     15,                                /* ar_max_namelen */
index f26fe6d99f5f87397caf542f9d7843f1e7c94d9f..d5cce39b968c5cd5dcd7bffd9f051797da1ccee0 100644 (file)
@@ -2595,7 +2595,7 @@ const bfd_target rs6000coff64_vec =
     (HAS_RELOC | EXEC_P | HAS_LINENO | HAS_DEBUG | DYNAMIC
      | HAS_SYMS | HAS_LOCALS | WP_TEXT),
 
-    (SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC),
+    SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC | SEC_CODE | SEC_DATA,
     0,                         /* leading char */
     '/',                       /* ar_pad_char */
     15,                                /* ar_max_namelen */
@@ -2834,7 +2834,7 @@ const bfd_target aix5coff64_vec =
     (HAS_RELOC | EXEC_P | HAS_LINENO | HAS_DEBUG | DYNAMIC
      | HAS_SYMS | HAS_LOCALS | WP_TEXT),
 
-    (SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC),
+    SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC | SEC_CODE | SEC_DATA,
     0,                         /* leading char */
     '/',                       /* ar_pad_char */
     15,                                /* ar_max_namelen */