This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Explicitly pass --64 to assembler on AMD64 targets
On Mon, Jun 13, 2005 at 07:17:24PM -0700, Zack Weinberg wrote:
> Or, if GAS can be told which mode it should be in via directives in
> its input (.code32/.code64?), then we could add something like
>
> fputs (TARGET_64BIT ? "\t.code64\n" : "\t.code32",
> asm_out_file);
>
> to x86_file_start, and kill the spec hackery altogether.
I'm a fan of such directives. I suspect that we'll have to keep
the spec hackery for a while yet. We don't usually force binutils
upgrades with compiler upgrades...
r~