]> sourceware.org Git - glibc.git/commitdiff
Allow memset local PLT reference for RISC-V.
authorAlistair Francis <alistair.francis@wdc.com>
Fri, 19 Jun 2020 16:00:23 +0000 (09:00 -0700)
committerAlistair Francis <alistair.francis@wdc.com>
Thu, 17 Sep 2020 17:51:43 +0000 (10:51 -0700)
This is similar to commit a26e2e9feab87d4f745c31411458b048742ac733
"Allow memset local PLT reference for powerpc soft-float.".

GCC 10.1 results in the localplt test failing for RISC-V.

From the original commit for power-pc:
    Since memset is documented as a function GCC may always implicitly
    generate calls to, it seems reasonable to allow that local PLT
    reference (just like those for libgcc functions that GCC implicitly
    generates calls to and that are also exported from libc.so), which
    this patch does.

Acked-by: Palmer Dabbelt <palmerdabbelt@google.com>
sysdeps/unix/sysv/linux/riscv/localplt.data

index 0ed8650b65a0ecbf32700c89c1703fdb24c4cfc5..0a235592c3e4261cb7994dbe2bdb1c3fcbc05864 100644 (file)
@@ -5,6 +5,7 @@ libc.so: calloc
 libc.so: free
 libc.so: malloc
 libc.so: memalign
+libc.so: memset ?
 libc.so: realloc
 # The TLS-enabled version of these functions is interposed from libc.so.
 ld.so: _dl_signal_error
This page took 0.047083 seconds and 5 git commands to generate.