diff options
author | Ben Elliston <bje@au.ibm.com> | 2005-02-24 20:11:05 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2005-02-24 20:11:05 +0000 |
commit | 0ef622cbcfcadaf9484a6e4e06ea8757dce510e3 (patch) | |
tree | dfd31e9a468d2623b791c7f8f683f70c8f89af5c /ld/emultempl/gld960c.em | |
parent | 60b779bff6791dc45ae0ba6c7a9cc1d0579d6f6b (diff) | |
download | gdb-0ef622cbcfcadaf9484a6e4e06ea8757dce510e3.zip gdb-0ef622cbcfcadaf9484a6e4e06ea8757dce510e3.tar.gz gdb-0ef622cbcfcadaf9484a6e4e06ea8757dce510e3.tar.bz2 |
* ldfile.c: Remove GNU960 conditional code.
* emultempl/gld960.em: Likewise.
* emultempl/gld960c.em: Likewise.
* emultempl/lnk960.em: Likewise.
Diffstat (limited to 'ld/emultempl/gld960c.em')
-rw-r--r-- | ld/emultempl/gld960c.em | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/ld/emultempl/gld960c.em b/ld/emultempl/gld960c.em index ef2293e..a24772c 100644 --- a/ld/emultempl/gld960c.em +++ b/ld/emultempl/gld960c.em @@ -41,29 +41,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "ldfile.h" #include "ldemul.h" -#ifdef GNU960 - -static void -gld960_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", - (const char *) NULL), - FALSE); - } - } - ldfile_output_architecture = bfd_arch_i960; -} - -#else /* not GNU960 */ - static void gld960_before_parse (void) { char *env ; @@ -78,9 +55,6 @@ static void gld960_before_parse (void) ldfile_output_architecture = bfd_arch_i960; } -#endif /* GNU960 */ - - static void gld960_set_output_arch (void) { @@ -102,13 +76,6 @@ gld960_set_output_arch (void) static char * gld960_choose_target (int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) { -#ifdef GNU960 - - output_filename = "b.out"; - return bfd_make_targ_name(BFD_BOUT_FORMAT, 0); - -#else - char *from_outside = getenv(TARGET_ENVIRON); output_filename = "b.out"; @@ -116,8 +83,6 @@ gld960_choose_target (int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) return from_outside; return "coff-Intel-little"; - -#endif } static char * |