aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-rs6000.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-10-27 03:36:17 +0000
committerIan Lance Taylor <ian@airs.com>1995-10-27 03:36:17 +0000
commitaad2c618d3e074fe49d42bf79d7f9375c85567ec (patch)
treee0915db931fc30d4322f4bc7ebb7a6486d693bce /bfd/coff-rs6000.c
parent27b44336882751bfbe5baf6f72454bef47acebe9 (diff)
downloadgdb-aad2c618d3e074fe49d42bf79d7f9375c85567ec.zip
gdb-aad2c618d3e074fe49d42bf79d7f9375c85567ec.tar.gz
gdb-aad2c618d3e074fe49d42bf79d7f9375c85567ec.tar.bz2
more XCOFF linker tweaks
Diffstat (limited to 'bfd/coff-rs6000.c')
-rw-r--r--bfd/coff-rs6000.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/coff-rs6000.c b/bfd/coff-rs6000.c
index f837a08..39ad311 100644
--- a/bfd/coff-rs6000.c
+++ b/bfd/coff-rs6000.c
@@ -506,6 +506,7 @@ xcoff_reloc_type_lookup (abfd, code)
case BFD_RELOC_PPC_TOC16:
return &xcoff_howto_table[3];
case BFD_RELOC_32:
+ case BFD_RELOC_CTOR:
return &xcoff_howto_table[0];
default:
return NULL;
@@ -1352,7 +1353,8 @@ const bfd_target rs6000coff_vec =
HAS_SYMS | HAS_LOCALS | WP_TEXT),
(SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC), /* section flags */
- 0, /* leading char */
+ /* Making the leading_char a period should make for nicer messages. */
+ '.', /* leading char */
'/', /* ar_pad_char */
15, /* ar_max_namelen??? FIXMEmgo */