Fix PR PR16445 - gdbserver build failure on x86.
[deliverable/binutils-gdb.git] / ld / mri.c
index ce1406af339e86af5ba2e782651bf758fdfb8d22..450cdf73ab4f81eef509043bea2cc61a8a09811a 100644 (file)
--- a/ld/mri.c
+++ b/ld/mri.c
@@ -208,13 +208,14 @@ mri_draw_tree (void)
 
          lang_enter_output_section_statement (p->name, base,
                                               p->ok_to_load ? normal_section : noload_section,
-                                              align, subalign, NULL, 0);
+                                              align, subalign, NULL, 0, 0);
          base = 0;
          tmp = (struct wildcard_list *) xmalloc (sizeof *tmp);
          tmp->next = NULL;
          tmp->spec.name = p->name;
          tmp->spec.exclude_name_list = NULL;
          tmp->spec.sorted = none;
+         tmp->spec.section_flag_list = NULL;
          lang_add_wild (NULL, tmp, FALSE);
 
          /* If there is an alias for this section, add it too.  */
@@ -226,6 +227,7 @@ mri_draw_tree (void)
                tmp->spec.name = aptr->name;
                tmp->spec.exclude_name_list = NULL;
                tmp->spec.sorted = none;
+               tmp->spec.section_flag_list = NULL;
                lang_add_wild (NULL, tmp, FALSE);
              }
 
@@ -295,7 +297,7 @@ mri_format (const char *name)
 void
 mri_public (const char *name, etree_type *exp)
 {
-  lang_add_assignment (exp_assign (name, exp));
+  lang_add_assignment (exp_assign (name, exp, FALSE));
 }
 
 void
This page took 0.024043 seconds and 4 git commands to generate.