ChangeLog:
bfd/
* elfnn-riscv.c(riscv_elf_additional_program_headers): Removed the
unused variable s.
(riscv_elf_modify_segment_map): Added ATTRIBUTE_UNUSED for the
unused parameter info.
riscv_elf_additional_program_headers (bfd *abfd,
struct bfd_link_info *info ATTRIBUTE_UNUSED)
{
- asection *s;
int ret = 0;
/* See if we need a PT_RISCV_ATTRIBUTES segment. */
static bool
riscv_elf_modify_segment_map (bfd *abfd,
- struct bfd_link_info *info)
+ struct bfd_link_info *info ATTRIBUTE_UNUSED)
{
asection *s;
struct elf_segment_map *m, **pm;