Changeset 100 for trunk/src/binutils/ld


Ignore:
Timestamp:
May 7, 2003, 5:00:11 PM (22 years ago)
Author:
bird
Message:

review. Added some comments and #ifs.

Location:
trunk/src/binutils/ld
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/binutils/ld/ldctor.c

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r99 r100  
    363363              if (e->name != NULL)
    364364                minfo ("%T\n", e->name);
    365               else if (e->section->owner)
     365#ifdef __EMX__ /* r=bird: Is this workaround for a crash something? */
     366              else if (e->section->owner != NULL)
    366367                minfo ("%G\n", e->section->owner, e->section, e->value);
    367368              else
    368369                minfo ("*unknown*\n");
     370#else
     371              else
     372                minfo ("%G\n", e->section->owner, e->section, e->value);
     373#endif
    369374            }
    370375
  • trunk/src/binutils/ld/ldemul.c

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r99 r100  
    305305}
    306306
     307/* Added by the EMX/OS2 port */
    307308void
    308309ldemul_finish_link (char *filename)
  • trunk/src/binutils/ld/ldemul.h

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r99 r100  
    140140    PARAMS ((char *, struct lang_input_statement_struct *));
    141141
    142   /* Perform final action(s) on output file */
     142  /* Perform final action(s) on output file
     143     Note: Added by the EMX/OS2 port, so keep it at the end! */
    143144  void (*finish_link) PARAMS ((char *));
    144145
  • trunk/src/binutils/ld/ldfile.c

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r99 r100  
    240240           arch = arch->next)
    241241        {
    242 #if defined (__EMX__)
     242#if defined (__EMX__) /* Target feature really, but no target define to test on. */
    243243          found = ldfile_open_file_search (arch->name, entry, "", ".a");
    244244          if (found)
  • trunk/src/binutils/ld/ldmain.c

    • Property cvs2svn:cvs-rev changed from 1.2 to 1.3
    r99 r100  
    406406        einfo (_("%F%B: final close failed: %E\n"), output_bfd);
    407407
    408       /* Perform the final actions on output file */
     408      /* Perform the final actions on output file
     409       * (Added by the EMX/OS2 port) */
    409410      ldemul_finish_link (output_filename);
    410411
Note: See TracChangeset for help on using the changeset viewer.