aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfnn-kvx.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elfnn-kvx.c')
-rw-r--r--bfd/elfnn-kvx.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/elfnn-kvx.c b/bfd/elfnn-kvx.c
index 31dd7a5..3b44db5 100644
--- a/bfd/elfnn-kvx.c
+++ b/bfd/elfnn-kvx.c
@@ -2541,7 +2541,8 @@ elfNN_kvx_relocate_section (bfd *output_bfd,
if (sec != NULL && discarded_section (sec))
RELOC_AGAINST_DISCARDED_SECTION (info, input_bfd, input_section,
- rel, 1, relend, howto, 0, contents);
+ rel, 1, relend, R_KVX_NONE,
+ howto, 0, contents);
if (bfd_link_relocatable (info))
continue;
@@ -4045,7 +4046,7 @@ elfNN_kvx_late_size_sections (bfd *output_bfd ATTRIBUTE_UNUSED,
{
if (bfd_link_executable (info) && !info->nointerp)
{
- s = bfd_get_linker_section (dynobj, ".interp");
+ s = htab->root.interp;
if (s == NULL)
abort ();
s->size = sizeof ELF_DYNAMIC_INTERPRETER;