aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-v850.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-05-31 20:52:42 +0930
committerAlan Modra <amodra@gmail.com>2022-05-31 21:14:00 +0930
commit74a04e5b2a496b18bad615fc19a621c0ff1452df (patch)
tree1a1fcd6d7bed0ee033a7b0b2afd33eae434258fa /bfd/elf32-v850.c
parent2918df9368abdedffe2e2be1c93c760d85d545ab (diff)
downloadgdb-74a04e5b2a496b18bad615fc19a621c0ff1452df.zip
gdb-74a04e5b2a496b18bad615fc19a621c0ff1452df.tar.gz
gdb-74a04e5b2a496b18bad615fc19a621c0ff1452df.tar.bz2
v850_elf_set_note prototype
v850_elf_set_note is declared using an unsigned int note param in elf32-v850.h but defined with enum c850_notes note in elf32-v850.c. Current mainline gcc is warning about this. Huh. * elf32-v850.c (v850_elf_set_note): Make "note" param an unsigned int.
Diffstat (limited to 'bfd/elf32-v850.c')
-rw-r--r--bfd/elf32-v850.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-v850.c b/bfd/elf32-v850.c
index 9522c27..4fb17a0 100644
--- a/bfd/elf32-v850.c
+++ b/bfd/elf32-v850.c
@@ -2414,7 +2414,7 @@ v850_elf_create_sections (struct bfd_link_info * info)
}
bool
-v850_elf_set_note (bfd * abfd, enum v850_notes note, unsigned int val)
+v850_elf_set_note (bfd * abfd, unsigned int note, unsigned int val)
{
asection * notes = bfd_get_section_by_name (abfd, V850_NOTE_SECNAME);