This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] riscv: restore ABI compatibility (bug 24484)
- From: Jim Wilson <jimw at sifive dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: Andreas Schwab <schwab at suse dot de>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 4 Jul 2019 16:41:12 +0800
- Subject: Re: [PATCH] riscv: restore ABI compatibility (bug 24484)
- References: <mvmlfxefbqq.fsf@suse.de> <87muhumces.fsf@oldenburg2.str.redhat.com>
On Thu, Jul 4, 2019 at 4:28 PM Florian Weimer <fweimer@redhat.com> wrote:
> Perhaps indicate somewhere that “a read-only dynamic section is not
> relocated by the loader” or something like that, so that someone not
> familiar with the MIPS mechanism understands the ABI difference?
You could point at the D_PTR macro definition in
sysdeps/generic/ldsodefs.h. Or if you want a user code example there
is
https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=libphobos/libdruntime/gcc/sections/elf_shared.d;h=7f9036bf5052861960f8a1d4a20838437c5c519c;hb=HEAD#l758
Jim