This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: More i386 architectures?


On Wed, Nov 28, 2001 at 03:17:35PM -0500, Andrew Cagney wrote:
> > 
> > +      strcpy (p, cpu_arch_name);
> 
> I wonder what cpu_arch_name is.  Hmm, "i8086", ....., "sledgehammer", 
> ...  One thought is to use names found in archures so that GDB can 
> continue to use BFD to do lookups etc on them.  Another is to formalize 
> the interface to that table.  Either way the objective is to provide a 
> consistent namespace across GAS, OBJDUMP and GDB.

My idea with the note was to provide more detail than the existing bfd
architecture info does.

> If the user specifies an option something like -mi8066, does that also 
> set cpu_arch_name and hence select the architecture?

No.  Most current assembly won't even emit the note as you only get it
if the source has a .arch directive.

> W.r.t. linking, if there were multiple .note sections then they would be 
> concatenated (in command line order)?

Yes.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]