* nlmconv.c (main): Use CyGnUsEx rather than CyGnUsSeCs for
authorIan Lance Taylor <ian@airs.com>
Fri, 22 Apr 1994 15:15:42 +0000 (15:15 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 22 Apr 1994 15:15:42 +0000 (15:15 +0000)
sections header.  Rename from cygnus_sections to cygnus_ext.

binutils/ChangeLog
binutils/nlmconv.c

index 19fb8babc6a6374bdc0d001c32a8da5c593ebde1..d48510facb45f6fde1267754807fb81dbea7a91f 100644 (file)
@@ -1,3 +1,8 @@
+Fri Apr 22 11:14:19 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * nlmconv.c (main): Use CyGnUsEx rather than CyGnUsSeCs for
+       sections header.  Rename from cygnus_sections to cygnus_ext.
+
 Thu Apr 21 12:12:26 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 
        * objdump.c (_DUMMY_NAME_): Don't define.
index 90178cf53a5725cc145a463b195a84f2a93483a1..d421e39bd23f2cf1eefb34a211a9c8e330571ba2 100644 (file)
@@ -864,7 +864,7 @@ main (argc, argv)
      is what NLMLINK does.  */
   strncpy (nlm_extended_header (outbfd)->stamp, "MeSsAgEs", 8);
 
-  strncpy (nlm_cygnus_section_header (outbfd)->stamp, "CyGnUsSeCs", 10);
+  strncpy (nlm_cygnus_ext_header (outbfd)->stamp, "CyGnUsEx", 8);
 
   /* If the date was not given, force it in.  */
   if (nlm_version_header (outbfd)->month == 0
@@ -1078,9 +1078,8 @@ main (argc, argv)
   strncpy (nlm_variable_header (outbfd)->oldThreadName, " LONG",
           NLM_OLD_THREAD_NAME_LENGTH);
 
-  nlm_cygnus_section_header (outbfd)->offset = secsec->filepos;
-  nlm_cygnus_section_header (outbfd)->length =
-    bfd_section_size (outbfd, secsec);
+  nlm_cygnus_ext_header (outbfd)->offset = secsec->filepos;
+  nlm_cygnus_ext_header (outbfd)->length = bfd_section_size (outbfd, secsec);
 
   if (! bfd_close (outbfd))
     bfd_fatal (output_file);