}
 }
 
+static bfd_boolean
+is_dwo_section (asection *sec)
+{
+  const char *name;
+  int len;
+
+  if (sec == NULL || (name = bfd_section_name (sec)) == NULL)
+    return FALSE;
+
+  len = strlen (name);
+  if (len < 5)
+    return FALSE;
+
+  return strncmp (name + len - 4, ".dwo", 4) == 0;
+}
+
 /* This pass over fixups decides whether symbols can be replaced with
    section symbols.  */
 
 #endif
       }
 
+  /* PR 26841: DWO sections are not supposed to have relocations.  */
+  if (is_dwo_section (sec) && seginfo->fix_root != NULL)
+    {
+      as_bad (_("DWO section '%s' contains unresolved expressions - this is not allowed"),
+             bfd_section_name (sec));
+      seginfo->fix_root = NULL; /* FIXME: Memory leak ?  */
+    }
+
   dump_section_relocs (abfd, sec, stderr);
 }
 
 
   no_overflow
 };
 
-enum opcode_format_type {
-    opcode_format1,
-    opcode_format2ab,
-    opcode_format2abl,
-    opcode_format2c,
-    opcode_format2de,
-    opcode_format45,
-    opcode_format6
+enum opcode_format_type
+{
+  opcode_format1,
+  opcode_format2ab,
+  opcode_format2abl,
+  opcode_format2c,
+  opcode_format2de,
+  opcode_format45,
+  opcode_format6
 };
 
 /* Opcode ID listing. Used for indexing by the simulator.  */
-enum pru_instr_type {
-    prui_add, prui_adc, prui_sub, prui_suc, prui_lsl, prui_lsr, prui_rsb,
-    prui_rsc, prui_and, prui_or,  prui_xor, prui_min, prui_max, prui_clr,
-    prui_set, prui_not, prui_jmp, prui_jal, prui_ldi, prui_halt, prui_slp,
-    prui_xin, prui_xout, prui_xchg, prui_sxin, prui_sxout, prui_sxchg,
-    prui_loop, prui_iloop, prui_qbgt, prui_qbge, prui_qblt, prui_qble,
-    prui_qbeq, prui_qbne, prui_qba, prui_qbbs, prui_qbbc, prui_lbbo,
-    prui_sbbo, prui_lbco, prui_sbco
+enum pru_instr_type
+{
+  prui_add, prui_adc, prui_sub, prui_suc, prui_lsl, prui_lsr, prui_rsb,
+  prui_rsc, prui_and, prui_or,  prui_xor, prui_min, prui_max, prui_clr,
+  prui_set, prui_not, prui_jmp, prui_jal, prui_ldi, prui_lmbd,
+  prui_halt, prui_slp, prui_xin, prui_xout, prui_xchg, prui_sxin,
+  prui_sxout, prui_sxchg, prui_loop, prui_iloop, prui_qbgt, prui_qbge,
+  prui_qblt, prui_qble, prui_qbeq, prui_qbne, prui_qba, prui_qbbs,
+  prui_qbbc, prui_lbbo, prui_sbbo, prui_lbco, prui_sbco
 };
 
 /* This structure holds information for a particular instruction.
 
    OP_MATCH_JAL, OP_MASK_FMT2_OP | OP_MASK_SUBOP, 0, unsigned_immed16_overflow},
   { "ldi", prui_ldi, "d,W",
    OP_MATCH_LDI, OP_MASK_FMT2_OP | OP_MASK_SUBOP, 0, unsigned_immed16_overflow},
+  { "lmbd", prui_lmbd, "d,s,b",
+   OP_MATCH_LMBD, OP_MASK_FMT2_OP | OP_MASK_SUBOP, 0, unsigned_immed8_overflow},
   { "halt", prui_halt, "",
    OP_MATCH_HALT, OP_MASK_FMT2_OP | OP_MASK_SUBOP, 0, no_overflow},
   { "slp", prui_slp, "w",