This is the mail archive of the 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: RFC: Do not install specs file

On Jan 16, 2005, Richard Sandiford <> wrote:

> This all raises the question of whether we still need o32 to be the
> default multilib.


> but these days, the SONAMEs of all three libgccs are "".
> Did they used to be different?

Before multi-os-dir, I think so.

> Also, was the name of libgcc the only reason for making o32 the
> default multilib, or were there others?

Link-time pathname and SONAME were the two reasons.  With
multi-os-dir, the latter is addressed, and the former is not
essential, although I thought it was desirable at that time.

> 	* config.gcc (mips64*-*-linux*): Set the default abi to n32.  Remove
> 	redundant target_cpu_default and extra_parts lines.  Use the default
> 	"from-abi" ISA.
> 	* config/mips/linux64.h (DRIVER_DEFAULT_ABI_SELF_SPEC): Delete.
> 	(DRIVER_SELF_SPECS): Remove architecture lines.  Set the ABI directly.
> 	(SUBTARGET_ASM_SPEC): Remove -mabi=n32 and -mabi=64 mappings.
> 	* config/mips/t-linux64 (MULTILIB_DIRNAMES): Use "32" for -mabi=32
> 	and "n32" for -mabi=n32.
> 	(SHLIB_INSTALL): If the link-time name ends in, create an
> 	equivalent .so link for 32-bit toolchains.

I like this.  Thanks for catching my mistake.

>  #define DRIVER_SELF_SPECS \
>  "%{!EB:%{!EL:%(endian_spec)}}", \
> -"%(driver_default_abi_self_spec)", \
> -"%{!mips*:%{!march=*:%{mabi=32:-mips1}%{mabi=n32|mabi=64:-mips3}}}"
> +"%{!mabi=*: -mabi=n32}"
Do you really need the explicit -mabi=n32 now?

> -%{mabi=64:-64} %{mabi=n32:-n32}"

Doesn't gas need these flags any more?

> +# Install a link that 32-bit toolchains can use.
> +	case $(SHLIB_SOLINK) in \
> +	  * \


Alexandre Oliva   
Red Hat Compiler Engineer   aoliva@{,}
Free Software Evangelist  oliva@{,}

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