This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
bfd-name
- To: cgen development <cgen at sources dot redhat dot com>
- Subject: bfd-name
- From: Ben Elliston <bje at redhat dot com>
- Date: Sun, 26 Nov 2000 10:14:51 +1100 (EST)
Moving onto the next problem :-), I see that cgen-generated simulators use
lookup_mach_by_bfd_name to see if the mach can run that object code (as
determined by sim_analyze_program and some BFD library calls).
What can be done to solve the problem of having a one-to-one correspondence
between mach and bfd name? Suppose that the armv5 mach can load and execute
armv4 object files as well -- currently, unless these machs are entirely
specified, the sim will reject the armv4 object files.
Would it make sense to allow bfd-name to be a list of bfd names?
Thinking out loud,
Ben