]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Remove xenix support from bootstrap tool mklink.c.
authorGaius Mulley <gaiusmod2@gmail.com>
Mon, 7 Nov 2022 19:08:06 +0000 (19:08 +0000)
committerGaius Mulley <gaiusmod2@gmail.com>
Mon, 7 Nov 2022 19:08:06 +0000 (19:08 +0000)
Remove conditional filename truncation necessary under XENIX.

gcc/m2/ChangeLog:

* tools-src/mklink.c

Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
gcc/m2/tools-src/mklink.c

index 9d3c7fc1dbbac89b74fae42a855969a091cebeb1..fb95fd433698cca684d9858643497d239d904917 100644 (file)
@@ -264,9 +264,6 @@ ParseFileLinkCommand (void)
   while (PutChar (GetChar ()) != (char)EOF)
     {
       CopyUntilEolInto (name);
-#if defined(XENIX)
-      name[10] = (char)0; /* truncate object file name.  */
-#endif
       if ((strlen (name) > 0) && (name[0] != '#'))
         FindObject (name);
     }