* nlmconv.c (main): Use CyGnUsEx rather than CyGnUsSeCs for

sections header.  Rename from cygnus_sections to cygnus_ext.
This commit is contained in:
Ian Lance Taylor 1994-04-22 15:15:42 +00:00
parent 7f772644c7
commit 162794fe9d
2 changed files with 8 additions and 4 deletions

View 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.

View 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);