RISC-V: Allow merging 'H' extension
Because riscv_merge_std_ext function did not merge the 'H' extension, linked executables lacked 'H' extension when multiple objects are merged. This issue is found while building OpenSBI with 'H' extension (resulting ELF files did not contain "h1p0" in "Tag_RISCV_arch" even if *all* linked object files contained it). This commit adds 'h' to standard_exts variable to merge 'H' extension. bfd/ChangeLog: * elfnn-riscv.c (riscv_merge_std_ext): Add 'H' extension merging.
This commit is contained in:
parent
405e9d1992
commit
c341f4676a
1 changed files with 1 additions and 1 deletions
|
@ -3427,7 +3427,7 @@ riscv_merge_std_ext (bfd *ibfd,
|
|||
struct riscv_subset_t **pin,
|
||||
struct riscv_subset_t **pout)
|
||||
{
|
||||
const char *standard_exts = "mafdqlcbjtpvn";
|
||||
const char *standard_exts = "mafdqlcbjtpvnh";
|
||||
const char *p;
|
||||
struct riscv_subset_t *in = *pin;
|
||||
struct riscv_subset_t *out = *pout;
|
||||
|
|
Loading…
Add table
Reference in a new issue