summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-08-22 05:13:04 +0000
committerAlan Modra <amodra@bigpond.net.au>2002-08-22 05:13:04 +0000
commit7c5f6d523c3bd91f3695e276b4df830dfb14e613 (patch)
treef260f959288201d017dcd6750194316449abe689
parent134fad69b48d52c469c5aa0a422c7036e360a6fb (diff)
downloadgdb-7c5f6d523c3bd91f3695e276b4df830dfb14e613.tar.gz
* 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.
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/coff-rs6000.c4
-rw-r--r--bfd/coff64-rs6000.c4
3 files changed, 10 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7bbdb91e5c7..0cec092d3b3 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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.
diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c
index 235b6a1ed23..ebed7438433 100644
--- a/bfd/coff-rs6000.c
+++ b/bfd/coff-rs6000.c
@@ -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 */
diff --git a/bfd/coff64-rs6000.c b/bfd/coff64-rs6000.c
index f26fe6d99f5..d5cce39b968 100644
--- a/bfd/coff64-rs6000.c
+++ b/bfd/coff64-rs6000.c
@@ -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 */