aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/lnk960.em
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emultempl/lnk960.em')
-rw-r--r--ld/emultempl/lnk960.em37
1 files changed, 0 insertions, 37 deletions
diff --git a/ld/emultempl/lnk960.em b/ld/emultempl/lnk960.em
index f3bc901..7d9176e 100644
--- a/ld/emultempl/lnk960.em
+++ b/ld/emultempl/lnk960.em
@@ -81,32 +81,6 @@ lnk960_syslib (char *name)
}
-#ifdef GNU960
-
-static void
-lnk960_before_parse (void)
-{
- static char *env_variables[] = { "G960LIB", "G960BASE", 0 };
- char **p;
- char *env ;
-
- for (p = env_variables; *p; p++)
- {
- env = (char *) getenv (*p);
- if (env)
- ldfile_add_library_path (concat (env, "/lib/libcoff", NULL), FALSE);
- }
-
- env = (char *) getenv ("I960BASE");
- if (env)
- ldfile_add_library_path (concat (env, "/lib", NULL), FALSE);
-
- ldfile_output_architecture = bfd_arch_i960;
- ldfile_output_machine = bfd_mach_i960_core;
-}
-
-#else /* not GNU960 */
-
static void
lnk960_before_parse (void)
{
@@ -124,9 +98,6 @@ lnk960_before_parse (void)
ldfile_output_machine = bfd_mach_i960_core;
}
-#endif /* GNU960 */
-
-
static void
add_on (lib_list_type *list, lang_input_file_enum_type search)
{
@@ -229,12 +200,6 @@ lnk960_set_output_arch (void)
static char *
lnk960_choose_target (int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED)
{
-#ifdef GNU960
-
- return bfd_make_targ_name (BFD_COFF_FORMAT, 0);
-
-#else
-
char *from_outside = getenv (TARGET_ENVIRON);
if (from_outside != (char *) NULL)
return from_outside;
@@ -243,8 +208,6 @@ lnk960_choose_target (int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED)
#else
return "coff-Intel-big";
#endif
-#endif
-
}
static char *