aboutsummaryrefslogtreecommitdiff
path: root/ld/ld-lnk960.c
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-04-19 01:05:13 +0000
committerSteve Chamberlain <steve@cygnus>1991-04-19 01:05:13 +0000
commit3cc2ca3f5c5bd9409b41212edd5f370df9a3ff3f (patch)
treec0f6baaeb9faa4992e709bde02668ef8b285e33d /ld/ld-lnk960.c
parent5f288d8af8f1e9e0b73368fbf123b036b8c3aaa4 (diff)
downloadgdb-3cc2ca3f5c5bd9409b41212edd5f370df9a3ff3f.zip
gdb-3cc2ca3f5c5bd9409b41212edd5f370df9a3ff3f.tar.gz
gdb-3cc2ca3f5c5bd9409b41212edd5f370df9a3ff3f.tar.bz2
Added patch from chrisb
Diffstat (limited to 'ld/ld-lnk960.c')
-rwxr-xr-xld/ld-lnk960.c24
1 files changed, 7 insertions, 17 deletions
diff --git a/ld/ld-lnk960.c b/ld/ld-lnk960.c
index d099d96..984ed2e 100755
--- a/ld/ld-lnk960.c
+++ b/ld/ld-lnk960.c
@@ -166,29 +166,19 @@ static void lnk960_after_parse()
}
/* if there has been no hll list then add our own */
-
+
if(had_hll && !had_hll_name) {
- append(&hll_list_tail,"c");
- if (lang_float_flag == true) {
- append(&hll_list_tail,"m");
- }
- else {
- append(&hll_list_tail,"mstub");
- }
+ append(&hll_list_tail,"cg");
if (ldfile_output_machine == bfd_mach_i960_ka_sa ||
- ldfile_output_machine == bfd_mach_i960_ca) {
- {
- append(&hll_list_tail,"f");
- }
+ ldfile_output_machine == bfd_mach_i960_ca) {
+ {
+ append(&hll_list_tail,"fpg");
+ }
}
}
-
-
-
+
add_on(hll_list, lang_input_file_is_l_enum);
add_on(syslib_list, lang_input_file_is_search_file_enum);
-
-
}
static void