X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gold%2Flayout.h;h=b2d699fccfc9b7242f0e9a8cc7eb0567a6059200;hb=128e85e3ab36b8e30f6612fb50de3cbb4ede6824;hp=5fad4f379b36467b410d7f98c5ced9794e00263d;hpb=6f2750feaf2827ef8a1a0a5b2f90c1e9a6cabbd1;p=deliverable%2Fbinutils-gdb.git diff --git a/gold/layout.h b/gold/layout.h index 5fad4f379b..b2d699fccf 100644 --- a/gold/layout.h +++ b/gold/layout.h @@ -902,6 +902,10 @@ class Layout const Output_data_reloc_generic* dyn_rel, bool add_debug, bool dynrel_includes_plt); + // Add a target-specific dynamic tag with constant value. + void + add_target_specific_dynamic_tag(elfcpp::DT tag, unsigned int val); + // Compute and write out the build ID if needed. void write_build_id(Output_file*, unsigned char*, size_t) const; @@ -1033,9 +1037,9 @@ class Layout void create_gold_note(); - // Record whether the stack must be executable. + // Record whether the stack must be executable, and a user-supplied size. void - create_executable_stack_info(); + create_stack_segment(); // Create a build ID note if needed. void