Sat Dec 12 15:54:36 1992 Ian Lance Taylor (ian@cygnus.com)
authorIan Lance Taylor <ian@airs.com>
Sun, 13 Dec 1992 00:52:11 +0000 (00:52 +0000)
committerIan Lance Taylor <ian@airs.com>
Sun, 13 Dec 1992 00:52:11 +0000 (00:52 +0000)
* coff-i386.c (CALC_ADDEND): if reloc is PC relative, add the
vaddr of the section to the addend.
* targets.c: if MINIMIZE is 1, and SCO_CORE is defined, add
SCO_CORE to SELECT_VECS.
(target_vector): add sco_core_vec.
* sco-core.c (sco_core_vec): add leading underscore initializer.
* configure.in (i[34]86-*-sco*): use target i386-sco.
* config/i386-sco.mt: new file; define SCO_CORE.

bfd/sco-core.c

index dfbaa78..01aac6c 100644 (file)
@@ -269,9 +269,10 @@ bfd_target sco_core_vec =
    HAS_SYMS | HAS_LOCALS | DYNAMIC | WP_TEXT),
 
   (SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC), /* section flags */
-    ' ',                                                  /* ar_pad_char */
-    16,                                                           /* ar_max_namelen */
-    3,                                                    /* minimum alignment power */
+    0,                                         /* leading underscore */
+    ' ',                                       /* ar_pad_char */
+    16,                                                /* ar_max_namelen */
+    3,                                         /* minimum alignment power */
     NO_GET, NO_PUT, NO_GET, NO_PUT, NO_GET, NO_PUT, /* data */
     NO_GET, NO_PUT, NO_GET, NO_PUT, NO_GET, NO_PUT, /* hdrs */