Mark Mitchell <[EMAIL PROTECTED]> writes:

> I would be in favor of making the mode always explicit, as you suggest
> -- but I would prefer that we not embed the assumption that the
> default mode is 64-bit mode in x86-64.h so that we can continue to use
> that file for 32-bit default compilers.  (Perhaps it could go in
> biarch64.h, which assumes 64-bit mode to be the default already?)  Or,
> at least, make it easy for a 32-bit default to override x86-64.h.

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.

zw

Reply via email to