File tree 6 files changed +34
-2
lines changed
include/riscv64-linux-gnu/gnu
6 files changed +34
-2
lines changed Original file line number Diff line number Diff line change 34
34
<https://www.gnu.org/licenses/>. */
35
35
36
36
#include <stddef.h>
37
+ #include <elf-initfini.h>
37
38
38
39
39
40
/* These magic symbols are provided by the linker. */
Original file line number Diff line number Diff line change
1
+ #define NO_INITFINI 1
Original file line number Diff line number Diff line change 56
56
# define cfi_personality (enc , exp ) .cfi_personality enc, exp
57
57
# define cfi_lsda (enc , exp ) .cfi_lsda enc, exp
58
58
59
+ # ifndef __clang__
60
+ # define cfi_label (label ) .cfi_label label
61
+ # else
62
+ # define cfi_label (label )
63
+ # endif
64
+
59
65
#else /* ! ASSEMBLER */
60
66
61
67
# define CFI_STRINGIFY (Name ) CFI_STRINGIFY2 (Name)
Original file line number Diff line number Diff line change 45
45
ENTRY (ENTRY_POINT)
46
46
/* Terminate call stack by noting ra is undefined. Use a dummy
47
47
.cfi_label to force starting the FDE. */
48
- . cfi_label .Ldummy
48
+ cfi_label ( .Ldummy)
49
49
cfi_undefined (ra)
50
50
call load_gp
51
51
mv a5 , a0 /* rtld_fini. */
Original file line number Diff line number Diff line change 45
45
ENTRY (ENTRY_POINT)
46
46
/* Terminate call stack by noting ra is undefined. Use a dummy
47
47
.cfi_label to force starting the FDE. */
48
- . cfi_label .Ldummy
48
+ cfi_label ( .Ldummy)
49
49
cfi_undefined (ra)
50
50
call load_gp
51
51
mv a5, a0 /* rtld_fini. */
Original file line number Diff line number Diff line change
1
+ /* This file is automatically generated.
2
+ It defines a symbol `__stub_FUNCTION' for each function
3
+ in the C library which is a stub, meaning it will fail
4
+ every time called, usually setting errno to ENOSYS. */
5
+
6
+ #ifdef _LIBC
7
+ # error Applications may not define the macro _LIBC
8
+ #endif
9
+
10
+ #define __stub___compat_bdflush
11
+ #define __stub___compat_create_module
12
+ #define __stub___compat_get_kernel_syms
13
+ #define __stub___compat_query_module
14
+ #define __stub___compat_uselib
15
+ #define __stub_chflags
16
+ #define __stub_fchflags
17
+ #define __stub_fedisableexcept
18
+ #define __stub_feenableexcept
19
+ #define __stub_fegetexcept
20
+ #define __stub_gtty
21
+ #define __stub_revoke
22
+ #define __stub_setlogin
23
+ #define __stub_sigreturn
24
+ #define __stub_stty
You can’t perform that action at this time.
0 commit comments