Add support for non-contiguous memory regions
[deliverable/binutils-gdb.git] / ld / emultempl / xtensaelf.em
index 1aca7b77ace84c21a3ef9259a15ad3bfe386fca4..74bd11c6b00092ce08e0f626b358c5928bf60c7d 100644 (file)
@@ -1224,6 +1224,12 @@ ld_build_required_section_dependence (lang_statement_union_type *s)
     {
       lang_statement_union_type *l = iter_stack_current (&stack);
 
+      if (l == NULL && link_info.non_contiguous_regions)
+       {
+         einfo (_("Relaxation not supported with --enable-non-contiguous-regions.\n"));
+         abort();
+       }
+
       if (l->header.type == lang_input_section_enum)
        {
          lang_input_section_type *input;
This page took 0.024001 seconds and 4 git commands to generate.