linux/arch/mips/lib
Nathan Chancellor 5dcd5846f1 MIPS: lib: Remove '.hidden' for local symbols
After a recent change in binutils that warns when local symbols have
non-default visibility [1], there are a couple instances when building
arch/mips:

  Assembler messages:
  {standard input}: Warning: local symbol `__memset' has non-default visibility
  Assembler messages:
  {standard input}: Warning: local symbol `__memcpy' has non-default visibility

Remove the '.hidden' directives for these symbols to clear up the
warnings, as they are pointless with a local symbol, which is by
definition hidden. This results in no changes to these symbols in nm's
output when assembled with various copies of binutils.

Closes: https://lore.kernel.org/20260509122517.GA1108596@ax162/
Link: https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=c4150acbda1b3ce0602f79cbb7700b39e577be7e [1]
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2026-06-15 12:21:31 +02:00
..
.gitignore lib/crypto: mips: Move arch/mips/lib/crypto/ into lib/crypto/ 2025-06-30 09:26:20 -07:00
bitops.c mips: implement xor_unlock_is_negative_byte 2023-10-18 14:34:17 -07:00
bswapdi.c MIPS: Simplify __bswapdi2() and __bswapsi2() 2022-09-30 16:50:00 +02:00
bswapsi.c MIPS: Simplify __bswapdi2() and __bswapsi2() 2022-09-30 16:50:00 +02:00
csum_partial.S mips: replace #include <asm/export.h> with #include <linux/export.h> 2023-08-15 10:22:23 +02:00
delay.c MIPS: remove asm/war.h 2022-02-22 09:35:49 +01:00
dump_tlb.c MIPS: Remove VR41xx support 2022-07-14 11:52:29 +02:00
iomap_copy.c
iomap-pci.c mips: export pci_iounmap() 2025-03-19 18:59:13 +01:00
libgcc.h
Makefile Crypto library updates for 6.17 2025-07-28 17:58:52 -07:00
memcpy.S MIPS: lib: Remove '.hidden' for local symbols 2026-06-15 12:21:31 +02:00
memset.S MIPS: lib: Remove '.hidden' for local symbols 2026-06-15 12:21:31 +02:00
mips-atomic.c MIPS: Fix kernel hang under FUNCTION_GRAPH_TRACER and PREEMPT_TRACER 2021-05-25 15:33:17 +02:00
multi3.c MIPS: Fix the GCC version check for `__multi3' workaround 2026-04-01 21:53:18 +02:00
r3k_dump_tlb.c MIPS: Remove TX39XX support 2022-03-01 10:07:22 +01:00
strncpy_user.S mips: replace #include <asm/export.h> with #include <linux/export.h> 2023-08-15 10:22:23 +02:00
strnlen_user.S mips: replace #include <asm/export.h> with #include <linux/export.h> 2023-08-15 10:22:23 +02:00
uncached.c MIPS: Only use current_stack_pointer on GCC 2022-03-14 15:02:53 +01:00