diff options
author | Alan Modra <amodra@gmail.com> | 2002-08-22 05:13:04 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-08-22 05:13:04 +0000 |
commit | a7c71b0c65ab0ff4fd71584dc707f584173b5dbf (patch) | |
tree | 2fd135cd264ef4fe8bea6f2e23711374108ae804 /bfd | |
parent | b48fa14c8688f60dffc6f64c253aaf1b73e3e04a (diff) | |
download | fsf-binutils-gdb-a7c71b0c65ab0ff4fd71584dc707f584173b5dbf.zip fsf-binutils-gdb-a7c71b0c65ab0ff4fd71584dc707f584173b5dbf.tar.gz fsf-binutils-gdb-a7c71b0c65ab0ff4fd71584dc707f584173b5dbf.tar.bz2 |
* 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.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/coff-rs6000.c | 4 | ||||
-rw-r--r-- | bfd/coff64-rs6000.c | 4 |
3 files changed, 10 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7bbdb91..0cec092 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 235b6a1..ebed743 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 f26fe6d..d5cce39 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 */ |