public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Allow memset local PLT reference for RISC-V.
@ 2020-06-22 21:10 Alistair Francis
  2020-06-23  7:19 ` Andreas Schwab
  2020-06-25 21:27 ` Palmer Dabbelt
  0 siblings, 2 replies; 39+ messages in thread
From: Alistair Francis @ 2020-06-22 21:10 UTC (permalink / raw)
  To: libc-alpha; +Cc: alistair23, Alistair Francis

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.
---
 sysdeps/unix/sysv/linux/riscv/localplt.data | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sysdeps/unix/sysv/linux/riscv/localplt.data b/sysdeps/unix/sysv/linux/riscv/localplt.data
index 0ed8650b65..0a235592c3 100644
--- a/sysdeps/unix/sysv/linux/riscv/localplt.data
+++ b/sysdeps/unix/sysv/linux/riscv/localplt.data
@@ -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
-- 
2.27.0


^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2020-09-12 22:02 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-22 21:10 [PATCH] Allow memset local PLT reference for RISC-V Alistair Francis
2020-06-23  7:19 ` Andreas Schwab
2020-06-24 22:25   ` Alistair Francis
2020-06-25  7:20     ` Florian Weimer
2020-06-25 18:16       ` Vineet Gupta
2020-06-25 18:41         ` Florian Weimer
2020-06-26  3:58           ` Vineet Gupta
2020-06-29  9:11     ` Florian Weimer
2020-06-29 15:58       ` Alistair Francis
2020-06-29 16:00         ` Alistair Francis
2020-06-29 16:18           ` Florian Weimer
2020-06-29 16:11         ` Florian Weimer
2020-06-29 16:15           ` Alistair Francis
2020-06-29 16:30             ` Florian Weimer
2020-06-29 16:25               ` Alistair Francis
2020-06-29 16:39                 ` Florian Weimer
2020-06-29 16:39                   ` Alistair Francis
2020-06-29 16:53                     ` Florian Weimer
2020-06-29 17:01                       ` Andreas Schwab
2020-06-29 17:05                         ` Florian Weimer
2020-06-29 17:44                           ` Andreas Schwab
2020-06-30  0:26                           ` Jim Wilson
2020-07-01  0:45                             ` Maciej W. Rozycki
2020-07-10 21:35                               ` Alistair Francis
2020-07-10 22:34                                 ` H.J. Lu
2020-07-12  1:32                                 ` Maciej W. Rozycki
2020-07-14  2:07                                   ` RISC-V: `ld.so' fails linking against `libgcc.a' built at `-O0' (was: Re: [PATCH] Allow memset local PLT reference for RISC-V.) Maciej W. Rozycki
2020-07-14  5:21                                     ` RISC-V: `ld.so' fails linking against `libgcc.a' built at `-O0' Andreas Schwab
2020-07-14  6:27                                       ` Richard Biener
2020-07-14  9:35                                         ` Maciej W. Rozycki
2020-08-20 22:39                                   ` [PATCH] Allow memset local PLT reference for RISC-V Alistair Francis
2020-08-21 10:44                                     ` Maciej W. Rozycki
2020-08-27 18:31                                       ` Alistair Francis
2020-09-12 21:51                                         ` Alistair Francis
2020-06-29 17:00             ` Andreas Schwab
2020-06-29 17:13               ` Florian Weimer
2020-06-29 17:46                 ` Andreas Schwab
2020-06-25  0:20   ` Vineet Gupta
2020-06-25 21:27 ` Palmer Dabbelt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).