aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-pru.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf32-pru.c')
-rw-r--r--bfd/elf32-pru.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elf32-pru.c b/bfd/elf32-pru.c
index 586519a..45a86be 100644
--- a/bfd/elf32-pru.c
+++ b/bfd/elf32-pru.c
@@ -750,7 +750,8 @@ pru_elf32_relocate_section (bfd *output_bfd,
if (sec && discarded_section (sec))
RELOC_AGAINST_DISCARDED_SECTION (info, input_bfd, input_section,
- rel, 1, relend, howto, 0, contents);
+ rel, 1, relend, R_PRU_NONE,
+ howto, 0, contents);
/* Nothing more to do unless this is a final link. */
if (bfd_link_relocatable (info))