Re: [RFC 28/31] x86/alternative: Create symbols for special section entrie

Weinan Liu
2024-09-06T06:51:34Z

I'm observing multiple compilation errors when using clang-16 after applying this particular patch.

# CC init/main.o
<instantiation>:4:1: error: symbol '__bug_table_0' is already defined
__bug_table_0:
^
<instantiation>:4:1: error: symbol '__bug_table_0' is already defined
__bug_table_0:
^
<instantiation>:4:1: error: symbol '__jump_table_0' is already defined
__jump_table_0:
^
<instantiation>:4:1: error: symbol '__bug_table_0' is already defined
__bug_table_0:
^
<instantiation>:4:1: error: symbol '__bug_table_0' is already defined
__bug_table_0:
^
<instantiation>:4:1: error: symbol '__jump_table_0' is already defined
__jump_table_0:
^
<instantiation>:4:1: error: symbol '__jump_table_0' is already defined
__jump_table_0:
^
7 errors generated.

--
Weinan