@@ -14,12 +14,6 @@ struct {
14
14
unsigned long long features [RISCV_FEATURE_BITS_LENGTH ];
15
15
} __riscv_feature_bits __attribute__((visibility ("hidden" ), nocommon ));
16
16
17
- #define RISCV_VENDOR_FEATURE_BITS_LENGTH 1
18
- struct {
19
- unsigned length ;
20
- unsigned long long features [RISCV_VENDOR_FEATURE_BITS_LENGTH ];
21
- } __riscv_vendor_feature_bits __attribute__((visibility ("hidden" ), nocommon ));
22
-
23
17
struct {
24
18
unsigned mvendorid ;
25
19
unsigned long long marchid ;
@@ -338,11 +332,11 @@ static int FeaturesBitCached = 0;
338
332
void __init_riscv_feature_bits (void * );
339
333
static void __init_riscv_feature_bits_ctor (void ) CONSTRUCTOR_ATTRIBUTE ;
340
334
341
- // A constructor function that sets __riscv_feature_bits, and
342
- // __riscv_vendor_feature_bits to the right values. This needs to run
343
- // only once. This constructor is given the highest priority and it should
344
- // run before constructors without the priority set. However, it still runs
345
- // after ifunc initializers and needs to be called explicitly there.
335
+ // A constructor function that sets __riscv_feature_bits
336
+ // to the right values. This needs to run only once. This constructor is given
337
+ // the highest priority and it should run before constructors without the
338
+ // priority set. However, it still runs after ifunc initializers and needs to
339
+ // be called explicitly there.
346
340
347
341
static void CONSTRUCTOR_ATTRIBUTE __init_riscv_feature_bits_ctor (void ) {
348
342
__init_riscv_feature_bits (0 );
@@ -357,7 +351,6 @@ void __init_riscv_feature_bits(void *PlatformArgs) {
357
351
return ;
358
352
359
353
__riscv_feature_bits .length = RISCV_FEATURE_BITS_LENGTH ;
360
- __riscv_vendor_feature_bits .length = RISCV_VENDOR_FEATURE_BITS_LENGTH ;
361
354
362
355
#if defined(__linux__ )
363
356
struct riscv_hwprobe Hwprobes [] = {
0 commit comments