This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: PLT / non-PIC executable support for MIPS
On Sun, Mar 28, 2010 at 08:16:54PM +0000, Joseph S. Myers wrote:
> Given that it's only set for the executable, should we still say that
> numbers higher than 1 are used for STB_GNU_UNIQUE (and STT_GNU_IFUNC if
> MIPS gets support for that in future) on MIPS to avoid confusion? With 1
> being accepted with ELFOSABI_SYSV but higher values only for
> ELFOSABI_LINUX.
>
> (I don't actually see any static linker support to set the ABI versions
> for STB_GNU_UNIQUE and STT_GNU_IFUNC that libc now checks for; I presume
> that will be forthcoming in due course.)
I'm not sure. I think this might be a good question to get Roland's
opinion on... I do not see how having one copy of the file in ports,
and another in glibc, should work. It has to be append-only.
Historically, we've used abiversion 1 already. So reusing it for
UNIQUE does not seem like a good idea.
If glibc is still not checking the abi version of the main executable,
then that seems a serious problem. But that may not matter.
--
Daniel Jacobowitz
CodeSourcery