Prechádzať zdrojové kódy

riscv: mark __restore and __restore_rt hidden

Alex Rønne Petersen 6 mesiacov pred
rodič
commit
362fc54572

+ 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