RISC-V: Improve the version parsing for arch string.
[deliverable/binutils-gdb.git] / bfd / elfxx-riscv.h
index 6b7cc5b0bf99d2e0a802c2216ffef6d9b9d397d3..45705ce31c24fc581facdeb9613b7a2a86f1792b 100644 (file)
@@ -33,7 +33,7 @@ riscv_reloc_type_lookup (bfd *, bfd_reloc_code_real_type);
 extern reloc_howto_type *
 riscv_elf_rtype_to_howto (bfd *, unsigned int r_type);
 
-#define RISCV_DONT_CARE_VERSION -1
+#define RISCV_UNKNOWN_VERSION -1
 
 /* The information of architecture attribute.  */
 struct riscv_subset_t
@@ -64,11 +64,6 @@ extern riscv_subset_t *
 riscv_lookup_subset (const riscv_subset_list_t *,
                     const char *);
 
-extern riscv_subset_t *
-riscv_lookup_subset_version (const riscv_subset_list_t *,
-                            const char *,
-                            int, int);
-
 typedef struct
 {
   riscv_subset_list_t *subset_list;
@@ -76,8 +71,8 @@ typedef struct
                         ...) ATTRIBUTE_PRINTF_1;
   unsigned *xlen;
   void (*get_default_version) (const char *,
-                              unsigned int *,
-                              unsigned int *);
+                              int *,
+                              int *);
 } riscv_parse_subset_t;
 
 extern bfd_boolean
This page took 0.025614 seconds and 4 git commands to generate.