This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] mips64-linux-gnu abi_check issues
Benjamin Kosnik writes:
> On powerpc64 and x86_64 multilibs, the 64-ish ABIs go into the top layer
> and the 32-ish ABIs go into a nested directory. What you are proposing
> breaks with that, as I understand it. Perhaps this is temporary, while
> you hack on the multilibs for mips64?
Actually no and I am sorry I should have mentioned this but the existing
infrastructure already works with multilibs out of the box. All I was doing
is to start with the default ABI (I happened to have configured my baseline
with --disable-multlib :-(). N32 resides in . for MIPS64. I.e.,
$ ./xgcc -print-multi-lib
.;
32;@mabi=32
64;@mabi=64
$ ./xgcc -print-multi-directory -mabi=n32
.
and libstdc++-v3/acinclue.m3 already has this:
baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUB\
DIR)"
so I expect that n64 will go into /64 and maybe a copy of the o32 baseline to
/32 and the machinery would just do the right thing.
Adam