]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gold/object.cc
Update support for .note.gnu.property sections.
[thirdparty/binutils-gdb.git] / gold / object.cc
index 8c874fedc8d5c493b4c455a54e3202f41a97f504..374340fa16c0ce63ed79e7c82c9020ca46a92544 100644 (file)
@@ -1862,7 +1862,10 @@ Sized_relobj_file<size, big_endian>::do_layout(Symbol_table* symtab,
     }
 
   if (!is_pass_two)
-    layout->layout_gnu_stack(seen_gnu_stack, gnu_stack_flags, this);
+    {
+      layout->merge_gnu_properties(this);
+      layout->layout_gnu_stack(seen_gnu_stack, gnu_stack_flags, this);
+    }
 
   // Handle the .eh_frame sections after the other sections.
   gold_assert(!is_pass_one || eh_frame_sections.empty());