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

From: Weinan Liu
Date: Fri Sep 06 2024 - 02:51:51 EST


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