aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-02-05 23:57:39 +0000
committerIan Lance Taylor <ian@airs.com>1996-02-05 23:57:39 +0000
commitcbe75cb664ec5365a378206cda10fce903300e21 (patch)
treed87201023e7e4af6b6decf091c1377907460035a /bfd/coffcode.h
parent1a4dd30e5491edebb953b7e9725ff7c9b634c1a4 (diff)
downloadgdb-cbe75cb664ec5365a378206cda10fce903300e21.zip
gdb-cbe75cb664ec5365a378206cda10fce903300e21.tar.gz
gdb-cbe75cb664ec5365a378206cda10fce903300e21.tar.bz2
* archures.c (bfd_mach_i960_hx): Define.
* bfd-in2.h: Rebuild. * cpu-i960.c (scan_960_mach): Accept machine "hx". (MATRIX): Expand entries for HX. (arch_info_struct): Add i960:hx entry. * bout.c (b_out_set_arch_mach): Handle bfd_mach_i960_hx. * coffcode.h (coff_set_arch_mach_hook): Handle F_I960HX. (coff_set_flags): Handle bfd_mach_i960_hx.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 9699f31..2518f77 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -844,8 +844,7 @@ dependent COFF routines:
.#define bfd_coff_adjust_symndx(obfd, info, ibfd, sec, rel, adjustedp)\
. ((coff_backend_info (abfd)->_bfd_coff_adjust_symndx)\
. (obfd, info, ibfd, sec, rel, adjustedp))
-.#define bfd_coff_link_add_one_symbol(info, abfd, name, flags, section,\
-. value, string, cp, coll, hashp)\
+.#define bfd_coff_link_add_one_symbol(info,abfd,name,flags,section,value,string,cp,coll,hashp)\
. ((coff_backend_info (abfd)->_bfd_coff_link_add_one_symbol)\
. (info, abfd, name, flags, section, value, string, cp, coll, hashp))
.
@@ -1267,6 +1266,9 @@ coff_set_arch_mach_hook (abfd, filehdr)
machine = bfd_mach_i960_xl;
break;
/* end-sanitize-i960xl */
+ case F_I960HX:
+ machine = bfd_mach_i960_hx;
+ break;
}
break;
#endif
@@ -1751,6 +1753,9 @@ coff_set_flags (abfd, magicp, flagsp)
flags = F_I960XL;
break;
/* end-sanitize-i960xl */
+ case bfd_mach_i960_hx:
+ flags = F_I960HX;
+ break;
default:
return false;
}