Changeset 2670 for trunk/binutils


Ignore:
Timestamp:
Mar 19, 2006, 5:32:41 AM (19 years ago)
Author:
bird
Message:

synced with current libc-0.6(.1) changes.

Location:
trunk/binutils
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/binutils/gas/as.c

    r2448 r2670  
    120120
    121121
     122#ifdef __EMX__
     123# include <sys/emxload.h>
     124#endif
    122125#ifdef EMX
    123126static char *omf_file_name;
     
    224227
    225228#ifdef BFD_ASSEMBLER
    226   fprintf (stderr, _("GNU assembler version %s (%s) using BFD version %s (Innotek Build 2005-11-15 03:52)"),
     229  fprintf (stderr, _("GNU assembler version %s (%s) using BFD version %s"),
    227230           VERSION, TARGET_ALIAS, BFD_VERSION_STRING);
    228231#else
     
    546549          /* This output is intended to follow the GNU standards document.  */
    547550#ifdef BFD_ASSEMBLER
    548           printf (_("GNU assembler %s (Innotek Build 2005-11-15 03:52)\n"), BFD_VERSION_STRING);
     551          printf (_("GNU assembler %s\n"), BFD_VERSION_STRING);
    549552#else
    550           printf (_("GNU assembler %s (Innotek Build 2005-11-15 03:52)\n"), VERSION);
     553          printf (_("GNU assembler %s\n"), VERSION);
    551554#endif
    552555          printf (_("Copyright 2002 Free Software Foundation, Inc.\n"));
     
    861864  if (emx_omf)
    862865    {
    863       char *tmp_dir;
    864       size_t tmp_dir_len;
    865 
    866866      omf_file_name = out_file_name;
    867       tmp_dir = getenv ("TMPDIR");
    868       if (tmp_dir == NULL) tmp_dir = getenv ("TMP");
    869       if (tmp_dir == NULL) tmp_dir = getenv ("TEMP");
    870       if (tmp_dir == NULL) tmp_dir = ".";
    871       tmp_dir_len = strlen (tmp_dir);
    872       out_file_name = xmalloc (tmp_dir_len + 10);
    873       memcpy (out_file_name, tmp_dir, tmp_dir_len);
    874       if (tmp_dir_len != 0 && strchr ("\\/:", tmp_dir[tmp_dir_len-1]) == NULL)
    875         out_file_name[tmp_dir_len++] = '\\';
    876       strcpy (out_file_name + tmp_dir_len, "asXXXXXX");
    877       if (mktemp (out_file_name) == NULL)
    878         as_fatal ("mktemp() failed");
     867      out_file_name = make_temp_file ("asXXXXXX");
    879868    }
    880869#endif /* EMX */
  • trunk/binutils/ltcf-c.sh

    r1142 r2670  
    490490    allow_undefined_flag=no
    491491    archive_cmds='$echo "LIBRARY $soname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags ${LT_OS2_LDFLAGS} $output_objdir/$libname.def'
    492     old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
     492    old_archive_from_new_cmds='rm -f $output_objdir/$libname.a~emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
    493493    ;;
    494494
Note: See TracChangeset for help on using the changeset viewer.