public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* How do we use -mabi= for mips?
@ 2001-11-19  5:31 H . J . Lu
  2001-11-19  7:49 ` Eric Christopher
  2001-11-27 11:47 ` H . J . Lu
  0 siblings, 2 replies; 6+ messages in thread
From: H . J . Lu @ 2001-11-19  5:31 UTC (permalink / raw)
  To: Eric Christopher; +Cc: gcc

Since the -mabi= switch is only supported when mips/abi64.h is
include, does the part of this patch

http://gcc.gnu.org/ml/gcc-patches/2001-11/msg00026.html

        * config/mips/mips.h (ABI_GAS_ASM_SPEC): Add defaults.  Adjust
        #if/#endif.
        * config/mips/mips.c: Define mips_abi regardless.
        (override_options): Allow use of ABI_32.

make any senses for trargets which don't include mips/abi64.h?



H.J.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How do we use -mabi= for mips?
  2001-11-19  5:31 How do we use -mabi= for mips? H . J . Lu
@ 2001-11-19  7:49 ` Eric Christopher
  2001-11-19 11:15   ` Eric Christopher
  2001-11-27 13:07   ` Eric Christopher
  2001-11-27 11:47 ` H . J . Lu
  1 sibling, 2 replies; 6+ messages in thread
From: Eric Christopher @ 2001-11-19  7:49 UTC (permalink / raw)
  To: H . J . Lu; +Cc: gcc

On Tue, 2001-11-27 at 11:47, H . J . Lu wrote:
> Since the -mabi= switch is only supported when mips/abi64.h is
> include, does the part of this patch
> 
> http://gcc.gnu.org/ml/gcc-patches/2001-11/msg00026.html
> 
>         * config/mips/mips.h (ABI_GAS_ASM_SPEC): Add defaults.  Adjust
>         #if/#endif.
>         * config/mips/mips.c: Define mips_abi regardless.
>         (override_options): Allow use of ABI_32.
> 
> make any senses for trargets which don't include mips/abi64.h?

Possibly not. I may want to move the abi handling into the main part of
the compiler to allow for abi switching normally.  (Once the n32/n64
work is done in binutils this could be useful...)

-eric

-- 
Fridays are not "pants optional"

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How do we use -mabi= for mips?
  2001-11-19  7:49 ` Eric Christopher
@ 2001-11-19 11:15   ` Eric Christopher
  2001-11-27 14:45     ` Eric Christopher
  2001-11-27 13:07   ` Eric Christopher
  1 sibling, 1 reply; 6+ messages in thread
From: Eric Christopher @ 2001-11-19 11:15 UTC (permalink / raw)
  To: gcc

> Possibly not. I may want to move the abi handling into the main part of
> the compiler to allow for abi switching normally.  (Once the n32/n64
> work is done in binutils this could be useful...)
>

As an addendum this isn't really useful for anything other than mips3 or
mips4, however, we build those multilibs in mips-elf.

-eric


-- 
Fridays are not "pants optional"

^ permalink raw reply	[flat|nested] 6+ messages in thread

* How do we use -mabi= for mips?
  2001-11-19  5:31 How do we use -mabi= for mips? H . J . Lu
  2001-11-19  7:49 ` Eric Christopher
@ 2001-11-27 11:47 ` H . J . Lu
  1 sibling, 0 replies; 6+ messages in thread
From: H . J . Lu @ 2001-11-27 11:47 UTC (permalink / raw)
  To: Eric Christopher; +Cc: gcc

Since the -mabi= switch is only supported when mips/abi64.h is
include, does the part of this patch

http://gcc.gnu.org/ml/gcc-patches/2001-11/msg00026.html

        * config/mips/mips.h (ABI_GAS_ASM_SPEC): Add defaults.  Adjust
        #if/#endif.
        * config/mips/mips.c: Define mips_abi regardless.
        (override_options): Allow use of ABI_32.

make any senses for trargets which don't include mips/abi64.h?



H.J.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How do we use -mabi= for mips?
  2001-11-19  7:49 ` Eric Christopher
  2001-11-19 11:15   ` Eric Christopher
@ 2001-11-27 13:07   ` Eric Christopher
  1 sibling, 0 replies; 6+ messages in thread
From: Eric Christopher @ 2001-11-27 13:07 UTC (permalink / raw)
  To: H . J . Lu; +Cc: gcc

On Tue, 2001-11-27 at 11:47, H . J . Lu wrote:
> Since the -mabi= switch is only supported when mips/abi64.h is
> include, does the part of this patch
> 
> http://gcc.gnu.org/ml/gcc-patches/2001-11/msg00026.html
> 
>         * config/mips/mips.h (ABI_GAS_ASM_SPEC): Add defaults.  Adjust
>         #if/#endif.
>         * config/mips/mips.c: Define mips_abi regardless.
>         (override_options): Allow use of ABI_32.
> 
> make any senses for trargets which don't include mips/abi64.h?

Possibly not. I may want to move the abi handling into the main part of
the compiler to allow for abi switching normally.  (Once the n32/n64
work is done in binutils this could be useful...)

-eric

-- 
Fridays are not "pants optional"

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: How do we use -mabi= for mips?
  2001-11-19 11:15   ` Eric Christopher
@ 2001-11-27 14:45     ` Eric Christopher
  0 siblings, 0 replies; 6+ messages in thread
From: Eric Christopher @ 2001-11-27 14:45 UTC (permalink / raw)
  To: gcc

> Possibly not. I may want to move the abi handling into the main part of
> the compiler to allow for abi switching normally.  (Once the n32/n64
> work is done in binutils this could be useful...)
>

As an addendum this isn't really useful for anything other than mips3 or
mips4, however, we build those multilibs in mips-elf.

-eric


-- 
Fridays are not "pants optional"

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-11-27 22:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-19  5:31 How do we use -mabi= for mips? H . J . Lu
2001-11-19  7:49 ` Eric Christopher
2001-11-19 11:15   ` Eric Christopher
2001-11-27 14:45     ` Eric Christopher
2001-11-27 13:07   ` Eric Christopher
2001-11-27 11:47 ` H . J . Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).