This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: PATCH: driver/26885: [4.1/4.2 regression] -m64 -m32 no longer creates 32-bit object


On Wed, Apr 26, 2006 at 08:59:24PM -0400, Andrew Pinski wrote:
> > 
> > This updated patch simplifies cancel_option and prune_options a little
> > bit.
> 
> I rather not change the driver.  It seems like there is better way of doing
> this.  Maybe the assembly can support a .machine instead.  (I would hope
> that is a goal in general anyways).

I think it is much better to change the driver.  Gas supports .machine
only on ppc and pdp11 AFAIK (and even then, on ppc you can't change whether
you are assembling ELF32 or ELF64 with it, you can only use -a32 resp. -a64
cmdline option for that) and -m32/-m64 isn't the only mutually exclusive
pair and GCC driver should do the right thing with all of them.

I think H.J.'s patch goes in the right direction.

	Jakub


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