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] |
On Fri, Jan 25, 2002 at 02:05:19PM -0500, Jimi X wrote: > > in bfd/archures.c:165 (and then bfd-in2.h) bfd_mach_ppc is defined as > 0. > > this causes bfd_default_set_arch_mach() (bfd/archures.c:592) to choose > the 32bit powerpc (bfd/cpu-powerpc.c:222) register definition > regardless of the target size. Hi Jimi, I think bfd_mach_ppc is intentionally set to zero as a default mach to cover all ppc variants. Hmm, I guess the real bug is in the order in which the archs are scanned. cpu-powerpc.c ought to look at bfd_mach_ppc _last_. Could you try the attached diff? -- Alan Modra IBM OzLabs - Linux Technology Centre
Attachment:
bfd.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |