Procházet zdrojové kódy

riscv: mark __restore and __restore_rt hidden

Alex Rønne Petersen před 6 měsíci
rodič
revize
362fc54572
2 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 2 0
      src/signal/riscv32/restore.s
  2. 2 0
      src/signal/riscv64/restore.s

+ 2 - 0
src/signal/riscv32/restore.s

@@ -1,7 +1,9 @@
 .global __restore
+.hidden __restore
 .type __restore, %function
 __restore:
 .global __restore_rt
+.hidden __restore_rt
 .type __restore_rt, %function
 __restore_rt:
 	li a7, 139 # SYS_rt_sigreturn

+ 2 - 0
src/signal/riscv64/restore.s

@@ -1,7 +1,9 @@
 .global __restore
+.hidden __restore
 .type __restore, %function
 __restore:
 .global __restore_rt
+.hidden __restore_rt
 .type __restore_rt, %function
 __restore_rt:
 	li a7, 139 # SYS_rt_sigreturn